Forum Moderators: phranque
'...upload plain text files in ASCII mode not binary mode'
I have heard about this but know nothing about it. I use Macromedia DreamWeaver - I don't see an option in DreamWeaver to upload in ASCII mode.
Do I need some other bit of software to do this?
How is it done?
What does it mean?
Can it be done on an ordinary PC running XP?
Mainly you would upload images/movies/sound (jpg, gif, mid, avi, wav) in binary, while you would upload scripts (.html .php .css .cgi) in ASCII. ASCII means that you are uploading in text mode.
Binary I am pretty sure is a speed issue while uploading to the server (someone correct me if I am wrong here).
[added]If you don't upload files using the correct file type can result in images appearing distorted (or not appearing at all) and scripts not functioning properly.[/added/
HTH,
-gs
Windoze: line feed and carrige return
*nix: line feed
Mac: carrige return (I think!)
Transferring a file in ASCII mode translates the line enders to the appropriate characters for the receiving op system, as a file is transferred. Transferring a file in binary mode makes NO changes to the file.
Many FTP programs (DW included) will guess which mode to use. This is based on the file extension and many programs allow you to set or override these guesses (not DW, or maybe I haven't figured out how!)
Often when installing a script, some files need to be transferred in a specific mode and DW is a poor choice for this. DW is my primary FTP for routine web work and CuteFTP serves well as a backup for the more techie needs.