Title: RE: [WS_FTP Forum] Best solution for a GET/PUT/DELE session

        I suggest using EVENT COMMANDS to detect the GET, and configure the  GET event to trigger a batch file.  Then write the batch file to perform whatever you desire (delete the file, rename it or whatever).

-----Original Message-----
From: xness1 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 29, 2003 9:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [WS_FTP Forum] Best solution for a GET/PUT/DELE session


By the way,

how can I force WSFtp to not download twice an already downloaded file?
I explain myself better:

The scheduled procedure checks the remote folder let's say every 2 hours.
When there's a new file, it's downloaded into a local folder.
People use file from that local folder and move it. So the local folder can
become empty between two consecutive schedules.
I want to avoid that the file in the remote folder will be downloaded again
in two hours, like flagging it as "downloaded". Is that possible?
Or I must delete it after downloaded?

thank you



----- Original Message -----
From: "Pete Simpson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 27, 2003 1:04 PM
Subject: RE: [WS_FTP Forum] Best solution for a GET/PUT/DELE session


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

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