Your best friend for file transfer.

Fetch application logoFetch

Line break problem (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 12 years ago by cblackstone
  • Latest reply 12 years ago from Jim Matthews
  • cblackstone Member

    When I download a file from my UNIX web server to Mac OS X, the file has Mac line breaks, but I need to keep the UNIX line breaks. How can I set Fetch to save all files with UNIX line breaks?

    Posted 12 years ago #

  • Jim Matthews Administrator

    If you choose "Binary" from the Mode pop-up menu in the transfer window Fetch won't translate line breaks.

    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #

  • tankgirl Member

    When I click the binary option, and download, and then try and open the file in bbedit, my .html/.shtml files are blank except for carriage returns.

    also, as someone has posted earlier, bbedit thinks the file type is MAC and not UNIX--it is downloading as a mac file and not a unix file. then in bbedit you have to click unix and then save again, which is annoying otherwise when you telnet into your file, it appears as one huge line with ^M instead of line breaks.

    i couldn't find any other fix for this. there are several areas that can be set from fetch file types to internet config and then bbedit prefs. all which don't seem to work.

    also, if you reset fetch prefs, do you have to quit then reopen fetch to have them take effect?

    thanks,
    karen

    Posted 12 years ago #

  • Jim Matthews Administrator

    When I click the binary option, and download, and then try and open the file in bbedit, my .html/.shtml files are blank except for carriage returns.

    That's bizarre -- I've never seen anything like that. Do you know what kind of server you are transfering the file from?

    bbedit thinks the file type is MAC and not UNIX--it is downloading as a mac file and not a unix file.

    BBEdit determines what kind of file it is based on the line-ending characters. If you download in Binary mode, and BBEdit sees Mac line endings, then that's what the file had on the server.

    also, if you reset fetch prefs, do you have to quit then reopen fetch to have them take effect?

    No. Some preferences are only consulted when you create a connection, so you may need to close an existing transfer window and make a new connection.

    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #

Topic closed

This topic has been closed.