ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Need help writing a script? Have any question about ScriptFTP?
Hi,

I have to connect to an FTP-Server for uploading files. My problem is: after connect to the server with username and password I have to send a username and a password for an incoming proxy server. The Syntax in DOS-FTP-Client is:

open 100.123.134.88
user username1
password1
user username2
password2
put myfile.xxx2
bye


The screen looks like this:

ftp> open 100.123.134.88
Verbindung mit 100.123.134.88 wurde hergestellt.
220-
********************************* WARNING *****************************
This system is for use by authorized users only.
***********************************************************************
All activities on this system are recorded and may be monitored for the
purpose of tracking down intruders. In the course of monitoring individuals
improperly using this system or during system maintenance, the activities of
authorized users may also be monitored.

Anyone using this system expressly consents to such monitoring and is advised
that if such monitoring reveals possible evidence of criminal activity,
system personnel may provide the evidence of such monitoring to law
enforcement officials.

GXS, Inc. 100 Edison Park Drive, Gaithersburg, MD 20878 ********************
***************************************************
220 Proxy first requires authentication
ftp> user username1
331 Enter authentication password for username1
password1
230 User authenticated to proxy
ftp> user username2
331-(----GATEWAY CONNECTED TO edi.mmmm.geis.com----)
331-(220 Enterprise FTP server (Version 7.0 2000 February) ready.)
331 User name okay, need password.
password2
230-User logged in, proceed.
Current Default Relationship - Recv: COMPANY APRF: *BINARY
Get option: single
230
ftp> put O_.xml %transferdir%b


Can I build a script to handle the second login?

Regards
Snooker
Hi Snooker,

No, sorry. ScriptFTP does not support proxies, unless they are completely transparent but this is not the case.