Your best friend for file transfer.

Fetch application logoFetch

Feature Request: Mirror extendet (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 22 years ago by chp
  • Latest reply 22 years ago from Jim Matthews
  • chp Member

    I cant find the following functions (i really miss them)

    1. A possibility to quit fetch after mirroring a site.

    2. Is there a possibility to transfer just the changed pages, not the whole site

    Posted 22 years ago #

  • Jim Matthews Administrator

    Thanks for the suggestion. You could write a simple AppleScript that tells Fetch to quit after doing a mirror operation, but I can see that it would be useful to have that option in mirror documents.

    The mirror command is only supposed to upload changed files. Its ability to tell whether a file has been modified may depend on the server's support for the MDTM (modification time) command, and having the right time zone set on your Mac.

    Jim Matthews
    Fetch Softworks

    Posted 22 years ago #

  • chp Member

    Hi Jim,

    i start fetch via WebServer->AppleScript, but because i don´t know when its finished, i cannot post a quit. Now i have blindly to start quitting fetch. But it should be fire and forget (so quit after transfer).

    We transfer the staged pages to their site so such a funtion is a must. Under MacOS 8/9 there was a shareware program mirror from Australia, which is no more supportet, which did exactly this. But that won´t work with MacOS X

    Posted 22 years ago #

  • Jim Matthews Administrator

    Fetch does not return a response to an AppleScript statement until it is finished taking the action in question. So unless you are in an "ignoring application responses" block, you know that the operation is over when you get to the next statement in your script.

    So a script that said:

    tell application "Fetch 4.0"
    download url "ftp://ftp.fetchsoftworks.com/example/fetchicon.gif"
    quit
    end tell

    will download the file and then quit.

    Jim Matthews
    Fetch Softworks

    Posted 22 years ago #

  • chp Member

    I thought of that also, but it would be easier to tell fetch to quit after finishing mirroring. There i don't have to know the exact name of the file.

    It shoult be like. Mirror and dont't care. That is really much more easy than always to give eache name of a file.

    Posted 22 years ago #

  • Jim Matthews Administrator

    I did not mean to imply that you had to name every file. You could also have a script like:

    tell application "Fetch 4.0"
    mirror alias "HD:folder:" to url "ftp://user:@host.com/path/"
    quit
    end tell

    Jim Matthews
    Fetch Softworks

    Posted 22 years ago #

Topic closed

This topic has been closed.