Windows 7 - How to upload recursively with cmdline ftp "mput" a whole directory tree?

Asked By peter_h on 11-Sep-10 09:54 AM
I want to upload from my local computer a whole directory tree to a remote ftp server.
So far I used:

ftp -s:myscript.ftp

with myscript.ftp:
-----------------
open ftp.myserver.com
pwd
mkdir pictures
cd pictures
binary
prompt
mput C:\localdir\*.jpg
--------

Unfortunately the script above only uploads the picturs in the uppermost directory and not in the subfolders.
How can recurse into all tree levels and "clone" FROM CMDLINE the local tree to remote computer?

Peter




Barry Schwarz replied to peter_h on 11-Sep-10 09:25 AM
Check to see if FileZilla has a command line interface.

--
Remove del for email