
June 22nd, 2005, 11:31 AM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 28

Time spent in forums: 9 h 26 m 33 sec
Reputation Power: 0
|
|
|
Save graphics from the web with VBS
Ok, I'm trying to write a script that has basically the following functionality:
1) Open a .txt file from a web server and put the data into an Access database
2) Using the info from the .txt file, download .jpg files from the web server to the local machine (URL is in the text file).
I have part 1 done, the .txt file is being retrieved with the XMLHTTP object, and being parsed correctly and put into the Access database. I thought part 2 would be easy, but finding it's not so. I can't find a way to retrieve and save binary data to a file. I had through there was a way with the FileSystem Object, but it only creates Text files. And the File object an only retrieve information and manipulate existing files, it can't create a new one.
Can anyone point me in the direction of an object that can retrieve and/or save binary files?
Thanks!
|