Windows XP Forums


Reply
Thread Tools Display Modes

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

 
 
Peter Hanke
Guest
Posts: n/a
 
      11th September 2010
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
<accountname>
<passwd>
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
 
Reply With Quote
 
 
 
 
Barry Schwarz
Guest
Posts: n/a
 
      11th September 2010
On 11 Sep 2010 09:54:58 GMT, (E-Mail Removed) (Peter Hanke) wrote:

>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
><accountname>
><passwd>
>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?


Check to see if FileZilla has a command line interface.

--
Remove del for email
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to upload recursively with cmdline ftp "mput" a whole directory tree? Peter Hanke Windows XP Help and Support 0 11th September 2010 09:54 AM
How do I seach a directory tree for "most recently written file" Al Dykes Windows XP Help and Support 1 22nd January 2008 02:57 PM
"Program Files" directory shows up as "Accessibility" in Windows Explorer?? CrumbBread@gmail.com Windows XP Help and Support 1 24th April 2006 05:06 AM
"Program Files" directory shows up as "Accessibility" in Windows Explorer?? CrumbBread@gmail.com Windows XP General 0 23rd April 2006 05:01 PM
generating "tree" directory listing, to file, with extended characters Joe Windows XP General 7 6th February 2005 02:00 PM


All times are GMT. The time now is 12:39 AM.
Windows XP Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26