Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

As an addition to @satanicpuppy suggestion, WinSCP ( 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
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

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .