|
| |
|
|
yaronbb
Posts: 44 Joined: 10/5/2006 Status: offline
|
FSO Folder copy - 9/13/2007 19:56:21
Hi to all, I am using this script to copy a folder from my site, and I want that the target will be my local computer. <% Dim FSO Set FSO = Server.CreateObject("Scripting.FileSystemObject") FSO.CopyFolder "C:\Inetpub\WebSites\Mysite","C:\LocalComputer",True Set FSO = Nothing %> Is it possible?
|
|
|
|
rdouglass
Posts: 9269 From: Biddeford, ME USA Status: offline
|
RE: FSO Folder copy - 9/14/2007 9:19:34
FSO only works on the machine that the script is running on. It cannot copy from one computer to the next.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
yaronbb
Posts: 44 Joined: 10/5/2006 Status: offline
|
RE: FSO Folder copy - 9/14/2007 14:05:21
Ok, so is there other way to do it?
|
|
|
|
ThomasMobley
Posts: 89 Joined: 9/8/2007 Status: offline
|
RE: FSO Folder copy - 9/16/2007 17:54:20
fso can't do it, but you can read the file in fso and feed that to an ado stream object and then write it back to the client. It's a tad complicated though. What's wrong with good old ftp? This is the second post I read on this subject and neither were about allowing anonymous users to download a file. Site owners should just use ftp to do this it would seem to me. Am I missing something?
|
|
|
|
yaronbb
Posts: 44 Joined: 10/5/2006 Status: offline
|
RE: FSO Folder copy - 9/17/2007 2:35:54
Hi, thanks for replaying me. This is my testing and development site, so I am trying to back up all my site in one click. But it seems that the ftp sound good for me…
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|