Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
in General by (120 points)

I have a console application that creates a file and sends it via ftp. My issue is sometimes there's a mainframe process that will not let me send the ftp of the file and I get the following error: "Data set [xyz] is allocated to another job and is unavailable for STOR command. (code=450)". Is there anyway I can resend the file with edtftpnet inside the same application run? Maybe, retry the ftp in one minute, for example.

Thanks in advance,

1 Answer

0 votes
by (156k points)
A loop that attempts the transfer and sleeps if an FTPException is thrown, then retries?