Hello,
We receive the message "Couldn't stat remote file: Bad message" after attempting a put command to a SFTP server using debug. The message, "Couldn't get handle: Bad message", then follows.
Please advise. This works fine using WinSCP.
Here is the debug output from the put command:
cozsftp> put //DD:APT71A /aud121714.pgp
[20.264] debug3: Received stat reply T:101 I:2
[20.264] debug1: Couldn't stat remote file: Bad message
ZosDataset: Opening dataset DD:APT71A for read
Uploading //DD:APT71A to /aud121714.pgp
[20.284] debug3: Sent message SSH2_FXP_OPEN I:3 P:/aud121714.pgp
[20.305] Couldn't get handle: Bad message
ZosDataset: Closing dataset //CAPSP.NATCITY.ENCRYPT.ASC - 0 records read, 0 bytes sent
[20.312] debug3: process_put() err=-1
Thanks.
Couldn't stat remote file: Bad message
Re: Couldn't stat remote file: Bad message
We tried it again without the forward slash in rfile and it worked fine.
Instead of using:
rfile=/aud121714.pgp
We used:
rfile=aud121714.pgp
Instead of using:
rfile=/aud121714.pgp
We used:
rfile=aud121714.pgp