Developer forum

Forum » Dynamicweb 10 » How do we manage larger files upload (DW CLI, FTPS or ?)

How do we manage larger files upload (DW CLI, FTPS or ?)

Kevin Steffer
Kevin Steffer
Reply

Using the Dynamicweb CLI would be my first choice but it is using HTTP for uploads, and we often see this type of error on our DEV environments

RequestPath: /Admin/Api/Upload
ActionId: 9b079123-bb42-4610-8c08-a73f7f9fad54
ActionName: Dynamicweb.Management.Api.Controllers.Api.DataController.UploadFiles (Dynamicweb.Management.Api)

Increasing the MaxRequestBodySize conflicts with the max value for IIS limit maxAllowedContentLength.

So what is recommended when talking about the following scenarios:

- Integration files upload
- Media files, images and videos

Is Dynamicweb Cloud hosted solutions setup with a unlimited MaxRequestBodySize (e.g. maxAllowedContentLength)?


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Kevin,

Have you seen the DynamicWeb10 CLIUploader tool? https://doc.dynamicweb.dev/documentation/fundamentals/code/CLI-uploader.html?q=DynamicWeb10-CLIUploader

Imar

 
Kevin Steffer
Kevin Steffer
Reply

Hi Imar, yes - but it looks like it still relies on HTTP because it probably internally uses Dynamicweb CLI.

And a GUI app is not automation friendly.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

There is an active bug on this topic on #24265 to support larger files - and streaming of files.

 
Kevin Steffer
Kevin Steffer
Reply

Well that issue (#24265) description pretty much answers that the Dynamicweb CLI is the prefered tool - perfect!

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi all,

The bugfix has been implemented and is already released to Ring 1 (10.16). I expect it to also be released to Ring 2 (10.15) next week. You can track it using the lookup tool here: https://doc.dynamicweb.dev/documentation/fundamentals/dw10release/releasenotes/workItemInfo.html

I have also made an update to the CLI so it provides additional status updates while downloading. This, however, hasn't been released yet, but you can get it by cloning the GitHub repo. The bugfix works without the new CLI.

- Jeppe

 

You must be logged in to post in the forum