Results 1 to 2 of 2

Thread: ftp to a server from VB

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    35
    I want to ftp a file to a server from my VB code. I have never done anything like this before. All I need is someone to point me in the right direction. Thanks.

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    This will connect to a server and upload the test.txt file to the default remote connection.
    Code:
    Inet1.AccessType = icUseDefault
    Inet1.URL = "xxx.xxx.xxx.xxx"
    Inet1.UserName = "me"
    Inet1.Password = "***"
    Inet1.RequestTimeout = 40
    Inet1.Execute , "PUT C:\test.txt test.txt"
    Hope that helps,
    D!m
    Dim

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