|
-
Mar 8th, 2000, 06:23 AM
#1
Thread Starter
Frenzied Member
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
-
Mar 12th, 2000, 10:36 PM
#2
Thread Starter
Frenzied Member
Thanks
I have VB6 Pro, so I do have the Inet control. I was just having a little trouble working with it. It's the protocalls that I was getting messed up with. I think I was using FTP for an HTTP site. I'm starting to get it, though. Thanks for your help!
~seaweed
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
|