seaweed
Mar 8th, 2000, 05:23 AM
I am totally new to internet programming, so sorry if this question seems obvious.
I want to use my web site to store a text file, and I want to be able to use VB to retrieve the file and replace it. I'm sure this is possible (probably using the inet control) but I don't know where to start.
Here's what I want to do: Post the original file (MyText.txt) to my web site (http://www.MyProvider.com/MyName/MyPage.htm). This is a simple text document and is not meant to be displayed as a web page. Just a file to download. To upload using ftp and FrontPage (when creating my site), the ftp was ftp://MyProvider.com Download the file and read it (actually parse it programmatically...I don't want to see any of this as the user). Compare the contents of the file to one I have on disk (this part I know how to do)
Upload and replace the original text file with a new text file of the same name. This should all happen behind the scenes. The only thing the user will see is some text from the downloaded file displayed in a textbox.
Any help you could give would be greatly appreciated. Even a pointer on where to start to learn about using VB to program ftp transfers! I am a pretty quick learner, but have had a little trouble with this control.
Thanks in advance,
~seaweed
I want to use my web site to store a text file, and I want to be able to use VB to retrieve the file and replace it. I'm sure this is possible (probably using the inet control) but I don't know where to start.
Here's what I want to do: Post the original file (MyText.txt) to my web site (http://www.MyProvider.com/MyName/MyPage.htm). This is a simple text document and is not meant to be displayed as a web page. Just a file to download. To upload using ftp and FrontPage (when creating my site), the ftp was ftp://MyProvider.com Download the file and read it (actually parse it programmatically...I don't want to see any of this as the user). Compare the contents of the file to one I have on disk (this part I know how to do)
Upload and replace the original text file with a new text file of the same name. This should all happen behind the scenes. The only thing the user will see is some text from the downloaded file displayed in a textbox.
Any help you could give would be greatly appreciated. Even a pointer on where to start to learn about using VB to program ftp transfers! I am a pretty quick learner, but have had a little trouble with this control.
Thanks in advance,
~seaweed