(11-12-2022, 06:00 PM)OldBob1938 Wrote: Hi Remy, Thanks for being so patient with me once again. I have tried adding the suggested setting without Joy. I've listed my current code below.
I need to see the raw FTP command/response traffic that is being transmitted back and forth, and the complete error that you are seeing.
(11-12-2022, 06:00 PM)OldBob1938 Wrote: When I run the program from the office the program fails after the line BobMessage("step2" with the message "entering extended passive mode ..." It never reached step 3 from the office.
You have not shown the code for GetRemoteFilenames(), but in any case, I see no possible way for that particular message to be raised as an exception, unless maybe if the FTP traffic is corrupted or out of sync. That is why I need to see the raw FTP command/response traffic. Please provide that log, as I described earlier (just mask out sensitive details, of course).
TIdFTP should not even be raising an exception on a failed EPSV command (and that message you quote does not represent a failure to begin with), it just retries with PASV instead.