Jump to content

Recommended Posts

Posted

Here is the situation... I have users downloading data out of an application into a text file then after they finish, I FTP them up to my corporate site. Is there some way I can detect when the file is no longer in use so the I can transfer it? I have pretty much everything else scripted, just need a way to wait until the download finishes before FTPing it up. Any help will be greatly appreciated!

Posted (edited)

Here is the situation... I have users downloading data out of an application into a text file then after they finish, I FTP them up to my corporate site. Is there some way I can detect when the file is no longer in use so the I can transfer it? I have pretty much everything else scripted, just need a way to wait until the download finishes before FTPing it up. Any help will be greatly appreciated!

Maybe in While loop try to open file (by CreateFile API) with nonshared and/or write access

If Open file will be successfull then ExitLoop and make your FTP upload.

BTW: Why is this in V2 forum?

Edited by Zedna
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...