all groups > iis ftp > april 2005 >
You're in the

iis ftp

group:

ftp utility in command line mode



Re: ftp utility in command line mode jeff.nospam NO[at]SPAM zina.com
4/22/2005 7:35:54 PM
iis ftp: [quoted text, click to view]

You create a text file of each command as you would issue it, then
call it with the FTP command line and the -s switch. Each line of the
text file is the complete entry you would normally type. As in:

open 127.0.0.1
anonymous
gooduser@sample.com
cd cooldocs
get reallycool.doc
close

This opens a connection to 127.0.0.1, logs in as anonymous with a
password of gooduser@sample.com, changes to the cooldocs folder, then
gets (downloads) the file reallycool.doc and closes the connection.

The user still has to get the text file, and launch it correctly on
the command line though.

ftp utility in command line mode Gim
4/22/2005 7:51:32 PM
I want to direct my clients how to download with ftp utility (in command
line mode). I want them to use ftp with one single line - including all the
parameters like Username and Password. I saw in the help that its usually
done with a text file and -s flag.

Is it possible to do it as I need and how?

Thanks in advance

Gim

Re: ftp utility in command line mode Gim
4/23/2005 12:00:00 AM
Thanks,

But if you read carefully what I wrote you could see that its not the
expected answers. I don't want to use a file at all.
Is it possible and how?

Thanks

Jim

[quoted text, click to view]

Re: ftp utility in command line mode jeff.nospam NO[at]SPAM zina.com
4/25/2005 12:00:00 AM
[quoted text, click to view]

No. You either type the answers or provide a script file. Best you
can do is a -A parameter to log in anonymously, but you would have to
specify the rest of the commands manually.

Jeff


[quoted text, click to view]
AddThis Social Bookmark Button