Thread: File size / Linux - win

  1. #1
    Registered User
    Join Date
    Mar 2003

    Unhappy File size / Linux - win

    I had to transfer a file (iso image, size 485MB) which was in C under Win98 to a ftp server (Win2000P)

    I was in Linux, mounted C and fm there ftp'd it to the server. At the server the file size was 486 MB in this case.

    When ftp'd fm Win OS and obsd at server file size was 485MB

    Why like this?? OSs file representation issue or what? i guess mount simply locates a pointer and doent add bytes..

  2. #2
    Registered User
    Join Date
    Mar 2003
    Originally posted by Salem
    Was that a genuine difference, or merely how the various tools round up/down to 485/486MB?
    Check the actual number of bytes in the file.
    The difference was huge:
    510 xxx and 508 xxx bytes..

    Did you make sure to choose a binary FTP file transfer?
    What difference does it make? i think it was by default bin..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Formatting the contents of a text file
    By dagorsul in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2008, 12:36 PM
  2. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  3. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  4. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 10:46 AM
  5. archive format
    By Nor in forum A Brief History of
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM