Cyberduck Mountain Duck CLI

Changes between Version 6 and Version 7 of help/en/howto/mount/issues/fastcgi


Ignore:
Timestamp:
Jan 24, 2018 1:44:39 PM (17 months ago)
Author:
dkocher
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • help/en/howto/mount/issues/fastcgi

    v6 v7  
    11== Zero byte file truncate issue with Nextcloud and ownCloud deployed with FastCGI ==
    22=== Summary ===
    3 Using a client to upload files with [https://en.wikipedia.org/wiki/Chunked_transfer_encoding HTTP chunked transfer encoding] to a server with fastcgi/php-fpm enabled can lead to zero byte files. Chunked transfer encoding is used when the content length is unknown at the time the transfer is started and no `Content-Length` header can be set.
     3Using a client to upload files with [https://en.wikipedia.org/wiki/Chunked_transfer_encoding HTTP chunked transfer encoding] to a server '''with fastcgi/php-fpm enabled can lead to zero byte files'''. Chunked transfer encoding is used when the content length is unknown at the time the transfer is started and no `Content-Length` header can be set.
    44
    5 === Details ===
     5=== Background ===
    66There are basically two options to encode a `PUT` request. You either know the length of the data you want to transfer at the time of starting the request then you can set the HTTP `Content-Length` header appropriately or you don't know the length and thus have to choose a streaming approach using the chunked transfer encoding which does not need a `Content-Length` header at all. A client is free to choose either of the two request types as both are completely fine with the [https://tools.ietf.org/html/rfc2616 HTTP specification].
    77
swiss made software