From bca38723e4c8e4a305c273352916845a91eb572f Mon Sep 17 00:00:00 2001 From: Kevin Jump Date: Mon, 16 Jun 2025 10:46:34 +0100 Subject: [PATCH 1/2] update the upload config --- usync/02.complete/05.reference/08.upload.md | 78 ++++++++------------- 1 file changed, 28 insertions(+), 50 deletions(-) diff --git a/usync/02.complete/05.reference/08.upload.md b/usync/02.complete/05.reference/08.upload.md index 0ccd07e..5bcf82a 100644 --- a/usync/02.complete/05.reference/08.upload.md +++ b/usync/02.complete/05.reference/08.upload.md @@ -6,59 +6,37 @@ There are several features within uSync.Complete where you can upload data, eith To bypass this error, you can change the allowed upload size for your application via the web.config. -However, if you don't want to make a global change of this value for all requests on your site, you can change it for specifically for uSync.Publisher and uSync.Exporter requests by using the configuration(s) below: - -## uSync.Publisher - -All server to server uSync.Publisher requests will go via a `umbraco/uSyncReceive` end point, so the following config will change the allowed upload size for all uSync.Publisher requests. - -```xml title="web.config" - - - - - - - - - - - - - - - +to do this you need to add the following you the `` section of your web.config file. + +```xml title="Upload request size configuration" + + + + + ``` -The config above will set the upload limit for the `Umbraco/uSyncReceive' root to 500mb, allowing for a large number of media files to be synced as part of a single publish. +Depending on other bits of configuration your web.config might looks like this. -It will also put a placeholder in, should you wish to restrict the publisher root by IP address for security reasons. - -## uSync.Exporter - -All uSync.exporter requests go via `umbraco/backoffice/usync/uSyncNuexporterApi`, so the following config will set the upload limit for requests to that path. +:::warning +this is a sample web.config don't overwrite your own web.config add only the required section. +::: ```xml title="web.config" - - - - - - - - - - - - - + + + + + + + + + + + + + + + + ``` - -This will up the upload limit for the `umbraco/backoffice/uSync/uSyncNuExporterApi' root to 500mb, allowing you to import larger 'syncpack' files directly within the uSync.Exporter dashboard. From 522ad7d45618db2977fd0d2c73d044031b5fe0e2 Mon Sep 17 00:00:00 2001 From: daisy-jump <88658844+daisy-jump@users.noreply.github.com> Date: Mon, 16 Jun 2025 15:06:16 +0100 Subject: [PATCH 2/2] =?UTF-8?q?spell=20errors=20=F0=9F=94=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usync/02.complete/05.reference/08.upload.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usync/02.complete/05.reference/08.upload.md b/usync/02.complete/05.reference/08.upload.md index 5bcf82a..593c644 100644 --- a/usync/02.complete/05.reference/08.upload.md +++ b/usync/02.complete/05.reference/08.upload.md @@ -2,11 +2,11 @@ title: File Upload Size --- -There are several features within uSync.Complete where you can upload data, either directly or between servers. When you do this, you might be uploading large amounts of data or media files and you can encounter a [`404.13` error](https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/health-diagnostic-performance/http-404-13-website) which is 'request to large'. +There are several features within uSync.Complete where you can upload data, either directly or between servers. When you do this, you might be uploading large amounts of data or media files and you can encounter a [`404.13` error](https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/health-diagnostic-performance/http-404-13-website) which is 'request too large'. To bypass this error, you can change the allowed upload size for your application via the web.config. -to do this you need to add the following you the `` section of your web.config file. +To do this you need to add the following to the `` section of your web.config file. ```xml title="Upload request size configuration" @@ -16,10 +16,10 @@ to do this you need to add the following you the `` section of ``` -Depending on other bits of configuration your web.config might looks like this. +Depending on other bits of configuration, your web.config might looks like this: :::warning -this is a sample web.config don't overwrite your own web.config add only the required section. +This is a sample web.config. Do not overwrite your own web.config, add only the required section. ::: ```xml title="web.config"