×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Nokia Developer Expert
    Join Date
    Nov 2004
    Posts
    22

    Question Fetch Directories and Files list from server

    I have been able to make successful Http connection and all that ...My current objective is to fetch the directory listing on the server and fetch the list of files in a folder from the server

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    well, you cannot do this unless server cooperates..:-)

    You can try something like GET http://yourserver.com/directory/ and then just wait what the server will return. It might give you some 400 error (forbidden, not found, or something similar) or (if it is enabled) the list of files. But to be honest I don't think that you will find servers that will give you access to their directory listing as it can be potentially security hole...

  3. #3
    Nokia Developer Expert
    Join Date
    Nov 2004
    Posts
    22

    Directory and file listing

    For getting a list of files I have made a common named file and filled it with pipe separated file names and I am trying to parse the file, get the values in a CDesArray and display it in a list...
    ...I am still stuck in it .....and I am hoping it will work and work fast

    Thanks a lot for the reply.
    regards

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    Good. You are on the right way. Check TLex class that can help you with that parsing stuff.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×