Board index » cppbuilder » ActionList, Internet, TDownLoadURL
ActionList, Internet, TDownLoadURL
2005-07-15 03:42:08 AM
mydl->URL = "www.mysite.com/afile.txt";
mydl->Filename = "afile.txt";
If the file specified by mydl->URL does not exist, mydl->Execute() pops up
an error message dialog box informing the user that the file could not be
found. This dialog box is a major annoyance. If I want the user to be
informed of this, I will tell him about it myself.
Is there some way to check a webserver/website for the existance of a file
before attempting to download it? Or some way to get rid of that dialog box?
I'd love to take the call to the messagebox out, but I don't have the source
code for the Execute method of TDownLoadURL (or if I do, I can't find it).
I'm using C++Builder version 6.0. Is there some way I can get a copy of it?
Thanx for any help you can give me with this.