Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7409491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:05:26+00:00 2026-05-29T06:05:26+00:00

I would like to add a WebDAV and iDisk interface to my app, however

  • 0

I would like to add a WebDAV and iDisk interface to my app, however I am having a bit of technical trouble regarding files stored on the server. Every answer to the question “How do I use a WebDAV server || to get a list of files” seems to end with the phrase “Use a PROPFIND request.” I’ve decided to use the WTClient Classes because they establish and terminate the stream to the server for me and manage uploads and downloads, but here’s where WTClient fails: It cannot gather a list of files on the server (or I seem to be unable to gather a list, whatever floats your boat). It puts in the PROPFIND request with this line:

WTHTTPConnection *connection = [[WTHTTPConnection alloc] initWithDestination:remoteURL
                                    protocol:@"PROPFIND"];

It then gathers the results as an NSDictionary. But instead of using that dictionary to get a list of files, WTClient uses it to gather error code information (if present) from the XML in the dictionary. While helpful, it is not what I’m looking for. If anyone has even the foggiest idea of how to request the files on a WebDAV server and gather them into an NSDictionary or NSArray, it would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T06:05:26+00:00Added an answer on May 29, 2026 at 6:05 am

    Judging from source of WTClient you need to use initWithLocalURL, preparePropertiesConnection and/or requestProperties to achieve what you want.

    OTOH it seems from some comments in the source that esp. the functionality around PROPFIND (which is indeed necessary to get a directory listing from WebDAV) is not fully implemented yet… so it might be that this would not work for your use case.

    UPDATE:

    This is a WebDAV-client library including source which has been successfully used on iOS (with very little modification). It include an implementation for PROPFIND and other WebDAV-specific http verbs… to me it seems that this would be nice starting point for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to add a condition to my app that is based on
I would like to make something like Add to favorites technology. In my app
I have own project and i would like add for this class same as
I have a ListView and each item have a TextView. I would like add
I would like to add a GestureDetector to all views (view groups) of an
I would like to add a custom calculation method to a managed object (which
I would like to add roots to a VirtualTreeView http://www.delphi-gems.com/index.php/controls/virtual-treeview with a thread like
I would like to add a hash into an array using Ruby version 1.8.7:
I would like to add up the number of line changes in an SVN
I would like to add a pop effect when I hover over a SVG

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.