mIRC Home    About    Download    Register    News    Help

Print Thread
read .jpg file from web and save it to folder #216102 25/10/09 01:52 PM
Joined: Oct 2009
Posts: 1
D
dramta Offline OP
Mostly harmless
OP Offline
Mostly harmless
D
Joined: Oct 2009
Posts: 1
Hi,

How can i read a jpg file from web and save it to disk?
i.e. let's say I'd like to save http://www.my.com/a/test3.jpg to c:\temp\test3.jpg , how do I do this?

I've tried to play around with sockets, but can't get it to work;s

Re: read .jpg file from web and save it to folder [Re: dramta] #216103 25/10/09 02:09 PM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
The two snippets in this post may help. The first (by FiberOPtics - I suggested a fix only) uses /com* (ADO-stream), the other (by hixxy) uses /sock* commands.