Cannot upload file to FTPS server

Advertisement

Guest

Cannot upload file to FTPS server

After connect FTPS server with sessionOpts.FtpSecure = FtpSecure.Implicit successfully, I will put file to FTPS server
TransferOperationResult transResult = session.PutFiles(uploadFile, uploadTo, false, transOptions);
uploadFile = D:\Test\1\TestHTTP.x12;
uploadTo = "/"
but put file is unsuccessful & show exception error at below:
[WinSCP Exception] Put Files [D:\Test\1\TestHTTP.x12] Unsuccess Error Happens: Error transferring file 'D:\Test\1\TestHTTP.x12'.
Copying files to remote side failed.
Can't open data connection.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum