Re: Private Key with Passphrase - WeOnlyDo Discussion board

Re: Private Key with Passphrase (General questions)

by Swanand, Wednesday, April 20, 2005, 08:49 (6969 days ago) @ wodSupport

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


Complete thread: