You wrote:

"So, maybe I should write a script that performs all these operations 
sequentially?"

Yes, that's exactly what I would do if I were you.  One big script with all 
appropriate error logging and error handling so that in the event one piece fails you 
know what happened, can stop the process, revert back to the previous version of 
files, continue ignoring the error, etc.

Trying to tie three jobs togther and then hoping the timing sequencing always works 
would not be an optimum solution.

Pete
-----Original Message-----
From: Alex Hill [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 10:59 PM
To: [EMAIL PROTECTED]
Subject: [WS_FTP Forum] Best solution for a GET/PUT/DELE session


Hello everybody,
I'm testing Ws Ftp since a week and I think it's excellent. I need your 
opinion about this matter. I need to schedule automatic download from a 
remote folder to a local client. This is simple and I only needed to 
configure the schedule wizard. But I also need:
1) to save a copy of each downloaded file in another remote folder on the 
same server
2) after that, to delete the original downloaded file(s) from the first 
remote folder.

I could of course create 2 other schedules and make them to be executed, 
let's say, 5 minutes after the previous. But what happens if a new file is 
uploaded in the server from someone else, during those five minutes? The 
second schedule would copy it, and the third would delete it, so I would not 
see the file in the local client.
If I reduce the time between the schedules, what happens if a task is not 
completed before the next starts?

So, maybe I should write a script that performs all these operations 
sequentially?
Thanks for help,
Alex

_________________________________________________________________
Check out the Xtra gaming servers at  http://xtramsn.co.nz/gaming !


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.


An Archive of this list is available at:
http://www.mail-archive.com/wsftp_forum%40list.ipswitch.com/


http://www.realmed.com/legal/confidential.htm

Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.


An Archive of this list is available at:
http://www.mail-archive.com/wsftp_forum%40list.ipswitch.com/

Reply via email to