Only the first FTP post login command is ran!
I am running WinSCP Version 5.1.3 (Build 2881) on Windows 7. When I connect to an FTP site (via command line), I first need to supply a username and password for my organization's firewall. Once I supply the username and password, I am connected to the FTP site, but need to login to the FTP site. So, as you can see in the command-line example below, I type the command
The problem is that WinSCP only sends the first command (
Command line example:
USER
, supply the username and password, and I have logged in successfully. To do this using WinSCP, I would supply ftp.entsupport.symantec.com
(the FTP site I'm trying to connect to) as the host name, but for username and password I would supply my organization's firewall user and password. Of course, I need to specify the username and password for the FTP site itself. When doing this via command line, I had to type the command USER
. In WinSCP I would go to Environment > FTP and specify the following two post login commands:
USER iosupport PASS *****
USER iosupport
) and not the second command (PASS *****
). So, because of this, WinSCP cannot be used because the password is never sent. By the way, it looks as if WinSCP sends these post login commands as literals, so just typing USER iosupport <password>
won't work. However, literals also work on command line, but again the problem here is that WinSCP doesn't even attempt to pass the second command.
Command line example:
C:\Users\cld09>ftp ftp.entsupport.symantec.com Connected to exftpp.symantec.com. 220-My Organization's Firewall Authentication 220 User (exftpp.symantec.com:(none)): cld09 331-Password: 331 Password: 220- 220- 220 Symantec Secure FTP Server ready. ftp> USER iosupport 331 Password required for iosupport. Password: 230 Virtual user iosupport logged in. ftp>