Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ftp script with additional firewall login?

Status
Not open for further replies.

RobJordan

MIS
Apr 3, 2001
296
US
I am familiar with a standard ftp login script
but I am having trouble with one that first requires a login to the firewall first.
I am not sure if I should use the quote command to do this.
I have posted the manual login below that I am trying to automate.

Thanks in advance,

Robert

# ftp somesite.com
Connected to somesite.com.
220-
220-Sidewinder ftp proxy. You must login to the proxy first.
220 Username:
Name (somesite.com:root): firewall_user
331 Password:
Password: firewall pass
230-Proxy authentication successful. You are connected to the server:
230-
230-ProFTPD 1.2.0rc3 Server (somesite.com) [123.123.123.123]
230-
230 Please use the 'user' command to login to the FTP server.
ftp> user
(username) ftp_username
331 Password required for jordan20.
Password: ftp_pass
230 User ftp_username logged in.
ftp> Robert G. Jordan

Robert@JORDAN2000.com
Unix Sys Admin
Chicago, Illinois U.S.A.
[lightsaber]
 
We use a firewall here and the syntax is
ftp firewall
remoteuserID@firewallID@hostID
Remotepassword@firewallpassword.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top