copy web site (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


yaronbb -> copy web site (9/16/2007 14:51:12)

Hi,
I am trying to backup my files true the browser to my desktop. I try with fso copy folder but this is only on the server.

Is there a script that can do it?




ThomasMobley -> RE: copy web site (9/16/2007 17:03:24)

Yeah, create a filesystemobject to initially load the file, then pass that to an ado stream object, then write the stream in a response back to the client. Write a function that does it, then use an asp script to do a directory listing and pass each path\filenames to your filedownload function.

Why not just use ftp though? It would be much easier, not to mention it's far more secure.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875