A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Networking and the Internet with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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

Thread Tools Display Modes
Old September 11th 10, 10:54 AM posted to microsoft.public.windowsxp.network_web,microsoft.public.windowsxp.help_and_support
Peter Hanke
external usenet poster
Posts: 12
Default How to upload recursively with cmdline ftp "mput" a whole directory tree?

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
mkdir pictures
cd pictures
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?


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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT +1. The time now is 03:15 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 PCbanter.
The comments are property of their posters.