Re: PutFile (myMemoryStream) (General questions)
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:
- PutFile (myMemoryStream) - hal, 2011-12-09, 23:35
- Re: PutFile (myMemoryStream) - woddrazen, 2011-12-09, 23:43
- Re: PutFile (myMemoryStream) - Hal, 2011-12-12, 15:02
- Re: PutFile (myMemoryStream) - woddrazen, 2011-12-12, 18:17
- Re: PutFile (myMemoryStream) - Hal, 2011-12-12, 18:22
- Re: PutFile (myMemoryStream) - woddrazen, 2011-12-12, 18:58
- Re: PutFile (myMemoryStream) - Hal, 2011-12-12, 20:03
- Re: PutFile (myMemoryStream) - woddrazen, 2011-12-12, 22:22
- Re: PutFile (myMemoryStream) - Hal, 2011-12-12, 23:11
- Re: PutFile (myMemoryStream) - woddrazen, 2011-12-12, 22:22
- Re: PutFile (myMemoryStream) - Hal, 2011-12-12, 20:03
- Re: PutFile (myMemoryStream) - woddrazen, 2011-12-12, 18:58
- Re: PutFile (myMemoryStream) - Hal, 2011-12-12, 18:22
- Re: PutFile (myMemoryStream) - woddrazen, 2011-12-12, 18:17
- Re: PutFile (myMemoryStream) - Hal, 2011-12-12, 15:02
- Re: PutFile (myMemoryStream) - woddrazen, 2011-12-09, 23:43