I have a package upload files to sftp server. The package calls 38 subpackages. The package was scheduled running in sql server, worked fine for couple months but failed for last two days. I try the following:
1. I login to the server, open the package ran it and found out which subpackage failed.
2. Open this first failed subpackage, check all the coding, setting is fine, ran it and failed. Then I close the Visual studio, ran it and failed. Then I restart my computer, it works fine.
3. I went back to run the package again, after it completed 18 subpackages it failed again.
4. Open the this second failed subpackage, check all the coding, setting is fine, ran it and failed. Then I restart my computer, it still doesn’t work.
All the failed error message in step 2 and 4 are: "WinSCP.SessionRemoteException: Copying fles to remote side failed. Error code 4". But I don't think this message has anything to do with fail. I may be wrong.
I don’t know how to fix it or where to check. any suggestion is appreciated.
Thank you.