well wat i wanna do is make a program that can add text to a file on the web. how do u do that and make it so if there is a connection problem it is backed up so there is no overwriting error.
Printable View
well wat i wanna do is make a program that can add text to a file on the web. how do u do that and make it so if there is a connection problem it is backed up so there is no overwriting error.
So are you saying that you have a Windows app and you want to access a text file on a server or that you have a Web app and you want to access a file on the local machine?
i have a windows app and i want to access a file on the web.Quote:
Originally Posted by jmcilhinney
Where is this file located? You would have to download the file first, which you can do via HTTP, FTP or whatever. You can then edit the file, after which you need to upload it again. You will therefore need the required access to the server on which the file resides to be able to upload it. The easiest way to handle the file transfer is with the My.Computer.Network.DownloadFile and .UploadFile methods.
well is there a secure way to use the username and password with that to stop people from decompiling and stealing?Quote:
Originally Posted by jmcilhinney
You'd need to either request credentials from the user each time or else store them somewhere with at least the password encrypted.