Your best friend for file transfer.

Fetch application logoFetch

Fetch 5 uploads in Mac format (6 posts)

  • Started 18 years ago by whn
  • Latest reply 18 years ago from Scott McGuire
  • whn Member

    We use UNIX servers (Sun Solaris OS). With Fetch 5.0.4, uploads automatically are sent/ saved on the server in Mac format, which causes minor to major problems. I'm using Mac OSX 10.3.9. This was never an issue with previous Fetch versions and I can't find any way in Preferences to resolve the problem. Help please.

    Posted 18 years ago #

  • Scott McGuire Administrator

    Hi,

    What kinds of files are getting uploaded in Mac format? Fetch's automatic format should not upload any sort of cross-platform file (such as text files, HTML files, JPEG files, Word documents) in a Macintosh-only format. We'd like to know what kind of file you're uploading so we can improve the Automatic format's behavior in the future.

    However, you can choose a different upload format from the Format submenu in the Remote menu. Your new choice will apply only to the active transfer window until you close it. Different transfer windows can have different format settings. To set the initial upload format for new transfer windows, use the "Default upload format" menu in the Upload pane of the Preferences. You probably want to choose "Binary (Raw Data)" as your format, which will upload the files without any changes at all.

    For more information, see the upload formats topic in Fetch Help.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 18 years ago #

  • whn Member

    Originally posted by whn:

    We use UNIX servers (Sun Solaris OS). With Fetch 5.0.4, uploads automatically are sent/ saved on the server in Mac format, which causes minor to major problems. I'm using Mac OSX 10.3.9. This was never an issue with previous Fetch versions and I can't find any way in Preferences to resolve the problem. Help please.

    Hi:

    It happens with .html, perl (.pl) and .cgi scripts. I'll try "Binary" (Raw Data) and let you know if that resolves the issue. Thanks.

    Posted 18 years ago #

  • Scott McGuire Administrator

    Originally posted by whn:

    Hi:

    It happens with .html, perl (.pl) and .cgi scripts. I'll try "Binary" (Raw Data) and let you know if that resolves the issue. Thanks.

    Could you double-check and make sure your upload format setting is "Automatic"? If it was set to "MacBinary" or "AppleSingle," even .html or .pl files would get uploaded as Macintosh-encoded files.

    Just to check, when you say they're uploaded in Mac format, do you mean they're uploaded as gibberish, or just that they have the wrong line endings? If it's the wrong line endings, that's a separate issue from the upload format.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 18 years ago #

  • whn Member

    They have Mac line endings, so the cgi and perl scripts don't work properly.

    I've been told there's a hidden preference to have Fetch convert the line endings to UNIX-style (linefeeds) on text SFTP (which I use) uploads; to set the preference, run Terminal and type:

    defaults write com.fetchsoftworks.Fetch SFTPUploadTextEOLStyle -int 2

    This seems to have fixed it.

    Thanks.

    Posted 18 years ago #

  • Scott McGuire Administrator

    Yes, my apologies, I misunderstood your question originally. If you're have line ending problems and using SFTP, that hidden preference will tell Fetch to upload the files with Unix line endings instead.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 18 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.