I am writing an ftp application .. the server is a NT machine and my perl code also runs on NT ... the program is always running and connects to the server once in 5 minutes and
1.checks if the file is being written (based on size)
2.if file has been completly written it downloads the same
i am using NET::FTP
when i connect to the server and do a ls i get the filename date and size of file the date is the that when the first byte is written to the file and the size keeps changing till the file is completly written ... i need to download all the files once it has been completly written and should not download the same file more than once (i dont have write access in the server so i cannot move or rename the same)...need some Ways(TMTOWTDI) in which i can do this ...