Jump to content

Recommended Posts

Posted (edited)

Hello!

I want to detect if backup (.zip) file was created on ftp server and start download it. For this I use _FTPFindFirstFile function in loop.

But backup file creation time is relative long and _FTPFindFirstFile function detect file while it still not be completely created and my script start downloading piece of file...

What is the best way to know if file completely created and "wait for me"?

Thanks!

P.S. Where it is possible to download latest and completely completed up today version of ftp.au3 UDF?

Edited by RAMzor
Posted

For the UDF look in my signature.

Well I dont know how to check if a file i creating.. But if your controling the backup script, you could have it make a little file as the last part of the script - so when the little file exists, the big backupfile is completed

Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...