Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Error 321 iFtpFindNext failed
on line: file=iFtpFindNext(@True)Does that mean that something went wrong with the extender, or that possibly it wasn't connected to the FTP site (even though it shouldn't have gotten that far in my code without being connected to the FTP site)? It happens about twice/week on an automated program that runs 12 times/day. Maybe the FTP connection got interrupted somehow? oh, and iFtpFindInit returns something other than a zero before it gets to the iFtpFindNext command.
This error can occur if there are no more files to process.
I assume you are executing the iFtpFindNext statement in a 'while' loop. Make sure the statement following the iFtpFindNext is [ if file=="" then break ]
file=iFtpFindNext(@True) if file=="" then breakThis causes the script to break from the loop when there are no more files left to process.
Article ID: W14803
File Created: 2017:07:28:13:58:45
Last Updated: 2001:11:08:12:40:02