Ftp to browse sub directories

Bonjour
i use the node red ftp node to List the directory on a server.
it is ok for the root, i have got all informations.
i have two directories and i want to browse now the sub directories and i didn't found the syntax.
Can you help me
Merci
Olivier

Seeing that there a number of ftp nodes it would be helpful to know which one you are using

i use this one https://flows.nodered.org/node/node-red-contrib-ftp
but i can use another node if it is more simple.
Merci

I haven't used it, but you might look at node-red-contrib-ftp-download

What have you tried? Perhaps post the relevant part of your flow & someone will take a look?

Looking at that node you linked to, it supports LIST and permits you to send msg.filename. it may be possible to set the path you want to LIST in msg.filename? Give it a try.

I realize the bumf states...
The LIST option returns an array of the file/folders in the user's default ftp folder, containing type

If it ONLY lists the root directory then it's a bit of a shortcoming. Perhaps raise an issue on its git repo?

Hi all, i need help too :
i test : https://flows.nodered.org/node/node-red-contrib-ftp and the list show me 5 folders , that's true.

But there is also sub-folder like this : FTPserver\192.168.1.7_0012411adb55\2020-05-01\01\pic

i test : https://flows.nodered.org/node/node-red-contrib-ftp-download too but with same issue.

My cameras record the movements (pictures) on an FTP server and I would like to view them in the dashboard.

I know how to do it locally with https://flows.nodered.org/node/node-red-contrib-fs-ops, but in FTP I get stuck :cry:

has someone successfully accessed a FTP subfolder?

See the previous answer:

In fact, two issues for it have been raised:



The second of those issues could have been a PR instead as it gives a solution for the author of the node to get it working. You could use that issue though to fix it locally instead.

1 Like

nice i'll test this and come back here !

Yes it's works !
See here for newbie (like me) :wink: