Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone, I have followed this tutorial (https://community.talend.com/s/article/How-to-download-a-data-stream-from-an-HTTP-URL-as-a-binary-object-8ynqr) in order to download a file from a remote URL. Now I need to upload this file using multipart/form-data, I tried creating another tFileFetch and using the UPLOAD feature but it's not working, the FilePart constructor requires a File as the second parameter and I have an InputStream in my globalMap.
Thank you in advance.
Hello,
Are you able to upload files via going to "Advanced settings" tab and select the option "upload file" in the tFileFetch component?
Best regards
Sabrina
i do not know if the tfilefetch works for the requiremnet. to upload a file to web, i used trestclient component.
Hello,
What's error are you getting when creating another tFileFetch and using the UPLOAD feature?
Best regards
Sabrina