Your best friend for file transfer.

Fetch application logoFetch

Recognizing file types automatically (6 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 10 years ago by Stuckmic_com
  • Latest reply 10 years ago from Jim Matthews
  • Stuckmic_com Member

    Hi all,

    I work with flat data files. It's very important that carriage returns, when uploaded, remain in place. This is not occurring unless i specifically tell fetch it's a text file.

    As an example, if i write this file:

    -----------
    Fetch
    is
    great
    -----------

    and upload in the "automatic" mode, the uploaded file will read "Fetchisgreat" (all on one line) on the server when i need it to retain in it's original format above with carriage returns.

    These files end with ".dat" which i think is the key to the problem. When fetch sees a ".dat" file it doesn't know to upload as text.

    Any ideas?

    Paul Williams

    Posted 10 years ago #

  • Jim Matthews Administrator

    Fetch uses suffix mapping entries to decide whether a file is text or not. So to have it see .dat files as text you should:

    1) Choose "Suffix Mapping..." from the Customize menu.
    2) Press the Add button
    3) Fill out the entry by entering ".dat" in the suffix field, click the Text button, put "TEXT" in the file type field, and something like ".dat text file" in the description field. You don't have to fill in the creator field.
    4) Press OK to close the entry, and OK to close the Suffix Mapping window.

    Let me know if that doesn't work.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

  • Stuckmic_com Member

    Thanks Jim, let me give that a try. I used the old ftech for years and it always worked, guess i assumed the old preferences would carry over.

    I'll give it try here in a few.

    Paul Williams

    Posted 10 years ago #

  • Jim Matthews Administrator

    The old Fetch (version 3.0.3) did not have an Automatic format for uploads (only an Automatic mode for downloads), so with that version you had to specify the format explicitly.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

  • Stuckmic_com Member

    That did the trick! I tried it out yesterday.

    I still have my old version of fetch ... it was a great program, as is this version.

    Am i mistaken, or was fetch discontinued prior to version 4 coming out? I may be thinking of a different program, but i would swear i thought fetch had been discontinued at one time. I was surprised to see a version 4 pop up.

    Paul Williams

    Posted 10 years ago #

  • Jim Matthews Administrator

    Fetch was never discontinued, but four years passed between the release of version 3.0.3 (from Dartmouth) and the release of 4.0 (after the rights were purchased by Fetch Softworks). We've had more frequent updates since then, and expect to release the next major upgrade by the end of this year.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

Topic closed

This topic has been closed.