Logic Machine Forum
FTP reception Files Comunication - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: FTP reception Files Comunication (/showthread.php?tid=4697)



FTP reception Files Comunication - palomino - 04.04.2023

Hello Daniel.
I have the following questions, you can help me:
I have to receive data through the FTP protocol, that is, they send me a file by FTP to a our folder.
1. How I can create a folder en LM  for another server can send me the file in this folder?
2. How do I read the file in one forder of LM?
3. The confirmation of sending is through  email, how can I receive this confirmation  with the LM?

thank you for all your help.


RE: FTP reception Files Comunication - admin - 04.04.2023

LM has a built-in FTP server that you can enable in System config > Services.

Example of reading files uploaded to the FTP: https://forum.logicmachine.net/showthread.php?tid=3348
For email there's an IMAP library available: https://forum.logicmachine.net/showthread.php?tid=4135&pid=26739#pid26739