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 6625321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:45:40+00:00 2026-05-25T21:45:40+00:00

I am creating a webdav server to be able to easily add/(re)move files to

  • 0

I am creating a webdav server to be able to easily add/(re)move files to our backoffice software.
So I am also implementing the PUT command, and that works OK if I use Windows Explorer to create files.
However when I use the Mac OS X Finder (with the help of Transmit, but that makes no difference) to PUT a file to the server, I get no content.
I configured Fiddler as a reverse proxy, and that shows me the following request:

PUT http://localhost:15001/WebDav/test.txt HTTP/1.1
User-Agent: TransmitFSHelper/1.0.2 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:49416
Content-Length: 0

It does not send any content.
I have read something about ‘trailers’, chunked encoding etcetera, but don’t know wat to respond to the client to get him to send the contents of the file.

  • 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-25T21:45:41+00:00Added an answer on May 25, 2026 at 9:45 pm

    When a new file is created (fopen(‘bla’,’w’)) first an empty file will appear on the disk. This is why you’re seeing the initial request with a 0-byte file. After that a program may append to the file, but this will be a separate request.

    So treat the 0-byte file as a correct one, and send back 201 Created. You should see a secondary request after that.

    however it is true that sometimes clients (such as Finder) will use chunked encoding in the HTTP request. I implemented a webdav server in PHP, and it’s simply not working when using FastCGI and Finder, the server must run on apache with mod_php for it to work.

    So if the chunked request fails or succeed depends on your stack, I wouldn’t know with .NET. But at the very least you should be able to see 2 requests going to the server, rather than one. The chunked encoding issue is separate from that.

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

Sidebar

Related Questions

I'm creating some big files (DB exports) with Java and I need to put
I have this webdav code thats creating folders in SharePoint: HttpWebRequest request = (System.Net.HttpWebRequest)HttpWebRequest.Create(folderAddress);
Creating a server-side socket will fail if I'm trying to use the same port
Creating a table without tbody using javascript createElement/appendChild will not add tbody in Firebug
I'm creating outlook appointments using webdav. I'm using following post body to create the
Creating a simple TCP server based on examples but still do not get how
Creating function to print question, add choices to a list. def print_et_list (): answer_list
Creating a web interface so our helpdesk can create users and setup some of
Creating JQGRID object i put hiddengrid:true. Now, to expand grid i need to press
Creating a report in Team Foundation Server(TFS) and my parameter is set as an

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.