here is code I use to grab a image from a url and save it..
I am only showing you this as it may help you... there is a lot of stuff in
here specific to what I was doing that you can get rid of (I use this in
code I wrote to save pictures locally from nextel cell phone emails which
only contaitn the url to images)
'Get the Image
Set xmlhttp = CreateObject("Msxml2.SERVERXMLHTTP")
xmlhttp.Open "GET", PicURL, false
xmlhttp.Send(Now)
'Create a Stream
Set adodbStream = CreateObject("ADODB.Stream")
'Open the stream
adodbStream.Open
adodbStream.Type = 1 'adTypeBinary
adodbStream.Write xmlhttp.responseBody
filename = RndStr(16,"123456789abcdefghijkmnpqrstuvwxyz") & ".jpg"
adodbStream.SaveToFile (Cell_Picture_Directory & msg.From & "\" & filename),
2 'adSaveCreateOverWrite
adodbStream.Close
Set adodbStream = Nothing
Set xmlhttp = Nothing
"Kyle Peterson" <kp*****@hotmail.com> wrote in message
news:uS**************@tk2msftngp13.phx.gbl...
well, if the zip file isn;t ont the same webserver (which I assume is the
case the way you said this)
you can use the xml parser component that is usually installed on new
servers by default.
you can then go grab the zip file, save it locally to the server (I have
done this with images using the binary stream so I assume it would work
with any type of file), but maybe not
then do your thing with your asp zipping component and unzip
if the zip file is on the same server there is no need to use the xml
parser component to fetch it
"kelby" <ke**********@mail.codecomments.com> wrote in message
news:ke**********@mail.codecomments.com...
Hi, I have a zipfile that is created dynamically for me on a webserver.
I have the url of the zip sent as a post value to an asp script on my
website.
In my asp script I need to be able to retrieve the zip file so that i
may extract content from it using an asp zip component.
Any idea how to retrieve the file?
Cheers Kelby
--
kelby
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------