• Hi

    I have now been using the plugin on various websites and in general it works. However, I have a website now, which has got a lot of links to PDF files in the WP MEDIA.

    After running the import on 1.600 elements in WP MEDIA I have now realised, that the pdf files are not imported to S3.

    Isn’t this supposed to be working? I have also tried to manually upload a new file to the WP Media. If the file is e.g. a jpg, then it’s cloned to the S3 as expected, but if it’s a pdf file, then the upload fails with an error like this:

    Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST https://s3.eu-central-1.amazonaws.com/mg-xxxxxxxxxx/2017/02/Kontur-RSD-2016_web.pdf?uploadId=rzGKtOwHdAnM._mguS2x.w5Kj2puDgFNHE43leDyDjcjIWuof3L.JrGVacWrm1Fc2KCwr.P5sjKQfRfzNrjcGTzWc.BfmOaoA9W6QVn4k1euGcP8ScYrmS5g6KUj4ooU resulted in a 400 Bad Request response: <Error>MalformedXML<Message>The XML you provided was not well-formed or did not validate against our publis (truncated…) in xxxxxxxxxx/public_html/wp-content/plugins/ilab-media-tools/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111 Stack trace: #0 xxxxxxxxxx/public_html/wp-content/plugins/ilab-media-tools/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 xxxxxxxxxx/public_html/wp-content/plugins/ilab-media-tools/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp in xxxxxxxxxx/public_html/wp-content/plugins/ilab-media-tools/vendor/ilab/ilab-aws-sdk/src/Multipart/AbstractUploadManager.php on line 135

    * I have replaced absolute urls with xxxxxxxxxx in the above on purpose 🙂

    Suggestions?

The topic ‘Importing PDF files’ is closed to new replies.