Describe the issue/error/question
First time posting here I’m trying to scrape an HTML page for an image, to then upload that image via FTP. While I can indeed find the source URL of that image, I don’t quite know how to render that URL as an image and save it via FTP. I removed that FTP node as I had no idea if it would share my FTP credentials. I’m running n8n locally.
What is the error message (if any)?
Please share the workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: 0.162.0
- Database you’re using (default: SQLite):
- Running n8n with the execution process [own(default), main]:
- Running n8n via [Docker, npm, n8n.cloud, desktop app]:
Hey @joaoramos, welcome to the community
In order to upload a file you’d first need to download (so n8n has the actual binary data rather than just the URL). You can use an additional HTTP Request node for the job:
Afterwards, you can upload the binary file to your FTP server by referencing the binary property used for the download (
data in the above example). As a workflow this would look like so:
Hope this helps! Give me a shout if you have any questions on this.
That worked perfectly, @MutedJam Thanks! I’m blown away by the capabilities of n8n!