Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
752 views
in .NET FTP by

Creating a client as follows

FtpClient = new SecureFTPConnection { Protocol = FileTransferProtocol.SFTP };

And configuring with appropriate transfer properties, when we call

FtpClient.UploadFile(source, destination);

We're getting "VerifyRequestOK: SETSTAT unsupported" in our logs. Apparently it has something to do with preserving file timestamps. The files are transferred, but we'd like to know why we're getting that and if there's any way to avoid it.

by (162k points)
Please supply a few lines of debug logging to show the context of the problem
by
2019-10-29 15:50:25,531 [Thread = 74] [ProcessID = 145240] [ConnectionID = 9] [FileName = (null)] DEBUG EnterpriseDTLog - FTPTransfer: ChMod(755,/pr-adip-emuse-8753-us-east-1/MeasurementExport/MeasurementStage/u_ex19102918.log_1_1.csv.zip)
2019-10-29 15:50:25,531 [Thread = 74] [ProcessID = 145240] [ConnectionID = 9] [FileName = (null)] DEBUG EnterpriseDTLog - FTPTransfer: ResolveRemotePath('/pr-adip-emuse-8753-us-east-1/MeasurementExport/MeasurementStage/u_ex19102918.log_1_1.csv.zip'); [cwd='/pr-adip-emuse-8753-us-east-1/MeasurementExport/MeasurementStage']
2019-10-29 15:50:25,531 [Thread = 74] [ProcessID = 145240] [ConnectionID = 9] [FileName = (null)] DEBUG EnterpriseDTLog - FTPTransfer: Resolved to '/pr-adip-emuse-8753-us-east-1/MeasurementExport/MeasurementStage/u_ex19102918.log_1_1.csv.zip'
2019-10-29 15:50:25,531 [Thread = 74] [ProcessID = 145240] [ConnectionID = 9] [FileName = (null)] DEBUG EnterpriseDTLog - FTPTransfer: Chmod(actual=/pr-adip-emuse-8753-us-east-1/MeasurementExport/MeasurementStage/u_ex19102918.log_1_1.csv.zip)
2019-10-29 15:50:25,531 [Thread = 74] [ProcessID = 145240] [ConnectionID = 9] [FileName = (null)] DEBUG EnterpriseDTLog - FTPTransfer: ChangePermissions(/pr-adip-emuse-8753-us-east-1/MeasurementExport/MeasurementStage/u_ex19102918.log_1_1.csv.zip,493)
2019-10-29 15:50:25,609 [Thread = 77] [ProcessID = (null)] [ConnectionID = (null)] [FileName = (null)] DEBUG EnterpriseDTLog - FTPTransfer: ErrorCode|Status=8
2019-10-29 15:50:25,609 [Thread = 77] [ProcessID = (null)] [ConnectionID = (null)] [FileName = (null)] DEBUG EnterpriseDTLog - FTPTransfer: AddMessage(12) - added to store
2019-10-29 15:50:25,609 [Thread = 74] [ProcessID = 145240] [ConnectionID = 9] [FileName = (null)] ERROR EnterpriseDTLog - FTPTransfer: VerifyRequestOK: SETSTAT unsupported
2019-10-29 15:50:25,671 [Thread = 74] [ProcessID = 145240] [ConnectionID = 9] [FileName = (null)] WARN  EnterpriseDTLog - FTPTransfer: Could not chmod remote file (SETSTAT unsupported (code=8)) - skipping
by (162k points)
There's a property called SSHDisableChmodAfterPut. Try setting it to true.
by
Thanks. We'll have a go and see if that helps.

Please log in or register to answer this question.

Categories

...