Results 1 to 3 of 3

Thread: FTP Transfer Type

  1. #1

    Thread Starter
    Hyperactive Member Pozzi's Avatar
    Join Date
    Feb 2001
    Location
    The Stones!
    Posts
    507

    Question

    ASCII v Binary

    Could someone explain the differences and inparticular the problems if the wrong transfer type is used when transfering files?

    Regards,

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    ASCII assumes the file(s) are text and hence a whole number of bytes

    (i'm not sure if extra checking is used though)

    Transfering binary files using ASCII mode is more likely to incur errors
    Mark
    -------------------

  3. #3
    Guest
    If you transfer a text file useing binary it can get messed up.

    The problem is that different machines use different codetables, so if you would get the text file useing binary and then open it on your own computer you get garbage(because whats 'A' on your windows machine might be a '&' on another machine).

    (Transfers from a Windows to a Windows machine, AS400 to AS400 etc, go ok in binary because then all the machines use the same codetable).


    If you transfer anything that is binary (pictures, executables, zip files) etc in ascii it wont work because text uses only 7bits and binary uses 8bits, so the result would be messed up.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width