-
September 8th, 2009, 08:07 AM
#1
URLDownloadToFile API downloading Older files not updated/latest Files
Hey,
I am using URLDownloadToFile API for downloading files from website to which i updated, but this API is retrieving the older files even after i upload a latest version of the file. I used a fake parameters along with the url but in fail.
szFileName = "C:/somename.zip"
surl ="http://www.sitename.com/foldername/filename.zip?FakeParam=" & int Where int will change every time when downloading.
DownloadFileFromNet = URLDownloadToFile(0, sURL, szFileName, 0, 0) = ERROR_SUCCESS
Please also let me know whether this API works in Windows VISTA Operating System.
Please help to solve this problem
-
September 8th, 2009, 05:52 PM
#2
Re: URLDownloadToFile API downloading Older files not updated/latest Files
It's not going to let you write to a root folder, or even create a root folder. For Vista, create your own folder in \ProgramData (which is hidden by default)
From there, you can read and write files
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|