CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Ftp connection

  1. #1
    Join Date
    Dec 2000
    Location
    Chennai,India
    Posts
    8

    Ftp connection

    Hi everyone,

    I'm developping a utility for connection ftp site for upload and download files using
    Visuval Basic 6.0. I tried to connect ftp site using the following codes with reference included as Internet Transfer Control 6.0 .OCX file. The code is

    Public sub FTPConnect_click()

    Inet1.username="username"
    Inet1.password="password"
    Inet1.execute ("ftp.domainname.com")
    Inet1.execute , "DIR"
    end sub

    when I run this, I get unable to connect remote site
    and run-time error 35754.

    Help me how can I get out off this problem.

    thank you

    kumar



  2. #2
    Join Date
    Feb 2001
    Location
    Stamford CT USA
    Posts
    2,167

    Re: Ftp connection

    I think you code should look like this:

    .
    .
    call Inet1.Execute("ftp.domain.com", "DIR")




    -Cool Bizs

    Good Luck,
    -Cool Bizs

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

Featured