Free Support Forum - groupdocs.com

Can the upload via URL endpoint handle a signed S3 URL?

i’ve been unable to get a signed AWS S3 URL to work as an input at https://api.groupdocs.com/v2.0/spec/#!/storage/UploadWeb_POST. i presume it could have something to do with under- or over-escaping of the URL. In addition, i got an error saying “The specified path too long. The fully qualified path name must be less than 260 characters.”. Any ideas?

Hello,

Thank you for your inquiry.

Could you please share with us your URL example that you try to insert into the UploadWeb method. Basically this method should accept the web URL that contains file name and file extension, for example: http://domain/test_document.pdf .

We will wait for your details.

-------------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Here is an example of a signed S3 link for an imaginary file in an imaginary bucket. The query params are required in order for S3 to authorize the request:


https://myexamplebucketname.s3.amazonaws.com/myexampledir/f5944913-8638-4ca2-b26c-5ba145365d7a/201604111701/My-Uploaded-Source-File-Name-Version-0000123.pdf?Signature=veDE%2BIIy1h45%2BBMUKFPWsj983Gs%3D&Expires=1463501069&AWSAccessKeyId=AKIAISUWIOFQQUSMGANQ

If only this portion was sent, S3 would throw an AccessDenied error:

https://myexamplebucketname.s3.amazonaws.com/myexampledir/f5944913-8638-4ca2-b26c-5ba145365d7a/201604111701/My-Uploaded-Source-File-Name-Version-0000123.pdf
Hello,

As we said you earlier , to use WebUpload method of the GroupDocs.Cloud API the web url should be as this one:

https://myexamplebucketname.s3.amazonaws.com/myexampledir/f5944913-8638-4ca2-b26c-5ba145365d7a/201604111701/My-Uploaded-Source-File-Name-Version-0000123.pdf

But the document doesn't available by this url, so we can assume that you can't use the WebUpload method for uploading your the S3 files . But you can synchronize your S3 bucket in our GroupDocs dashboard . Please investigate this documentation for how to do this .

If you will have more questions please feel free to contact us.

----------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+