Your best friend for file transfer.

Fetch application logoFetch

No such file or directory - fonts 0kb? (4 posts)

  • Started 5 years ago by chimmy
  • Latest reply 5 years ago from Scott McGuire
  • chimmy Member

    Hi there, i've been mirroring a couple computers and i've been getting an error message on a couple folders that contain fonts.

    any help would be great.

    --------------------------------------------------------

    Making data connection to 192.168.1.178 port 55570
    LIST -al
    150 Opening ASCII mode data connection for '/bin/ls'.
    total 1
    drwxr-xr-x 11 work staff 374 May 1 2003 .
    drwxr-xr-x 10 work staff 340 Feb 23 2007 ..
    -rw-r--r-- 1 work staff 0 Oct 8 15:11 Icon

    -rwxr-xr-x 1 work staff 0 May 1 2003 TheSanExtLigCap
    -rwxr-xr-x 1 work staff 0 May 1 2003 TheSanExtLigCapIta
    -rwxr-xr-x 1 work staff 0 May 1 2003 TheSanExtLigExp
    -rwxr-xr-x 1 work staff 0 May 1 2003 TheSanExtLigExpIta
    -rwxr-xr-x 1 work staff 0 May 1 2003 TheSanExtLigIta
    -rwxr-xr-x 1 work staff 0 May 1 2003 TheSanExtLigPla
    -rwxr-xr-x 1 work staff 0 May 1 2003 TheSans 2 ExtraLight
    -rwxr-xr-x 1 work staff 0 May 1 2003 TheSans 2 ExtraLight Expert
    226 Transfer complete.
    MDTM Icon

    550 Icon: No such file or directory.
    TYPE I
    200 Type set to I.
    SIZE Icon

    550 Icon: not a plain file.
    MDTM Icon

    550 Icon: No such file or directory.
    PASV
    227 Entering Passive Mode (192,168,1,178,217,19)
    Making data connection to 192.168.1.178 port 55571
    RETR Icon

    550 Icon: No such file or directory.
    Unsuccessful transfer of Icon
    (0/0 bytes, 0 bytes/sec, 0:00 elapsed) stopped at 3/26/09 8:28:36 AM (error: 2,-30004)
    ftp_retrieve: 2,-30004 (state == RGET_RETRIEVING)
    PWD
    257 "/Volumes/Kip/Clients/Brand 33/Kings Hawaiian/2008/10_KHB_Oct_08/green_vision_final/the_sans/TheSans 2 Extra Light" is the current directory.
    Retrieved 9 items from file list cache, stored 03/24/2009 10:42 PM
    PWD
    257 "/Volumes/Kip/Clients/Brand 33/Kings Hawaiian/2008/10_KHB_Oct_08/green_vision_final/the_sans/TheSans 2 Extra Light" is the current directory.
    PWD
    257 "/Volumes/Kip/Clients/Brand 33/Kings Hawaiian/2008/10_KHB_Oct_08/green_vision_final/the_sans/TheSans 2 Extra Light" is the current directory.
    PWD
    257 "/Volumes/Kip/Clients/Brand 33/Kings Hawaiian/2008/10_KHB_Oct_08/green_vision_final/the_sans/TheSans 2 Extra Light" is the current directory.
    PWD
    257 "/Volumes/Kip/Clients/Brand 33/Kings Hawaiian/2008/10_KHB_Oct_08/green_vision_final/the_sans/TheSans 2 Extra Light" is the current directory.
    PWD
    257 "/Volumes/Kip/Clients/Brand 33/Kings Hawaiian/2008/10_KHB_Oct_08/green_vision_final/the_sans/TheSans 2 Extra Light" is the current directory.
    QUIT
    221-
    Data traffic for this session was 0 bytes in 0 files.
    Total traffic for this session was 2994372 bytes in 2244 transfers.
    221 Thank you for using the FTP service on g5server.

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi,

    I'm guessing that the server you're downloading files from also a Mac?

    It looks like the problem is that folder has a custom icon. The custom icon is stored in a file named "Icon(carriage return)" (that is, it has a carriage return at the end of it).

    Fetch is properly sending a request to the server for a file named "Icon(carriage return)", but the server seems to think Fetch is asking for a file named "Icon" (with no carriage return), and so replies that no such files exist.

    This is a problem with the server software; to be honest, FTP isn't really designed to deal with filenames that have funny characters in their names.

    Assuming the server is under your control, I recommend that you set it up to accept SFTP connections instead of FTP. Then use SFTP for your transfers. I did a test, and SFTP was able to transfer a folder with a custom icon - and thus one of the funny "Icon" files - just fine.

    If you're using the built-in server in Mac OS X, you can enable SFTP sharing by turning on "Remote Login" in the Sharing control panel.

    I hope this helps, let me know if my assumptions weren't correct.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 5 years ago #

  • chimmy Member

    Thanks, that looks like it working.

    Originally posted by ScottMcGuire:

    Hi,

    I'm guessing that the server you're downloading files from also a Mac?

    It looks like the problem is that folder has a custom icon. The custom icon is stored in a file named "Icon(carriage return)" (that is, it has a carriage return at the end of it).

    Fetch is properly sending a request to the server for a file named "Icon(carriage return)", but the server seems to think Fetch is asking for a file named "Icon" (with no carriage return), and so replies that no such files exist.

    This is a problem with the server software; to be honest, FTP isn't really designed to deal with filenames that have funny characters in their names.

    Assuming the server is under your control, I recommend that you set it up to accept SFTP connections instead of FTP. Then use SFTP for your transfers. I did a test, and SFTP was able to transfer a folder with a custom icon - and thus one of the funny "Icon" files - just fine.

    If you're using the built-in server in Mac OS X, you can enable SFTP sharing by turning on "Remote Login" in the Sharing control panel.

    I hope this helps, let me know if my assumptions weren't correct.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi,

    You're welcome, glad to hear that helped.

    Best,

    Scott McGuire
    Fetch Softworks

    Posted 5 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.