ftp - anybody knows the syntax for user login?
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
ftp - anybody knows the syntax for user login?

 
Post new topic   Reply to topic    Windows Server Forum Index -> Networking
Author Message
Dariusz Tomoń
Guest





Posted: Fri Dec 31, 2004 4:15 pm    Post subject: ftp - anybody knows the syntax for user login? Reply with quote

Hi

I've just found that there is possible to automatically login to ftp server
(via normal cmd ftp klient) via command like that:
ftp -A -s:tasks.txt host_name

where -A - is for anonymous login and
-s:tasks.txt - run ftp commands stored in tasks.txt file (after successful
login)

but it can be used whenever there is possible to log as an anonymous onto
FTP server.
How could I change the syntax so that I could log in with user and password?
Is it possible?

best regards

D.T.
Back to top
Herb Martin
Guest





Posted: Fri Dec 31, 2004 5:00 pm    Post subject: Re: ftp - anybody knows the syntax for user login? Reply with quote

"Dariusz Tomoń" <d.tomon@mazars.pl> wrote in message
news:OOr2YHy7EHA.3076@TK2MSFTNGP15.phx.gbl...
Quote:
Hi

I've just found that there is possible to automatically login to ftp
server
(via normal cmd ftp klient) via command like that:
ftp -A -s:tasks.txt host_name

where -A - is for anonymous login and
-s:tasks.txt - run ftp commands stored in tasks.txt file (after successful
login)

but it can be used whenever there is possible to log as an anonymous onto
FTP server.
How could I change the syntax so that I could log in with user and
password?
Is it possible?

I think we went through this last year and (again I believe)
that surprising as it was to me you are correct and you
cannot do this with the MS FTP client.

(I could be wrong, and misremembering something else,
but I am pretty sure since it was so surprising to me.)

You will have to find (or build) an FTP client that has
(likely) been ported more directly from UNIX.

--
Herb Martin


Quote:

best regards

D.T.

Back to top
Jeff Cochran
Guest





Posted: Fri Dec 31, 2004 8:56 pm    Post subject: Re: ftp - anybody knows the syntax for user login? Reply with quote

On Fri, 31 Dec 2004 05:00:13 -0600, "Herb Martin"
<news@LearnQuick.com> wrote:

Quote:
"Dariusz Tomoń" <d.tomon@mazars.pl> wrote in message
news:OOr2YHy7EHA.3076@TK2MSFTNGP15.phx.gbl...
Hi

I've just found that there is possible to automatically login to ftp
server
(via normal cmd ftp klient) via command like that:
ftp -A -s:tasks.txt host_name

where -A - is for anonymous login and
-s:tasks.txt - run ftp commands stored in tasks.txt file (after successful
login)

but it can be used whenever there is possible to log as an anonymous onto
FTP server.
How could I change the syntax so that I could log in with user and
password?
Is it possible?

I think we went through this last year and (again I believe)
that surprising as it was to me you are correct and you
cannot do this with the MS FTP client.

Put your login information into the FTP script you run with the -s:
switch. Works fine for me. :)

Jeff
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Networking All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB