XP Command Prompt ftp mput

6 posts / 0 new
Last post
catmistake's picture
Offline
Last seen: 6 years 8 months ago
Joined: Dec 20 2003 - 10:38
XP Command Prompt ftp mput

lets say you type

mput *JPG

How do you make it NOT prompt you for every single file?

mput -i doesn't do it

Is there another arguement that will just force every file to upload, without having to say y for every one?

Thanks in advance!

catmistake's picture
Offline
Last seen: 6 years 8 months ago
Joined: Dec 20 2003 - 10:38
any mput

Perhaps it works the way any mput command works...

anyone have any arguements I should try?

The Czar's picture
Offline
Last seen: 7 years 4 months ago
Joined: Dec 20 2003 - 10:38
Something to try

Try entering the command: ftp -i then using mput. Apparently the -i command switch disables interactive prompting for multiple file transfers.

A quick Google search of Windows XP MPUT Command Switches gave this site, from which I got this information.

Cheers,

The Czar

catmistake's picture
Offline
Last seen: 6 years 8 months ago
Joined: Dec 20 2003 - 10:38
THANKS... at least someone cares!

Quote:
mput -i doesn't do it

That was the first thing I tried...

but I'll try the way you suggested...
thank you so much for responding!

Jon
Jon's picture
Offline
Last seen: 7 years 1 month ago
Joined: Dec 20 2003 - 10:38
the -i flag goes on the initi

the -i flag goes on the initial ftp command, NOT any subsequent ones. So you'd do:

ftp -i url://of.the.site

and then for the files you want:

mput *JPG

would just take off and send everything that fits the wildcard. The -i flag is generally used for scripts and batch files, so it is mostly needed for everything done in a partucular FTP session, thus the use of it on the initial ftp command.

catmistake's picture
Offline
Last seen: 6 years 8 months ago
Joined: Dec 20 2003 - 10:38
thanks for the clairification

Hey, waddaya know... it works!

Thanks... thats going to save me a lot of keystokes!
I just received a freebie, an old Olympus DL-320, with an old serial connector. Actually, its my very first digital camera. The images aren't that great, but it should be fine for web stuff. I leave my anemic thinkpad on all the time and access it and the camera using Remote Desktop Connection, and then use the command prompt to ftp the pics back to my powerbook (I have no patience trying to get my mac to share with Windows, actually... the pain is the other way around, I can't get the thinkpad to see the mac's share folder... besides, as I said, its anemic, 96mb RAM, so its a slow gui, and the command prompt works much faster than trying to move icons around).

Thanks again you guys!

Log in or register to post comments