I’m working on building an automation to send invoice files to customers based on their due dates. The invoices are stored on an FTP server in the following directory structure: /www/boletos/{{clientCode}}/{{dueDate}}
My goal is to retrieve all files from the respective folder and send them via email. However, I’m encountering an issue with the FTP module I’m using. It doesn’t return any files—even though there are two files present in the folder. This happens across all folders I’ve tested.
I’ve double-checked the FTP user permissions, and it has full access to the directories, so I’m unsure what’s causing the problem.
Could someone help me resolve this? Alternatively, if there’s a simpler way to directly attach and send the files via email, I’d be happy to explore that as well.
Can you try deleting the .pdf from the Search field, and see if it returns a list of files in the directory by manually running just that module?
Also verify that the directory is correct. Try unmapping the Folder field, and use the + button to manually navigate to a folder on the server and then run the module.
When I try to navigate through the folders by clicking “Choose Folders,” nothing happens. When I set the FTP to the root directory and request a list of folders and files, nothing happens either—there’s no response. Even when I set “everything” in the search filter, it doesn’t return anything.
That makes sense, but interestingly, using the same username and password in FileZilla allows me to connect and view the folders/files without any issues.
I also tried removing the dot from the search box, but unfortunately, it still doesn’t return any results.
Although I haven’t figured out exactly what was causing the issue, I used another FTP server and was able to access the folders and retrieve the file list without any problems. Thanks for your help and support! =)
Perhaps it’s some setting in the FTP settings in Make that need adjusting, such as port, TLS etc. FTP clients like Filezilla often “negotiate” automatically, trying to communicate with the server using default settings but falling back to others on the fly in order to establish correct communication. Make FTP settings need to be more specific.
Once connected in Filezilla you can use the details shown at the bottom of the window to see what settings it’s using and perhaps try to replicate in Make