cancel
Showing results for 
Search instead for 
Did you mean: 

FTP Connect problem

Former Member
0 Kudos

Hi Experts,

I'm facing a strange problem regarding connecting to FTP. Correct function modules in connecting to FTP is used in the program and the program is executed in background job. The program is designed to try to connect to FTP for 7 times only then if no connection is established, through sy-subrc it raises an error message.

However the processing stuck in the FM FTP_CONNECT so the following program codes were not executed. Do you have any idea what went wrong in the FTP as to why it didn't get out of the function module FTP_CONNECT?

Thanks for your inputs!

Best Regards,

Kurtt

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

it was due of the connection issue.

markus_doehr2
Active Contributor
0 Kudos

I suggest you start the ftp on the system where the batch job is ran manually and see if it's able to connect.

Markus

Former Member
0 Kudos

Hi Markus,

The program is used for other jobs as well but it was able to connect. Thanks for your response.

Best Regards,

Kurtt

markus_doehr2
Active Contributor
0 Kudos

Well - since the program calls an external program and does not come back it's impossible to get an idea... maybe there was a temporary network problem or the target server denied connection, name resolution problem - impossible to guess from remote.

Markus