|
-
Aug 16th, 2006, 07:21 PM
#1
Thread Starter
Frenzied Member
[2005] add text to file(web).
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.
-
Aug 16th, 2006, 07:28 PM
#2
Re: [2005] add text to file(web).
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?
-
Aug 16th, 2006, 07:42 PM
#3
Thread Starter
Frenzied Member
Re: [2005] add text to file(web).
 Originally Posted by jmcilhinney
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.
-
Aug 16th, 2006, 08:13 PM
#4
Re: [2005] add text to file(web).
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.
-
Aug 17th, 2006, 10:26 AM
#5
Thread Starter
Frenzied Member
Re: [2005] add text to file(web).
 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?
-
Aug 17th, 2006, 05:15 PM
#6
Re: [2005] add text to file(web).
You'd need to either request credentials from the user each time or else store them somewhere with at least the password encrypted.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|