Results 1 to 4 of 4

Thread: I need to upload a file onto a server

  1. #1

    Thread Starter
    Junior Member SaintDogbert's Avatar
    Join Date
    Dec 2001
    Location
    My PC
    Posts
    23

    I need to upload a file onto a server

    I am making a program that you write something in 1 box.. and it saves it onto a server (http://cybtech.bravenet.com) using the file name given in another box. They're all text files. I need to save the text files directly onto the server so it can be read by everyone.. How do i do this? Thanks.
    I am the SaintDogbert!!
    They're after me lucky charms!!

  2. #2
    Frenzied Member Skitchen8's Avatar
    Join Date
    Feb 2001
    Location
    Binghamotn, NY
    Posts
    1,943
    does this server have ftp access?
    Government is another way to say better…than…you.
    It’s like ice but no pick, a murder charge that won’t stick,
    it’s like a whole other world where you can smell the food,
    but you can’t touch the silverware.
    Huh, what luck. Fascism you can vote for.
    Humph, isn’t that sweet?
    And we’re all gonna die some day, because that’s the American way
    -Stone Sour

  3. #3

    Thread Starter
    Junior Member SaintDogbert's Avatar
    Join Date
    Dec 2001
    Location
    My PC
    Posts
    23
    yes.
    I am the SaintDogbert!!
    They're after me lucky charms!!

  4. #4
    Frenzied Member Skitchen8's Avatar
    Join Date
    Feb 2001
    Location
    Binghamotn, NY
    Posts
    1,943
    add the microsoft internet transfer control to ur project
    VB Code:
    1. Inet1.URL = "ftp://ftp.myftpsite.com" 'url
    2. Inet1.UserName = "Anonymous" 'username
    3. Inet1.Password = "password"  'password
    4. DoEvents
    5. Inet1.Execute , "PUT C:\whatever\whatever.txt /dir/dir/whatever.txt"
    6. 'this is what actually puts the text in... the first filename
    7. 'is the local path, the second filename is the remote path
    8. Loop
    Government is another way to say better…than…you.
    It’s like ice but no pick, a murder charge that won’t stick,
    it’s like a whole other world where you can smell the food,
    but you can’t touch the silverware.
    Huh, what luck. Fascism you can vote for.
    Humph, isn’t that sweet?
    And we’re all gonna die some day, because that’s the American way
    -Stone Sour

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