Well, most probably your files are perfectly fine before FTP transmission.
Unfortunately, probably you are transferring your files using wrong FTP mode.
FTP do have two modes: binary and ASCII. By default most clients use ASCII mode, which breaks your binary files completely. I don't know which FTP Software you are using, but for example in ncftp you can use command "binary" to switch to binary mode.
If you want to create ZIP files using Ubuntu (or almost any other Linux), use zip. You can install it to Ubuntu by runningsudo apt-get install zip
Then you can create zip file by runningzip -r compressed_filename.zip foldername
On related note, you should know that FTP is insecure transmission protocol. Consider switching to SFTP, for example. There is many freeware ssh servers for Windows, including minimal OpenSSH port.
If you’re like me, and you use Windows IIS, you’ve spent hours trying to figure out why your uploaded file won’t inherit the permissions needed to display correctly. Luckily, the answer is extremely easy and something most people would have never thought of.
The problem only happens when you use PHP to upload a file. When you upload a file, PHP sends the file to a temporary directory on the hard drive (for me it is C:\Windows\Temp) and then copies it over to it’s intended directory. Once the file has landed in the temporary directory, it is assigned the permissions of that directory. The problem is when Windows copies that file, it keeps the temporary directory’s permissions and doesn’t inherit your web directory’s permissions.
Read more: How to fix PHP upload file inherit permissions error using Windows IIS Portable
.tar.gz archives are widely used in a GNU/Linux world because of love of the community to the patent freedom and open source formats. Usually, Linux distributions utilize tar.gz format for source code compression. When you begin familiarizing yourself with the Linux world, you quickly realize you need to know how to extract .tar.gz files in Linux. Actually, tar.gz archives are a a combination of two technologies chained one after another. First, all the files are merged in what is called a Tarball - just a single file plus file names information. Then, the Tarball is compressed with the use of gzip compression algorithm.
So, how to actually extract the .tar.gz archive?
tar -xvf www1.tar.gz -C /var/www/website/
The above command will eventually extract the file www1.tar.gz residing in current directory to the folder /var/www/website/
Let's look at the details of this command:
x command means we want to extract the archive
v switch tells tar to verbosely output file names
f means we need to specify archive name (othewise tar will look into standard input)
As a bonus, you can extract .tar files or even .tar.bz2 files using the same command! Just specify the correct archive name and extension.
Now, you have mastered extracting tar.gz files. Good luck!
Sometimes you need to import large database into MS SQL Server, but when you use Microsoft SQL Portable Management Studio, it doesn't do the job right, but shows the message "Insufficient memory". Or maybe you need to do a batch import of sql script to database instead of doing the import by hand. Here comes in handy the sqlcmd command line tool. It can import large .sql files, can be run from a batch script, installer, etc.
How to use sqlcmd command-line tool to import large .sql file?
Open a command prompt window.In the Command Prompt window, type: sqlcmd -S yourServer\instanceName -i C:\yourScript.sqlPress ENTER.The progress of operation is written to the command prompt window.
When you host your web site remotely and the FTP server is the only way to upload all files including subdirectroies. You need to use special transfer of file program such as ncftpget or ncftpput for recursive remote FTP Client Software uploading and downloading purpose. Ncftp is considered as an improved FTP Client. Ncftp's improvements include support for command line editing, command histories, recursive gets/puts, automatic anonymous logins, and much more.
Type the following command under Debian/Ubuntu Linux to install ncftp client:$ sudo apt-get install ncftp
Read more: How To Upload Directory Tree To Remote FTP Client Software Recursively in Linux
Many people face an issue with Android's WebView and transparent background. The problem is that if you need to make transparent background for the WebView, it is not easy to do at the first sight. If you try to use property android:background="@android:color/transparent", you will discover that it just don't work as expected. The background is still opaque. Using background color set explicitly as
Read more: Android WebView transparent background for Android 2.3 and up
error: error in [unknown object].fireEvent(): event name: address_country_changed error message: zipElement.up(...).down(...) is undefined
This error pops out when creating the order from admin panel and entering customer shipping address. It pops out when editing every filed in the address, which is quite annoying.
Regarding to this forum post, this has something to do with defining the zip code as not required filed in the database. Specialists recommend to set zip code as required filed in the database and then setting it as not required on the country basis. But people report that setting so will still not make zip code as optional field.
So I decided to do my own fix. Here it is:
Read more: Fixing Magento error "[unknown object].fireEvent()"
Microsoft CEO Steve Ballmer is going to retire within the next 12 months, the company announced early Friday. This will happen when a replacement is found.
Ballmer said: "There is never a perfect time for this type of transition, but now is the right time. We have embarked on a new strategy with a new organization and we have an amazing Senior Leadership Team. My original thoughts on timing would have had my retirement happen in the middle of our company’s transformation to a devices and services company. We need a CEO who will be here longer term for this new direction.”
Microsoft also announced it has appointed a special committee to head up the process of finding a replacement for Ballmer. The company's stock shot up by nearly 9% in pre-market trading following the news.
This news about Ballmer retirement come barely one month after Ballmer led a massive reorganization of the company in an attempt to bring all divisions under one unified vision.
On a Windows machine, creating a zip archive is very easy: you can right-click on a file or folder, open "Send" menu and then click "Compressed ZIP folder". Or, you can use more advanced archivers like 7-Zip archiver, or WinRAR archiver. Their interface is quite self-explanatory, and easy to use.
But sometimes, you need to create a .zip archive on a Linux machine. This is required when doing a website backup, before downloading large number of files and other tasks.
To create .zip files in Ubuntu Linux, in the command line type:
zip -r archive-name directory-name
This will create archive named "archive-name.zip" and add directory-name directory to it, including all subdirectories.
For example, to create an archive of directory /Commercial/user/www, issue the following command:
zip -r ./www1.zip /Commercial/user/www
This will create www1.zip file in the current directory and add the contents of folder /Commercial/user/www including all subdirectories to this archive.
See complete usage of zip command in Linux here
Or, you can order entire custom Linux software development from IQ Direct Inc.
SlavixSlavix was an operating system based on Debian, KNOPPIX and Morphix. Its purpose was to make it easy for anyone to switch to GNU/Linux and start using freeware (as in freedom) Software. Slavix was oriented towards a Home computer user. It was a live CD system so it was possible to run it CD-ROM without having to install anything to a hard drive. All you need to do was burn the Slavix image file to a CD, put it in your CD-ROM and reboot. It will start up, auto configure itself and in about 3 - 5 minutes it's ready to use. Slavix will not touch your hard drive or mess with you data. A hard disk installer was included and it was fairly easy to use.
Status: DiscontinuedLatest News and Updates 2018-08-17 NEW • Distribution Release: Quirky 8.6
Rate this projectBarry Kauler has announced the release of a new version of the lightweight Quirky distribution. The new version, Quirky 8.6, is based on Ubuntu 16.04 LTS and contains mostly bug fixes and minor improvements over previous 8.x releases. "Quirky Linux 8.6 is the latest in the 'Xerus' series, binary-compatible with x86_64 Ubuntu 16.04.5 LTS, though built with woofQ and architecturally very different from Ubuntu. Quirky is an experimental distribution, that forked from Puppy Linux a few years ago, and has followed a different path, exploring some new ideas. Continuing the Puppy tradition, Quirky has a 'complete' suite of applications, drivers and utilities, in a very small size. Version 8.6 is an incremental upgrade from 8.5, with package upgrades and architectural improvements. The SeaMonkey web browser is now 2.49.4 and the Linux kernel 4.14.63. EasyShare, simple network file and printer sharing, continues to evolve, and now supports connection to an Android phone." Further information can be found in the distribution's release announcement and in the release notes. Fetch: xerus64-8.6.iso (422MB, MD5, pkglist). 2018-08-13 NEW • Distribution Release: Zorin OS 12.4
Rate this projectZorin OS is an Ubuntu-based distribution which strives to provide a desktop interface that will look familiar to Windows users. The project has published an update to the distribution's 12.x series, offering improved hardware support and bug fixes. The release announcement for Zorin OS 12.4 states: "We are pleased to announce the release of Zorin OS 12.4. This new release brings together the latest Client updates, bug fixes, performance enhancements and hardware support out of the box. Zorin OS 12.4 introduces an updated hardware enablement stack. The newly-included Linux kernel 4.15, as well as an updated X Portable graphics stack, add compatibility for newer computers and hardware in Zorin OS. In addition, new patches for system vulnerabilities are included in this release, so you can have the peace of mind knowing that you're using the most secure version of Zorin OS ever. After installing Zorin OS 12.4, you will have the latest versions of the pre-installed packages. That means fewer Utility updates will need to be downloaded after installing Zorin OS onto your computer. All editions of Zorin OS 12.4 - Core, Lite, Ultimate, and Business - are available to Free Download immediately." Download (MD5, pkglist): Zorin-OS-12.4-Core-64.iso (1,571MB), Zorin-OS-12.4-Lite-64.iso (1,476MB), Zorin-OS-12.4-Education-64.iso (2,610MB). 2018-08-12 NEW • Development Release: SparkyLinux 5.5 RC
Rate this projectThe SparkyLinux team has announced a new development snapshot of the project's SparkyLinux 5.5 Testing branch. The new release candidate is based on Debian Testing, features an updated kernel, fixes issues with setting up Btrfs in the installer and language support has been improved. "There are new ISO images of SparkyLinux 5.5 Release Candidate available to Free Download. Sparky 5 follows rolling release model and is based on Debian Testing 'Buster'. ISO images of Sparky 5.5 RC provides bug fixing found in the 5.5 dev20180725 release. Changes: system update from Debian Testing repos as of August 10, 2018. Linux kernel 4.17.8 (Sparky's kernel 4.17.14 and 4.18-rc8 is available in Sparky 'Unstable' repos). Older Linux kernel 4.16.12 is still available from live menu, which can be used in a case of any problem with the newest one. A couple of fixes around the Btrfs setting in the Advanced Installer. Fixed mount option for Calamares and Advanced installer which lets you install Sparky on UEFI machines (off-line grub-efi debs installation)." Further details can be found in the project's release announcement. Download (pkglist): sparkylinux-5.5-rc-x86_64-lxqt.iso (1,457MB, SHA512, signature, torrent), sparkylinux-5.5-rc-x86_64-minimalgui.iso (1,083MB, SHA512, signature, torrent), sparkylinux-5.5-rc-x86_64-minimalcli.iso (658MB, SHA512, signature, torrent). 2018-08-06 NEW • DistroWatch Weekly, Issue 775 This week in DistroWatch Weekly:
Rate this projectThe Ubuntu team has announced the availability of a new point release for the distribution's 16.04 long term support branch. Ubuntu 16.04.5, along with its community editions, features updated packages, security fixes and additional hardware support. "Like previous LTS series', 16.04.5 includes hardware enablement stacks for use on newer hardware. This support is offered on all architectures except for 32-bit PowerPC, and is installed by default when using one of the desktop images. Ubuntu Portable defaults to installing the GA kernel, however you may select the HWE kernel from the installer bootloader. As usual, this point release includes many updates, and updated installation media has been provided so that fewer updates will need to be downloaded after installation. These include security updates and corrections for other high-impact bugs, with a focus on maintaining stability and compatibility with Ubuntu 16.04 LTS." Further information can be found in the project's release announcement and in the release notes. Download: ubuntu-16.04.5-desktop-amd64.iso (1,573MB, SHA256, signature, torrent, pkglist), kubuntu-16.04.5-desktop-amd64.iso (1,589MB, SHA256, signature, torrent, pkglist), lubuntu-16.04.5-desktop-amd64.iso (923MB, SHA256, signature, torrent, pkglist), ubuntukylin-16.04.5-desktop-amd64.iso (1,603MB, SHA256, signature, torrent, pkglist), ubuntu-mate-16.04.5-desktop-amd64.iso (1,686MB, SHA256, signature, torrent, pkglist), ubuntu-gnome-16.04.5-desktop-amd64.iso (1,325MB, SHA256, signature, torrent, pkglist), xubuntu-16.04.5-desktop-amd64.iso (1,312MB, SHA256, signature, torrent, pkglist). Also available from OSDisc. 2018-07-30 NEW • DistroWatch Weekly, Issue 774 This week in DistroWatch Weekly: