Download Attachments with WebDav

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Michael OC
    New Member
    • Oct 2010
    • 4

    #1

    Download Attachments with WebDav

    Hi,

    I have an app. that works somewhat. It is designed to go into the mailbox and download the attachments to a folder. Sometimes it works no problem, others it will give 404 error. While debugging I can see that it goes into the mailbox and can see the attachments but then will give 404 error Not Found. That makes no sense to me, how can something not be found when it is right there in the code.

    I have attached my code. It usually errors on this line.

    Code:
    HttpWebResponse WebResp = (HttpWebResponse)WebReq.GetResponse();
    What am I doing wrong?
    Attached Files
    Last edited by Michael OC; Oct 1 '10, 06:26 PM. Reason: Forgot to add question at the end.
Working...