If you are doing the downloading then yes, it is possible.
Main Topics
Browse All TopicsHi everyone!
i need build a application :
the application need to check if a download as completed, and if download completed then move the downloaded file to other folder
for example, i'll download a test.txt, saved in c:\test\test.txt, when finished, application moves teste.txt to c:\testing\teste.txt
all downloads need to be controled...
its possible ?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Well it depends. For example if it was an file on an HTTP server you could use this: http://www.scalabium.com/f
If it was on an FTP server you could use the Indy components(which you might already have, if not look here: http://www.indyproject.org
Each way you can download the file where you want it to begin with, and move it once it completes.
If you are attempting to move a file after it completes from some other application you would not know when it is complete unless that application was communicating with yours. Going by file size, open handles, date last modified isn't good enough.
the only sure way is a checksum, or similar
a CRC + datetime + filesize is also a good way
each file has content, which is most of the times unique
you calculate it with for example:
http://delphi.about.com/od
you set a calculated md5 on the server in a separate file for example:
downloadfile.md5
then after the download is complete, read calculate the md5 locally, compare to the server md5 and check the size
that should give a idea if the file downloaded is correct.
that is if md5 checksums are supplied by the supplier
http://www.pc-tools.net/wi
Business Accounts
Answer for Membership
by: malayali_tvmPosted on 2009-11-07 at 14:04:06ID: 25768248
try to use small .bat file