Results 1 to 2 of 2

Thread: FTP API Question

  1. #1

    Thread Starter
    Fanatic Member skald2k's Avatar
    Join Date
    Feb 2002
    Location
    Sydney, Australia
    Posts
    535

    FTP API Question

    Im using the FTP API's in order to connect to and download a ZIP file off a ftp.

    The thing is, I would like to create some error messages to handle several circumstances.

    1. Connection to FTP unavailable.
    2. Password/Username incorrect.

    I know that i can query "hConnection" - that is the return value of InternetOpen - But that only returns a value indicating if the connection is a success or not.

    Is there a way that I can use to determine the specific error? In particular the above 2 points. Pls show any examples!

    many thanks!
    - If at first you dont succeed, then give up, cause you will never will!

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    See this link www.vbip.com . It might be of some help to you.

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