Your best friend for file transfer.

Fetch application logoFetch

Mystery .bin files on server (4 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 21 years ago by RobMcMac
  • Latest reply 21 years ago from Jim Matthews
  • RobMcMac Member

    When I connect to our OSX10.2 server there are mysterious files with .bin extensions. These files have not been uploaded with Fetch and the extension is not visible using normal OSX to OSX TCP connection and viewing them in a normal window or in the GetInfo window. Some of these files are live default.html files and still serve properly from the Web Server so the .bin extension does not appear to have any affect.
    In Fetch if we attempt to rename or delete these files we get error messages saying these files do not exist.
    If we attempt to delete directories containing any of these html.bin files the action fails with "no such file or directory"

    Posted 21 years ago #

  • Jim Matthews Administrator

    What happens if you try to download one of the .bin files?

    Could you post the contents of the Fetch Transcript window after you see the problem? Choose "Fetch Transcript" from the Window menu to open the window.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 21 years ago #

  • RobMcMac Member

    I down loaded the default.htm.bin file ok and it didnt have the .bin ext on my computer.
    I then attempted to change the name of the file and remove the .bin extension
    See below.
    -rwxr-xr-x 1 admin www 1024 Mar 31 17:49 abstract.htm.bin
    drwxrwxrwx 5 admin www 170 Apr 9 08:36 common
    -rwxr-xr-x 1 admin www 1024 Apr 10 12:12 default.htm.bin
    drwxrwxrwx 22 admin www 748 Apr 14 14:50 images
    -rw-r--r-- 1 admin www 14272 Apr 14 13:10 index2a.htm
    -rwxr-xr-x 1 admin www 16193 Apr 7 07:51 index2b.htm
    -rwxr-xr-x 1 admin www 2445 Mar 31 17:16 newusers.htm
    -rw-r--r-- 1 admin www 9221 Apr 1 07:59 oral_pres.html
    -rwxr-xr-x 1 admin www 5774 Apr 7 07:56 ref.htm
    drwxrwxrwx 44 admin www 1496 Apr 17 15:33 sem1pgs
    drwxrwxrwx 61 admin www 2074 Nov 8 14:29 sem2pgs
    drwxrwxrwx 25 admin www 850 Apr 9 15:24 xtobedeleted
    226 Transfer complete.
    TYPE I
    200 Type set to I.
    SIZE default.htm.bin
    550 default.htm.bin: not a plain file.
    MDTM default.htm.bin
    550 default.htm.bin: No such file or directory.
    PASV
    227 Entering Passive Mode (x,x,x,x,30,62)
    RETR default.htm.bin
    150 Opening BINARY mode data connection for /usr/bin/macbin -e default.htm.
    226 Transfer complete.
    Download completed at 24/4/03 10:32:36 AM (state == RGET_RETRIEVING)
    RNFR default.htm.bin
    550 default.htm.bin: No such file or directory.
    ftp_rename: -30006 (state == RENAMING_FILE)

    [This message has been edited by RobMcMac (edited 04-23-2003).]

    Posted 21 years ago #

  • Jim Matthews Administrator

    I did a little research, and here's what's happening (you can read all about it at http://docs.info.apple.com/article.html?artnum=107171 ):

    The file default.htm has a resource fork, and if you downloaded it using regular methods you would not get that resource fork. Mac OS X Server's FTP server uses an "influence listing mechanism" to append .bin to the file's name in the file list. Then, when Fetch asks to download default.htm.bin the server automatically encodes the file (including the resource fork) in MacBinary format.

    The flaw in this scheme is that there really isn't a file named default.htm.bin, and so the rename and delete commands fail when you try to use them on that name. My guess is that you can work around this problem by specifying default.htm (without the .bin). If you don't have any file selected in the file list when you choose the rename or delete commands from the Remote menu Fetch will prompt you to type the name of the file to operate on. If you type "default.htm" I expect it will work.

    It is possible to turn off this "influence listing mechanism" in the server; see the article referenced above for details.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 21 years ago #

Topic closed

This topic has been closed.