Your best friend for file transfer.

Fetch application logoFetch

Can Fetch Mirror files? or only folders? (6 posts)

  • Started 16 years ago by guest
  • Latest reply 16 years ago from Scott McGuire
  • guest Registered Member

    Mirror function only selects folders? No independent files?

    I publish my website to a folder resulting in two items: a folder named xyz.com and an index.html file. I save them to the XYZ folder on my local drive. The webhost needs the xyz.com folder and the index file in the server public_html folder. But the site does not display if xyz.com and index.html are in a folder in the public_html. If I upload them as an unnested file and a folder, my site displays just fine. A copy of index.html appears to be inside the xyz.com folder.

    Apparently updates to my website require upload or mirror of a folder and a file. Is there a way to cause Fetch to mirror file and folder? Or should I mirror the 5MB folder and then manually upload the 4KB index.html file?

    Or is there some other work around?

    thanks

    -B

    Posted 16 years ago #

  • Scott McGuire Administrator

    Hi,

    I think Fetch's Mirror function will do what you want in one step, but I want to make sure I've understood your needs correctly.

    On your Mac, you have "XYZ" folder, which contains "index.html" (file) and "xyz.com" (folder).

    And on the server, you need to put "index.html" (file) and "xyz.com" (folder) directly inside the "public_html" folder.

    Is that correct?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 16 years ago #

  • guest Registered Member

    Hi, Scott - Yes, the file and folder need to upload to the host server public_html folder. When they get there my website will display only if file and folder appear as separate items in the public_html folder. They cannot be nested together in their own folder (eg XYZ). The Fetch "Put" mode allows me to select/upload them, no problem. But mirror function will not allow me to select the index.html file. The lefthand, Local panel in Fetch mirror displays the file index.html in the directory list, but it is greyed out, unavailable for selection.

    -B

    Posted 16 years ago #

  • Scott McGuire Administrator

    Hi,

    Thanks for the confirmation.

    The Fetch Mirror function actually copies the contents of a local folder into a server folder.

    So in the Local pane of the Mirror window, you should choose the "XYZ" folder that contains the index.html file and the "xyz.com" folder. (You can do this either using the "Choose" button, or by dragging the "XYZ" folder to the local pane of the Mirror window.)

    In the Remote pane of the Mirror window, you should choose the "public_html" folder on the server.

    Then the Mirror funcion will copy the contents of the "XYZ" folder - but not the "XYZ" folder itself - into the "public_html" folder. Which I believe is what you want.

    (And once it's set up correctly, you can use the "Save" button to save the Mirror window set-up so that you don't have to re-choose things again in the future.)

    Please let us know if this does not do what you want, or if you'd like further clarification or have more questions.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 16 years ago #

  • guest Registered Member

    Ya, Ya - Dat verked purdy gud.

    As you say, the contents of the source folder (not the folder itself) transfer into the target folder.

    Thanks Scott!

    -B

    Posted 16 years ago #

  • Scott McGuire Administrator

    Hi,

    We're glad to hear you're all set. You're welcome, and thanks for the followup!

    Best,

    Scott McGuire
    Fetch Softworks

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