Your best friend for file transfer.

Fetch application logoFetch

.swf files keep uploading as text (8 posts)

  • Started 9 years ago by brionybob
  • Latest reply 9 years ago from Scott McGuire
  • brionybob Member

    Unless I manually select, every .swf file I attempt to upload automatically uploads as text, and then doesn't work.

    Is there some way to make automatic uploading detect that the .swf file needs to be uploaded as binary?

    Posted 9 years ago #

  • Scott McGuire Administrator

    Hi,

    Fetch should upload .swf files as binary automatically, so we need to investigate what is going on and hopefully we can fix the problem.

    To begin with, which version of Fetch and Mac OS X are you using?

    And when you get info on a .swf file in the Finder, which application does it says will open it?

    Thanks,

    Scott McGuire
    Fetch Softworks

    [This message has been edited by ScottMcGuire (edited 02-07-2009).]

    Posted 9 years ago #

  • brionybob Member

    I'm using Fetch 5.3 and OS 10.5.6 - everything is as up to date as possible.

    Safari is currently set to open .swf files, as I wish to be able to double-click on them and have them open automatically in Safari.

    Posted 9 years ago #

  • Scott McGuire Administrator

    Hi,

    Thanks for the information; nothing in it that indicates what might be causing this problem.

    Could you please do the following?

    * Quit Fetch, if it's running.
    * Open Fetch again.
    * Connect to your server.
    * Update a .swf file to your server.
    * Go to the Window menu, and choose Fetch Transcript.
    * Copy the entire contents of the transcript window, and paste them into a reply to this message.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 9 years ago #

  • brionybob Member

    Fetch 5.3 (5D161) Intel running on Mac OS X 10.5.6 (9G55) Intel English
    StuffIt Engine 0x820, StuffIt SDK Version 10.1.1b1
    Partial serial FETCH5F001-EEFQ-2PTR T
    Connecting to ftp.streamline.net port 21 (Mac OS X firewall is allowing connections) (7/2/09 6:11:07 pm)
    Connected to 213.171.193.5 port 21 (7/2/09 6:11:07 pm)
    220-Matrix FTP server ready.
    220-This is a private system - No anonymous login
    220-IPv6 connections are also welcome on this server.
    220 Please note: files for your website must be stored under the htdocs directory.
    USER rumoursofwhores.co.uk
    331 User rumoursofwhores.co.uk OK. Password required
    PASS
    230 OK. Current directory is /
    SYST
    215 UNIX Type: L8
    PWD
    257 "/" is your current location
    MACB ENABLE
    500 Unknown command
    PWD
    257 "/" is your current location
    TYPE A
    200 TYPE is now ASCII
    PASV
    227 Entering Passive Mode (213,171,193,5,95,83)
    Making data connection to 213.171.193.5 port 24403
    LIST -al
    150 Accepted data connection
    drwx-----x 5 136731 500 4096 Feb 7 16:55 .
    drwx-----x 5 136731 500 4096 Feb 7 16:55 ..
    -rw------- 1 136731 500 24 Mar 1 2007 .bash_logout
    -rw------- 1 136731 500 191 Mar 1 2007 .bash_profile
    -rw------- 1 136731 500 124 Mar 1 2007 .bashrc
    drwx---rwx 6 136731 500 4096 Feb 7 16:56 htdocs
    drwx------ 2 136731 500 4096 Feb 7 04:05 logfiles
    drwx-----x 2 136731 500 4096 Mar 1 2007 private
    226-Options: -a -l
    226 8 matches total
    CWD htdocs
    250 OK. Current directory is /htdocs
    PWD
    257 "/htdocs" is your current location
    PASV
    227 Entering Passive Mode (213,171,193,5,76,54)
    Making data connection to 213.171.193.5 port 19510
    LIST -al
    150 Accepted data connection
    drwx---rwx 6 136731 500 4096 Feb 7 16:56 .
    drwx-----x 5 136731 500 4096 Feb 7 16:55 ..

    (List of files removed)

    -rw----r-- 1 136731 500 2255 Jul 30 2007 topback.jpg
    -rw----r-- 1 136731 500 1294 Mar 1 2007 trackicon.jpg
    226-Options: -a -l
    226 45 matches total
    MKD test
    257 "test" : The directory was successfully created
    CWD test
    250 OK. Current directory is /htdocs/test
    PWD
    257 "/htdocs/test" is your current location
    PASV
    227 Entering Passive Mode (213,171,193,5,75,221)
    Making data connection to 213.171.193.5 port 19421
    LIST -al
    150 Accepted data connection
    drwx---rwx 2 136731 500 4096 Feb 7 18:11 .
    drwx---rwx 7 136731 500 4096 Feb 7 18:11 ..
    226-Options: -a -l
    226 2 matches total
    PASV
    227 Entering Passive Mode (213,171,193,5,151,116)
    Making data connection to 213.171.193.5 port 38772
    STOR highway.swf
    150 Accepted data connection
    226-File successfully transferred
    226 2.308 seconds (measured here), 27.30 Kbytes per second
    Transfer of highway.swf (64,497 bytes, 32,248 bytes/sec, 0:02 elapsed) completed at 7/2/09 6:11:38 pm
    QUIT
    221-Goodbye. You uploaded 63 and downloaded 0 kbytes.
    221 Logout.

    Posted 9 years ago #

  • Scott McGuire Administrator

    Hi,

    Thanks for the transcript.

    Our best guess is that whichever program you're using to create the .swf files is saving them marked as text files, even though they're not text files. The problem is, if the information about a file says it's a text file, Fetch believes it - because that's the safest way to identify real text files.

    Which program are you using to create your .swf files? We can try to research this further and see if we can determine if this is the case.

    Assuming that is the problem, the best workaround would be to change Fetch's default format to be Binary instead of Automatic. In nearly all cases, it doesn't hurt text files to be uploaded in binary mode (the only difference is that the FTP server doesn't try to convert the line endings in the text file to match the server's line endings); you could give it a try to make sure your text files aren't affected by doing that.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 9 years ago #

  • brionybob Member

    Well, that's where we hit a snag, then, as I'm not the creator of the .swf files - I just put them on the website.

    Thanks for your help; I can work around it by manually uploading the files as binaries - apart from that, Fetch works brilliantly, and your help and prompt response has been much appreciated!

    Posted 9 years ago #

  • Scott McGuire Administrator

    Hi,

    You're welcome, and I'm sorry that we can't offer a better solution to the problem.

    As I said, you might want to consider just changing the default upload format to Binary, but you know whether that would work for you better than I would.

    Please let us know if we can be of further assistance.

    Best,

    Scott McGuire
    Fetch Softworks

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