tags:

views:

35

answers:

1

Hi,

I've been searching and trying for days to get wput.exe to upload an entire folder, along with its subfolders. I've been told that Wput can do this. I've tried the following:

wput C:\upload\ ftp://user:[email protected]/Transfer/

Any ideas?

A: 

You use the --basename argument to remove the drive letter. That way, when wput tries to create a file structure on the ftp server it doesn't include the drive letter in the folder path.

Example:

C:>wput --basename=C:\ C:\upload\ ftp://user:[email protected]/Transfer/Uploads/

Seems to do the trick.

johnnyturbo3