Results 1 to 4 of 4

Thread: Accessing a file on a server

  1. #1

    Thread Starter
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Something like:
    Code:
    'To connect
    Inet1.AccessType = icUseDefault
    Inet1.URL = "xxx.xxx.xxx.xxx"
    Inet1.UserName = "me"
    Inet1.Password = "****"
    Code:
    'To Downlaod file
    Inet1.Execute , "Get text.txt C:\text.txt"
    'downloads text.text to C:\
    I assume you know how to open a file into a text box from there.
    Code:
    'Upload it back
    Inet1.Execute , "PUT C:\test.txt test.txt"
    Hope that helps, and it MAY produce some errors, so just try diff things (like placing a "/"b4 the remote file name.

    Gl,
    D!m

    [Edited by Dim on 07-27-2000 at 01:17 AM]
    Dim

  2. #2
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268
    That's not working for me, do you have any sample program or something that you could email to me?
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  3. #3
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268
    Maybe the winsock control would work, do you know how to use that?
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  4. #4
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268
    Oh, sorry, I forgot that it was case sensitive!

    It worked and thank you very much for your help.
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

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