Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to ftp a directory over to another system and I don't want to have to recreate all the folders on the other system by hand. How would I do this?

EDIT: I can't install anything so rsync etc are out....can only use windows native stuff

share|improve this question
add comment

4 Answers

As an addition to @satanicpuppy suggestion, WinSCP ( http://winscp.net/eng/index.php). There is a "portable" form that doesn't require installing. I have used it to manage entire old-school websites, where each section contained an entire directory of .html and related files and sub-directories. And GUI.

share|improve this answer
    
+1: WinSCP is awesome. –  Satanicpuppy Jun 2 '10 at 19:35
add comment
up vote 1 down vote accepted

I ended up zipping the directory and ftping it over as a binary and then unzipped it.

Not exactly ideal but works if you can unzip it on the other end.

share|improve this answer
add comment

Using windows-native FTP, I don't know of any way to do it besides directory by directory. FTP as a protocol doesn't traverse directory trees: it reads the directory, decides it's not a file, and skips it.

Are you not allowed to install any software, or are you not allowed to run any executables? If you can run an .exe, you might try downloading a binary like pscp, or psftp (which supports batch scripting). They don't need to be installed, and it may give you a few more options.

share|improve this answer
    
I can't install, completely forgot about running executables. –  CheesePls Jun 2 '10 at 18:44
    
@CheesePls: I love SCP partly because it supports the recursive flag that lets you move subdirectories without scripting. If the server you're copying to allows ssh, I'd recommend giving it a try. –  Satanicpuppy Jun 2 '10 at 19:14
add comment

If the folders are empty, you might have to create an empty file in each before FTPing them.

share|improve this answer
    
folders are not empty...the all have either files,folders or a combination of both inside. –  CheesePls Jun 2 '10 at 17:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.