Your best friend for file transfer.Fetch
can you skip a file in mirroring? (4 posts)
- Started 7 years ago by krissel
- Latest reply 7 years ago from Scott McGuire
I'm trying to mirror our site but it keeps coming to a particular file that says it can't open the file because I don't have sufficient permission. Doing a get info and trying to apply execute is not allowed. This is the file that aborts the mirroring.
There is no way to skip this file and continue with mirroring the rest of the site, or is there?
Scott McGuire Administrator
Are you trying to mirror the site from the server to your Macintosh (downloading the site), or are you trying to mirror the site from your Macintosh to the server (uploading the site)?
If you're mirroring from the Mac to the server, checking the "Do not upload dot items in folder" preference in the Obscure pane of the Fetch Preferences may fix the problem for you.
But if you're mirroring from the server to the Mac (and that's what it sounds like you're doing), no, unfortunately you cannot skip that one file and continuing mirroring the rest of the folder.
However, you may be able to work around the problem by mirroring a different folder. While I don't know the specifics of your setup, if the files that make up your website are mostly contained in a "www" folder or a "public_html" folder on your server, try mirroring just that folder, instead of your primary account folder, which may contain a variety of folders and files that you can't download due to permissions (such as the one you mention). If you're not sure if this is an option for you or not, let us know and we can help figure out if it is.
Thanks for the quick reply.
It's the latter, trying to mirror from the server to my Mac.
I'll try just going for the public_html folder instead but as this is a BBS site there are a lot of other folders (15)in the main site area.
I suppose I could mirror each of the other folders separately, excluding the one with that file or at least any that will let me do so and just download the additional single files in the main folder manually. (Wish I knew Applescript better so I could create a script that would run all the mirror documents for those folders at once.:-) )
Scott McGuire Administrator
Yes, I agree trying to mirror 15 folders would be a pain.
You could try contacting your hosting provider - or whoever maintains the server - and see if you can get the permissions on the file changed so that you can just download/mirror the whole folder. It may be that things won't work right on the server if the permissions are changed - there are sometimes files that require a certain set of permissions - but it can't hurt to ask.
For a future version of Fetch, we do hope to improve the mirror function so that it will proceed with the download even if one error occurs, but I realize that doesn't help you now.
[This message has been edited by ScottMcGuire (edited 09-06-2007).]
- Page 1