www.digitaldaze.com
Uploading Files

" What mode do I use for uploading my files to my Virtual Server via FTP? "

Text files such as HTML files need to be uploaded in ASCII format and not binary. Perl scripts and C source code are also in this catagory since they are just ASCII text files.

Image files such as .gif and .jpg or .jpeg, executable files such as .exe, compiled C programs, and other binary type data (audio and video -- .wav, .au, .avi, .mov) need to be uploaded in binary format.

Binary vs. ASCII FTP uploads

" When I send my .html documents over to the virtual server, I have been doing it in binary mode. When I did this with my perl scripts, they won't work. Should I be sending my .html documents over in ascii mode or does it matter? "

You should upload your HTML documents in ASCII mode. You should upload your Perl scripts in ASCII mode. Anything that you can view with a text editing program should be transfered in ASCII mode. Binary files, such as gif or jpeg images, zip files, executables, etc. should be transferred in BINARY mode.

 

[Legal Notice]
http://www.digitaldaze.com