Click here to Skip to main content
15,074,394 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I am currently working on a VB.NET Desktop Application. I have a requirement and that is, a user clicks on "Browse" and selects a .txt file from his system. On clicking "Save", the file is to be saved to a folder on the server.

Similarly, the user should be able to take the file from the server and view the contents of the file.
Updated 7-Jul-16 8:08am
anshudutta 22-Sep-10 3:33am
Not sure what your question is. Are you asking how to do this or are you facing a problem doing it?

This server is it in the network or is it a FTP server?
If it's in the network you can just copy the file like you would with any other file on your local hard disk (provided the user has the necessary rights on the server and the map is shared)

If it's a FTP server, look at My.Computer.Network.UploadFile
i believe this link would help, it helped me alot when i encountered the same problem.

Upload file to FTP server - VB.NET - Snipplr Social Snippet Repository[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900