Re: PutFile (myMemoryStream) - WeOnlyDo Discussion board

Re: PutFile (myMemoryStream) (General questions)

by woddrazen, Friday, December 09, 2011, 23:43 (4733 days ago) @ hal

Hi Hal,


Here is example how you can use memory stream inside wodSFTP.NET PutFile Method:
[code] Dim dataout As String
dataout = this is some text

Dim ms As System.IO.MemoryStream
ms = New System.IO.MemoryStream(System.Text.Encoding.ASCII.GetBytes(dataout))

sftp1.PutFile(ms, /home/test/testfile.txt )[/code]
Can you maybe try something like that and let us know how it goes?

Hope I helped.


Regards,
Drazen


Complete thread: