SFTP ERROR: put: Permission denied

Describe the issue/error/question : Error on SFTP upload file

What is the error message (if any)?

ERROR: put: Permission denied

Please share the workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.204.0
  • Database you’re using (default: SQLite): default
  • Running n8n with the execution process [own(default), main]: own (queue)
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: docker-compose

There is my .env

And there my docker-compose.yml

@MutedJam could u help me ?

Hi @antoni0duarte, are you perhaps using the wrong path? The Path field on the FTP node would require the full path (including the filename). So, if you want to upload a file into the /REMESSA directory, you’d need to use a value like /REMESSA/myfilename.csv in the FTP node. Like so:

Also, keep in mind that n8n would not create the directory if it doesn’t exist yet. So, make sure it’s already created on your server and that your FTP user has write permissions in it.

Hope this helps!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.