The example workflow below can convert a user-uploaded TXT file into an HTML file with the same name and return the download link for the file.
However, the link does not include the domain name,
(e.g: sandbox:/home/node/temp/hello.html)
so the file cannot be viewed or downloaded.
Any suggestions and help would be greatly appreciated in advance.
Below is a demonstration video.
Workflow config code:
txt2html - Pastebin.com
n8n
2
It looks like your topic is missing some important information. Could you provide the following if applicable.
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
barn4k
3
hello @ichat006
you can’t create a download link with local files. They are accessible only for the n8n, not for you. You will need an external storage for that.
system
Closed
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.