lftp mirroring hangs cannot open file for reading
I have tried setting up lftp to mirror our web host for backups. The problem I've run in to is that when it gets to the web server logs, the current file is in use so the FTP server says:
450 Cannot open file <blah> for reading.
After which lftp immediately retries and it just pounds the server non-stop trying to get this file and the server refusing it.
The server is Serv-U.
Is there some way to resolve this? Tell lftp to just ignore files it cannot retrieve or tell Serv-U to issue some different error so that lftp does not retry?
Thanks in advance,
You can try net:persist-retries in the lftp configuration. No experience and no lftp at hand to test. From the description, it sounds like that's what you're looking for.
However, it's a server side problem and should be solved at the server side (in my opinion).
I tried both of these to no avail:
set net:max-retries 3
set net:persist-retries 3
Ugh, for now I'm just using -x to exclude log files. Not ideal, but the log files are not as important as the content.
|All times are GMT -5. The time now is 07:20 PM.|