550 The semaphore timeout period has expired
Posted: Tue Jul 18, 2023 7:34 am
I have a program that copies files from a FTP server to our local "AS/400" ( choose the name you prefer ).
Then it creates a mail with the files attached and sends it.
It has worked without problems for years.
A couple of years ago the FTP server was moved from our local site to a server in another country.
Yesterday I was called by a user who complained that some files that should have been attached to the mail
was missing. I made a test and indeed it only found 1 of 2 files. Repeating it a couple of times with the same
example both files where suddenly found and copied to the AS/400.
The files have been present on the FTP server since January -- so it couldn't be a user that have saved it there
between the tests.
Checking the joblog I found this weird message:
550 The semaphore timeout period has expired
I have attached a file with the message.
I tried to google it and found this
https://recoverit.wondershare.com/compu ... error.html
But none of the suggestions of the cause made sense to me.
The FTPAPI source is version 2.2 and OS/400 is V7R3.
So what can be done to avoid having this error ?
Or catch it for a number of retries?
EDIT: I have added the file referred. I don't know why it was missing.
Then it creates a mail with the files attached and sends it.
It has worked without problems for years.
A couple of years ago the FTP server was moved from our local site to a server in another country.
Yesterday I was called by a user who complained that some files that should have been attached to the mail
was missing. I made a test and indeed it only found 1 of 2 files. Repeating it a couple of times with the same
example both files where suddenly found and copied to the AS/400.
The files have been present on the FTP server since January -- so it couldn't be a user that have saved it there
between the tests.
Checking the joblog I found this weird message:
550 The semaphore timeout period has expired
I have attached a file with the message.
I tried to google it and found this
https://recoverit.wondershare.com/compu ... error.html
But none of the suggestions of the cause made sense to me.
The FTPAPI source is version 2.2 and OS/400 is V7R3.
So what can be done to avoid having this error ?
Or catch it for a number of retries?
EDIT: I have added the file referred. I don't know why it was missing.