I'm using $seession.FileExists to check for the existance of a remote file then if it exists I'm using $session.GetFiles followed by $transferResult.Check(). Periodically, I the transfer errs with:
Is the session open? True
File /path/path/somefile.ZIP exists at source.
Error: Exception calling "Check" with "0" argument(s): "Error transferring file '/path/path/somefile.ZIP'."
I'll re-run the process again and the transfer is successful.
I turned on logging and was able to capture the details. In the logs (attached) it says the following:
550 Command PORT failed
I'm assuming this is the cause of the issue? If so is there anything I can do to mitigate this? Let me know! Thanks so much for your time!