LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FTP Error (https://www.linuxquestions.org/questions/linux-networking-3/ftp-error-480610/)

gururaj 09-05-2006 09:55 AM

FTP Error
 
HI,
When i try to FTP a file to a mainframe system i get the following error
421 Service not available, remote server has closed connection
Actually i am able to login and start sending the file using the FTP account.
The file transfer is getting terminated after the "put" command.

The full log is
-------------------------------------------------------
220-FTPD1 IBM FTP CS V1R4 AT WACCTSO.AM.FSCLE.NET, 12:03:02 ON 2006-09-02.
220 CONNECTION WILL CLOSE IF IDLE FOR MORE THAN 5 MINUTES.
331 SEND PASSWORD PLEASE.
230 RFTP97 IS LOGGED ON. WORKING DIRECTORY IS "RFTP97.".
200 REPRESENTATION TYPE IS ASCII NONPRINT
200 SITE COMMAND WAS ACCEPTED
250 "" IS THE WORKING DIRECTORY NAME PREFIX.
200 PORT REQUEST OK.
125 STORING DATA SET UN.CA.SPS.GMPSFWID.CSV
421 Service not available, remote server has closed connection
[Transfer file FAILED!]
--------------------------------------------------------

Please help me out.

Thanks in advance

druuna 09-05-2006 10:39 AM

Hi,

The info given doesn't show/tell if the connection was active or passive.

Try switching to the one you are not using.

There are many ftp clients out there, so telling you how is kinda hard. Using standard, commandline linux ftp you can use the passive command (man ftp for details).

Hope this helps.


All times are GMT -5. The time now is 01:09 PM.