2009 Jun 05 2:12 PM
Hi,
Im using FTP for sending the data from sap to ftp server..
During the execution of FTP_COMMAND, it is getting error with
the following reason:
421 Timeout (120 seconds): closing control connection.
TCP/IP error, connection terminated
It the data in this file is around 38 lacks...
So, is there is any solution to avoid connection to be terminated.
thanks
rohith
2009 Jun 05 10:41 PM
You might have already done this. I just did not see it in your post. Ensure that there are no Network, Firewall problems first.
An FTP in a dynpro seems like it would be coming from the SAP system. Try first to have Basis to 'Ping' the site. Then ask them to FTP manually, outside of SAP from the SAP server OS. If that does not work, perhaps a different site would allow the FTP from the SAP server environment.
If that all works, there may be a demo program supplied by sap. Look in se38 with the word DEMO, in the program input field for hints.
You can try transaction SM69. This transaction allows server-level command scripts as: "external OS command". See if it works from there.
I hope that this helps....
Daniel Perecky
2009 Jun 05 11:00 PM
hi,
Instead of sending all the records (38 lacks records) split them into parts and download to FTP. Try to append the data to same file in each run till the records get's completed.
Download to FTP in parts.
2009 Jun 06 7:36 AM
HI,
hOW CAN WE SPLIT THE TABLE AND MOVE THE SPLITTED DATA TO FTP FILE..
IF SUPPOSE 10 LACKS DATA IS SENT TO ONE FTP FILE NOW FOR THE SAME FTP FILE WILL THE ANOTHER 10 LACKS DATA GO AS AN APPEND ?
I THNK IT WILL OVERWRITE THE EXISTING RECORDS...
CAN YOU TELL ME THE WAY TO DO THAT..
THANKS
ROHITH