Re: wodSFTP.NET and BizTalk 2004 - WeOnlyDo Discussion board

Re: wodSFTP.NET and BizTalk 2004 (General questions)

by wodSupport, Friday, December 24, 2004, 13:34 (7064 days ago) @ Kamal

Kamal,

to send file, you need this as input:
Hostname, Login, Password, LocalFile, RemoteFile

once you know that, you can add code like this to upload file:

Sftp1.Blocking = True
Sftp1.Hostname = hostname
Sftp1.Login = login
Sftp1.Password = password
Sftp1.Connect
...
Sftp1.PutFile LocalFile, RemoteFile
...
Sftp1.Disconnect

and that's it. It's almost the same for download - just use GetFile instead.

I hope above helps.


Complete thread: