|
The process we have in place will retrieve a file and then use the
FTP_Rename procedure to append a '.done' to the name before it calls
a validation routine. If any errors are detected in the file then
the file is renamed a second time and the '.done' replaced with
'.error'. This process has worked since it was introduced, however,
while testing a new interface a colleague is having the problem where
the first rename is successful, however the second fails.
I have debugged the FTP_Rename procedure and at the point the
SendLine procedure is called for the RNFR command a -1 is returned.
The joblog, however, doesn't record any information other than
showing the RNFR command that was sent and the usual "350 Pending
further information" is not displayed. Stepping through the SendLine
and subsequent tsend procedures shows a return code of -1 being
returned by the send() procedure.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.