365 pts.
 FTP to Client
Hi I need to retrieve data from a client and we are able to connect with the exception that each time we connect and enter a command it gives us the following error:- File Transfer Protocol Previous FTP subcommands and messages: Connecting to remote host ???????? using port 21. 220 Microsoft FTP Service > AS400 331 Password required for AS400. 230 User logged in. Windows_NT > dir 229 Entering Extended Passive Mode (|||16357|) 150 Opening ASCII mode data connection. Attempt to open connection failed.

Software/Hardware used:
ASKED: September 17, 2012  12:03 PM
UPDATED: September 17, 2012  1:48 PM

Answer Wiki:
You need to run the session in Binary.... ftp servername username password Bin <-- this is the bit missing. Get etc etc
Last Wiki Answer Submitted:  September 17, 2012  2:12 pm  by  Gabe9527   10,615 pts.
All Answer Wiki Contributors:  Gabe9527   10,615 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I’m not sure there’s any requirement for BINARY; it looks like ASCII is expected and fine. The problem looks more like passive mode is being attempted, but a firewall is blocking it. However, much more detail is needed.
 
A clean copy of the FTP session log is needed. It must include CR/LFs at the end of each line in order to be readable. You might need to paste it into Notepad first to make sure that each end-of-line gets inserted; then copy/paste from there.
 
Also, what exact client is being used? What Windows OS is it? And do you know the OS release on the remote server? (A full session log might show it.)
 
Also, what firewalls or security appliances are between the two systems? It might be okay if you only know what is on your end.
 
Tom

 107,995 pts.