AFP548 Changing the world one server at a time.

FTP server returning ".bin" file extensions

Home › Forums › OS X Server and Client Discussion › Questions and Answers › FTP server returning ".bin" file extensions

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #354940
    Bill Eccles
    Participant

    I wanted DreamWeaver to connect to my website (OS X 10.2.3) using FTP… WebDAV isn’t working right now (keeps returning 200 errors… clues?) so that was my next choice.

    So all I have to do is turn on FTP services using Server Settings, right? Right! And that’s what I did.

    Problem is, all of my file listings, acquired either from DreamWeaver or simply by ftp’ing to my server, return “.bin” after the files in the listings… well, some of them do, anyway.

    Here’s a straight listing of the root directory of my site:

    [Centipede:WebServer/Documents/{omitted}] admin% ls -lo
    total 768
    drwxrwxr-x  566 admin  admin  -  19244 Dec 12 20:59 ComicZone
    -rw-rw-r--    1 admin  admin  - 291291 Aug  8  2001 Outlets.gif
    drwxr-xr-x    2 admin  admin  -     68 Jan  1 13:49 XYIZNWSK
    -rw-rw-r--    1 admin  admin  -      1 Aug 26  2001 default.ida
    -rw-rw-r--    1 admin  admin  -    417 Aug 15  2001 index.html
    -rw-rw-r--    1 admin  admin  -  20110 Aug  8  2001 kitchen.gif
    -rw-rw-r--    1 admin  admin  -    278 Aug  8  2001 kitchen.html
    -rw-rw-r--    1 admin  admin  -  20137 Aug  8  2001 kitchenls.gif
    -rw-rw-r--    1 admin  admin  -    781 Mar 21  1999 sample.html
    -rw-rw-r--    1 admin  admin  -  15435 Mar 21  1999 ssi_demo.ssi
    drwxrwxr-x   10 admin  admin  -    340 Jan  1 14:48 theZone
    -rw-rw-r--    1 admin  admin  -    161 Aug  8  2001 untitled.htm
    -rw-rw-r--    1 admin  admin  -    158 Feb 14  2001 webinclude.ssi

    And here’s how it appears in an FTP session listing:

    ftp> ls -lo
    227 Entering Passive Mode (192,168,1,2,19,211)
    150 Opening ASCII mode data connection for directory listing.
    total 768
    drwxrwxr-x  566 admin  admin  -  19244 Dec 12 20:59 ComicZone
    -rw-rw-r--    1 admin  admin  - 291291 Aug  8  2001 Outlets.gif
    drwxr-xr-x    2 admin  admin  -     68 Jan  1 13:49 XYIZNWSK
    -rw-rw-r--    1 admin  admin  -      1 Aug 26  2001 default.ida
    -rw-rw-r--    1 admin  admin  -   1024 Aug 15  2001 index.html.bin
    -rw-rw-r--    1 admin  admin  -  20110 Aug  8  2001 kitchen.gif
    -rw-rw-r--    1 admin  admin  -    278 Aug  8  2001 kitchen.html
    -rw-rw-r--    1 admin  admin  -  20137 Aug  8  2001 kitchenls.gif
    -rw-rw-r--    1 admin  admin  -   1024 Mar 21  1999 sample.html.bin
    -rw-rw-r--    1 admin  admin  -   1024 Mar 21  1999 ssi_demo.ssi.bin
    drwxrwxr-x   10 admin  admin  -    340 Jan  1 14:48 theZone
    -rw-rw-r--    1 admin  admin  -    161 Aug  8  2001 untitled.htm
    -rw-rw-r--    1 admin  admin  -   1024 Feb 14  2001 webinclude.ssi.bin
    226 Transfer complete.

    Can you see why I might be a tad cornfused? Some of them show with a .bin and others don’t. And these same files with the .bin are now magically 2^n in size! What controls these behaviours (er, “behaviors”)?

    Thanks,
    Bill

    #354941
    Cabbage
    Participant

    I think this has to do with MacBinary

    You can edit the ftp config file and change the setting

    #354942
    Bill Eccles
    Participant

    Well, then there’s that big question in the sky: what FTP config file? I’ve done my darndest to go looking for such a beast and haven’t found it yet.

    Anybody?

    Thanks,
    Bill

    PS I solved the WebDAV 200 errors by changing the owner and group to www on all of the files in the /Library/WebServer/Documents/ directories.

    #354948
    Bill Eccles
    Participant

    OK, Joel, you know this stuff cold! I am impressed.

    I put that line in and it works beautifully.

    Many thanks!
    Bill

    PS What is this “server list” of which you speak?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.