Quantcast
Channel: Rebex Q&A Forum - Recent questions and answers
Viewing all articles
Browse latest Browse all 3902

Answered: Unsure why receiving error: SftpException: Failure; Failure

$
0
0

This exception occured because the SFTP server refused to renamed the file and reported an error. Unfortunately, the error status reported by the server is rather meaningless - one "Failure" in the message represents SFTP protocol's SSH_FX_FAILURE status, which indicates"a generic catch-all error" to be returned "when there is no more specific error code defined". The other "Failure" represents the error message reported with the server along with the status code. Unfortunately, this isn't very useful either.

However, perhaps the cause for the error is simple. Based on your log, it looks like you are passing the same path as both target and source. Paths copy&pasted from your log's SSH_FXP_RENAME entry:

/OSG/1-ToBeProcessed/testTWNC_Broadcast_Overnight_071219.zip
/OSG/1-ToBeProcessed/testTWNC_Broadcast_Overnight_071219.zip

Please make sure to always specify a different target path when renaming a file and let us know if the issue persists.


Viewing all articles
Browse latest Browse all 3902

Trending Articles