Results 1 to 2 of 2

Thread: storing text file on internet site

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357

    Post

    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:
    1. 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
    2. Download the file and read it (actually parse it programmatically...I don't want to see any of this as the user).
    3. Compare the contents of the file to one I have on disk (this part I know how to do)
    4. Upload and replace the original text file with a new text file of the same name.
    5. 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

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357

    Post 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
  •  



Click Here to Expand Forum to Full Width