> Do any of you guy know why doing FTP deletes, on some FTP servers
> might take 30 seconds to show up as taking place where other servers
> happen immediately. Even on the servers that take 30 seconds, if I
> delete the file via IE, it happens immediately. The problem is that I
> am running a loop and if the file shows up the next time I loop
> through, it causes problems. Or do any of you have a better way of
> doing file FTP file deletes than what I am doing? Any help I can get
> solving this would be much appreciated. A simplified version of the
> code I am using follows:

I don't know of any way, but here's a simple idea.  First build a list of
the files inside the directory in memory, and then remove the files you
command to delete from that list, and don't re-query the FTP directory.

-------------
Ehsan Akhgari

Farda Technology (http://www.farda-tech.com/)

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

That time does not run backward - that is its animosity: "That which was":
so is the stone which it cannot roll called.
-Thus Spoke Zarathustra, F. W. Nietzsche





Reply via email to