Your best friend for file transfer.

Fetch application logoFetch

AppleScript too... (2 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 21 years ago by toshog
  • Latest reply 21 years ago from toshog
  • toshog Member

    i've spent the good part of the night trying to figure why this isn't working:

    set the_file to "Path:to:textfile.txt"
    set theURL to "ftp://user:pass@host:port"

    with timeout of 60000 seconds
    tell application "Fetch 4.0"
    put into url theURL item the_file
    end tell
    end timeout

    the error message i get is:

    Fetch 4.0 got an error: A descriptor type mismatch occurred.

    i tryed the drop script in the fetch example folder and i know that a url with ":port" at the end works. and according to the fetch 4.0 dictionary this should work...
    What's the mismatch?


    Posted 21 years ago #

  • toshog Member

    nevermind.... got it...
    oh, and i didn't know about the ": P" thing...

    Posted 21 years ago #

Topic closed

This topic has been closed.