Results 1 to 3 of 3

Thread: Reading all files using FTP

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Santo Domingo,D.N., Dom. Rep.
    Posts
    707

    Reading all files using FTP

    With this sentences
    bRet = FtpGetFile(hConnection, szFileRemote, szFileLocal & "/" & szFileRemote, False, _
    INTERNET_FLAG_RELOAD, dwType, 0)

    I can read (get) a file from a FTP, but i need to GET ALL FILES (FROM THE FTP) and to PUT all FILES (From my folder).

    Any help?

  2. #2
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Reading all files using FTP

    Maybe this code example will help you

    Cheers,

    RyanJ
    My Blog.

    Ryan Jones.

  3. #3
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Reading all files using FTP

    You'd need to first loop through all the files in whichever folder getting their names, then you'd need to loop through each getting them.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

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