Your best friend for file transfer.

Fetch application logoFetch

PDF files uploaded as text files? (5 posts)

  • Started 17 years ago by marcobat
  • Latest reply 17 years ago from marcobat
  • marcobat Member

    Hi,
    lately i'm having problem with pdf files getting corrupted after I upload them. I suspect it might be caused by Fetch uploading the files as text with "choose automatically" as the transfer mode).
    I found this old reference in this same forum talking about a similar issue:
    http://fetchsoftworks.com/ubb/Forum2/HTML/002252.html
    The problem is that I can't find anywhere a place to set pdf (or any file type for that matter) as being binary by default.
    Am I missing something?
    Thanks.

    Posted 17 years ago #

  • Scott McGuire Administrator

    Hi,

    Fetch 5 and later do not have a way to specifically set PDF files to upload as binary, because they are programmed to always upload them as raw binary files except under special circumstances (in which case it would upload them as MacBinary or StuffIt files, not text files), or unless you specifically chose the "Text" upload format (which tells Fetch to upload all files as text), which I assume you haven't.

    So we'd like some more information to help us figure out where your problem lies.

    Which version of Fetch are you using?

    Are all your PDF files getting corrupted on upload, or just some of them?

    If it's just some of them, does the problem always happen with the same server?

    If it's all of them - or if they are reliably corrupted when uploaded to a certain server - can you show us the transcript of an upload of a PDF file? That way we'll be able to see what format the PDF file was uploaded in. After you upload a PDF file, choose Fetch Transcript from the Window menu, copy the entire contents of the transcript window, and paste them into a reply to this message.

    Thanks,

    Scott McGuiire
    Fetch Softworks

    Posted 17 years ago #

  • marcobat Member

    hi,
    the fetch version is 5.1.1 (it happened also with the previous one).

    here are 2 transcripts connecting to 2 different servers the first is a OS X Server 10.2, the second some sort of windows server, the file corruption happens in both cases.

    Fetch 5.1.1 (5B388) PowerPC running on Mac OS X 10.4.8 (8L127) PowerPC English
    StuffIt Engine 0x820, StuffIt SDK Version 10.1.1b1
    Partial serial FETCH5X001-YULU-VXU6 T
    Update check skipped at 10/11/2006 10:34 AM (next check after 10/11/2006 07:52 PM)
    Connecting to xxxxxxxx.xxx port 21 (OS X firewall is off) (10/11/06 10:34:51 AM)
    Connected to xxx.xxx.xxx.xxx port 21 (10/11/06 10:34:59 AM)
    220 xxxxxxx.xxx FTP server ready.
    USER xxxxxxxxx
    331 Password required for xxxxxxxxx.
    PASS
    230--------------------------------------------------------------------------------
    230- Welcome to xxxxxxxx.xxx
    230--------------------------------------------------------------------------------
    230-
    230 User xxxxxxxxx logged in.
    SYST
    215 UNIX Type: L8 Version: BSD-199506
    PWD
    257 "/" is current directory.
    MACB ENABLE
    502 'MACB ENABLE': command not understood.
    PWD
    257 "/" is current directory.
    TYPE A
    200 Type set to A.
    PASV
    227 Entering Passive Mode (xxx,xxx,xxx,xxx,214,183)
    LIST
    150 Opening ASCII mode data connection for directory listing.

    [...]

    226 Transfer complete.
    PASV
    227 Entering Passive Mode (xxx,xxx,xxx,xxx,28,224)
    STOR fetch-pdf-test.pdf
    150 Opening ASCII mode data connection for directory listing.
    226 Transfer complete.
    Transfer of fetch-pdf-test.pdf (73,267 bytes, 8,140 bytes/sec, 0:09 elapsed) completed at 10/11/06 10:36:21 AM
    PWD

    Connecting to xxxxxxxx.xxx port 21 (OS X firewall is off) (10/11/06 10:42:07 AM)
    Connected to xxx.xxx.xxx.xxx port 21 (10/11/06 10:42:11 AM)
    220 xxxxxxxxxx FTP Server ready
    USER xxxxxxxx
    331 Password required for xxxxxxxx.
    PASS
    230 User xxxxxxxx logged in.
    SYST
    215 UNIX Type: L8
    PWD
    257 "/" is current directory.
    MACB ENABLE
    500 MACB not understood
    PWD
    257 "/" is current directory.
    TYPE A
    200 Type set to A
    PASV
    227 Entering Passive Mode (xxx,xxx,xxx,xxx,177,186)
    LIST
    150 Opening ASCII mode data connection for file list

    [...]

    PASV
    227 Entering Passive Mode (xxx,xxx,xxx,xxx,140,155)
    STOR fetch-pdf-test.pdf
    150 Opening ASCII mode data connection for fetch-pdf-test.pdf
    226 Transfer complete.
    Transfer of fetch-pdf-test.pdf (73,267 bytes, 12,211 bytes/sec, 0:06 elapsed) completed at 10/11/06 10:42:57 AM
    PWD

    Posted 17 years ago #

  • Scott McGuire Administrator

    Hi,

    Could you please send us the entire transcript? We need to see the whole thing to verify what's going on.

    It's okay to blank out the server names, but we need to see all the lines. If you don't want to post them in their entirity here, please send them, along with a short description of your problem, to:

    bugs at fetchsoftworks dot com

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 17 years ago #

  • marcobat Member

    For the record, i sent the complete transcript to the address specified in the previous post.
    I received a reply explaining that the issue I was having was caused by some setting on my computer that caused the files to be uploaded as ASCII (and not as binary).
    Following Fetch Support advice this is what I did:
    1) Quit Fetch if it's running
    2) Remove the com.apple.internetconfig.plist, com.fetchsoftworks.Fetch.plist, and Fetch Prefs files from the Preferences folder inside the Library folder of your home folder.

    Which solved my problem.
    Thank you.

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