Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-12-2007, 11:23 PM   #1
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
FTP Upload/Download

Hey guys what do you mean by ascii download/upload?
Old 11-13-2007, 03:46 AM   #2
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57,

As you may know, End of lines are encoded differently between Macintosh, Linux, MsDos. When you open in windows a file created in linux, with notepad for example, you will realize that there is no end of lines (there is no carriage return)

When you use ascii transfer type, the ftp protocol will make the change for you.
Example, if you transfer from Linux-> msdos it will change all end of line to conform to msdos. Opening it in notepad will show you that (msdos') end of lines are there.

Take care, if you transfer a jpg in ascii format and the ftp protocol recognizes end of lines: byte 0A (while in fact it's not an end of line but a pixel), you will end up with 0D0A (if the destination is windows). Then your image won't be viewable anymore. For this you need to use the type bin (IMAGE in ftp specification)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
download/upload limiter TranceDude Linux - Software 7 10-09-2005 11:16 AM
Preventing FTP download and upload the same file simultaneously benw Linux - Networking 2 08-29-2005 08:34 AM
hdd-related download problem(upload 4-5MB/s, download ~1MB/s) tine Linux - Hardware 4 09-15-2004 03:06 PM
NIC: Upload/download different Birkoff Linux - Networking 3 05-26-2004 04:53 PM
download ,upload to ftp ody1 Linux - Networking 2 11-13-2003 05:27 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration