navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

FSO Folder copy

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> FSO Folder copy
Page: [1]
 
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.

(in reply to yaronbb)
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?

(in reply to rdouglass)
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?

(in reply to yaronbb)
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…

(in reply to ThomasMobley)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> FSO Folder copy
Page: [1]
Jump to: 1





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