Re: Private Key with Passphrase (General questions)

by Swanand, (7317 days ago) @ Jasmine

I am sending my code snippet please see that and tell me if I have done anything wrong
Set SFTP1 = New wodSFTPCom
.
. ''Setting etc.
.
SFTP1.Connect
SFTP1.Blocking = True
SFTP1.PutFile d:B.txt , d:swanand
SFTP1.PutFile d:B.txt , d:swanandB.txt
SFTP1.PutFile d:B.txt , d:swanand
' None of the above work
' If on target machine there is a file named B.txt at location
' D:swanand then all of above work
SFTP1.Disconnect

Following is the error message I get

Run-time error '30018'
Server returned an error: No such file or directory

If you can revert early it will help me a lot

locked

Complete thread: