It Is possiblee with VB.NET ro read and write a text file.

Advertisement

GERARDO
Donor
Joined:
Posts:
1
Location:
SPAIN

It Is possiblee with VB.NET ro read and write a text file.

Hello.
About a SFTP and I'm trying to read and write to text file with VB.NET.
Can somebody help me.
Thank you

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,469
Location:
Prague, Czechia

Re: It Is possiblee with VB.NET ro read and write a text file.

To download and upload files, you can use Session.GetFileToDirectory and Session.PutFileToDirectory.
https://winscp.net/eng/docs/library_session_getfiletodirectory
https://winscp.net/eng/docs/library_session_putfiletodirectory

If you do not want to download to a physical local file, and instead read/write to/from memory, use Session.GetFile and Session.PutFile.
https://winscp.net/eng/docs/library_session_getfile
https://winscp.net/eng/docs/library_session_putfile

Reply with quote

Advertisement

You can post new topics in this forum