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

link|improve this question
feedback

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.

link|improve this answer
+1: WinSCP is awesome. – Satanicpuppy Jun 2 '10 at 19:35
feedback
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.

link|improve this answer
feedback

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.

link|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
feedback

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

link|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
feedback

Your Answer

 
or
required, but never shown

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