Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Noob - Need to copy folder structure between two unconnected servers

Status
Not open for further replies.

Treefarn

Programmer
Apr 1, 2010
2
US
I have never programmed in VBScript before, and looking at the FileSystemObject, I can't figure out quite how to do what I need to do.

I need to be able copy the folder structure and contents from one folder on one server (and I would need to be able to specify exactly where that folder is). So I need the 'Blah' folder and all its content, but I would need to be able to indicate exactly where Blah is (ie: c:\test\Blah or d:\Blah or d:\Blahblah\blah.

I would need to then somehow create an executable which I could then ftp to another domain and server, double click the executable, and specify where to recreate the 'blah' folder and all its contents.

Any thoughts? I hope I explained that well enough.
 
This is not a VBScript solution I realize... why not just zip the files (or make a self-extracting zip), send that over ftp, and then extract the files to the desired location?

I guess I'm asking, why are you looking to do this in VBScript?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top