Hi i have a problem, can posible create a simple workflow for delete all of in my folder \tmp ? i can handle this on n8n v1 but in n8n v2 this feature its deactive
if anyone have solution please comment. thanks guys ![]()
Hi i have a problem, can posible create a simple workflow for delete all of in my folder \tmp ? i can handle this on n8n v1 but in n8n v2 this feature its deactive
if anyone have solution please comment. thanks guys ![]()
Hi @Agellls!
As execute command is disabled by default the best workaround i can tell is to use FTP and it is pretty reliable and using FTP you will be easily able to clear your /temp and also FTP is a lot safer.
in docs its just show
n8n ftp to another server
not like mypc ftp to n8n
how ? thanks
In n8n v2.x, the Execute Command node is disabled by default for security,
If you enable it again, you should be able to handle this easily using the rm -f folder_path/* command,
If you do not want to enable this node, another option is to use the SSH node to execute the same command rm, but you will need to configure and link your SSH credentials first..
@Agellls You can always FTP in your machine and it will have better control and safe structure than raw command access, if you are looking forward to perform the raw command execution then you should consider enabling that Disabled node, all though FTP could have got the JOB done but if you are looking to enable disabled node just consider this:
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.