WatchFTP Forum
https://www.watchftp.com/cgi-bin/yabb2/YaBB.pl
WatchFTP >> WatchFTP English >> WatchFTP repeatedly downloading same files?
https://www.watchftp.com/cgi-bin/yabb2/YaBB.pl?num=1585045846

Message started by TimF on Mar 24th, 2020, 11:30am

Title: WatchFTP repeatedly downloading same files?
Post by TimF on Mar 24th, 2020, 11:30am

Hello, sorry to bother you!

We have a server running version 3.7.4.5, which downloads a number of daily files as new versions of these files appear on the SFTP site.  The processes on this server are being migrated to a new server.

On our new server, we have recently purchased version 4 and tried to replicate our existing process.  We currently have a 1-minute interval for checking and strangely, WatchFTP is downloading the same files again at every 1-minute interval.

I could set the interval to something a lot higher (ex. 12 hours/43200 seconds) in order to prevent too many downloads, but I would prefer to try and understand and eradicate this unexpected behaviour if possible.

Kind regards.

Title: Re: WatchFTP repeatedly downloading same files?
Post by Gert on Mar 25th, 2020, 10:15am

Hard to say what is causing this.
Do I understand you correctly:
- it worked with the previous version (on the old server)
- you created a NEW task on the new server (didn't use a backup) and it redownloads again-and-again

Can you try this, if possible:
on the old server
- stop the task
- right-click it (so a popup menu shows)
- select the option "Backup..." to create a zip with all settings and logs
on the new server
- select the menu "File -> Restore"
- select your backup zip

That should import all your previous settings correctly.

If the old server is not available anymore (so you can not backup)...
On "FTP Settings", enable the option "Keep Session Log"
Run the task until you see multiple downloads for the same file
Stop the task and create a backup
Email me the backup (see below for my email) AND tell me the full name of one of the files it downloaded multiple times.

Gert

Title: Re: WatchFTP repeatedly downloading same files?
Post by TimF on Mar 25th, 2020, 12:55pm

Many thanks Gert.  I have sent a response via email.

Title: Re: WatchFTP repeatedly downloading same files?
Post by Gert on Mar 25th, 2020, 1:31pm

Just in case you didn't receive my reply, the zip was not inside your email. Instead there was a message:
We removed a file from this message. Your organization's email policy doesn't permit this type of file. If you need it, please contact your administrator.
File Details
ApolloScopeDownload_20200325.zip (1030509 bytes)

perhaps you can rename the file to hello.pqr and that helps? Or send again from (for example) a gmail account?

Title: Re: WatchFTP repeatedly downloading same files?
Post by TimF on Mar 31st, 2020, 4:53pm

Hi Gert.

I can confirm that this issue has now been fixed be ensuring that the path setting begins with the "/" character.

Thanks again for your assistance.

Kind regards, Tim.

Title: Re: WatchFTP repeatedly downloading same files?
Post by Gert on Mar 31st, 2020, 6:15pm

Yes.

We want to do a little more testing here. It seems that if your "FTP Directory" is not a full path (starts at the root) AND you have the option "Force download if local file does not exist" set, WatchFTP will keep downloading the same file again and again.

Easy fix for the current release: enter the FTP Directory as a full path.
The next release should have this issue fixed so it doesn't matter how the FTP Directory is entered.


WatchFTP Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.