XP Command Prompt ftp mput

5 replies [Last post]
catmistake's picture
Offline
Joined: Dec 20 2003
Posts: 1098

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!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
catmistake's picture
Offline
Joined: Dec 20 2003
Posts: 1098
any mput

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

anyone have any arguements I should try?

The Czar's picture
Offline
Joined: Dec 20 2003
Posts: 287
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

__________________

iBook 14" 1.33Ghz/768MB/60GB/10.4.8
Quicksilver 2x1.6Ghz/1536MB/600GB/10.4.8 Server

catmistake's picture
Offline
Joined: Dec 20 2003
Posts: 1098
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's picture
Jon
Offline
Joined: Dec 20 2003
Posts: 2804
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.

__________________

I am not in this world to live up to other people's expectations, nor do I feel that the world must live up to mine. - Fritz Perls

catmistake's picture
Offline
Joined: Dec 20 2003
Posts: 1098
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!