Open LogMX log with ftp location
Moderator: admin
Open LogMX log with ftp location
How can I open LogMX with log file located on ftp server using command line
Hello,
FTP protocol is not supported at this time: only SCP and SFTP are supported (they are more secure).
* If you can't use a SCP or SFTP server, you may want to check if your FTP server also handles SCP/SFTP (some servers handle several file transfer protocols). If it doesn't, you can write your own Log File Manager (a LogMX plugin to access files: see http://www.logmx.com/p_manager_dev.php ; you can use the JSch free library to process FTP commands)
* If you can use a SCP or SFTP server, you can open a file on this server this way:
For Windows:
For Linux/Unix/MacOS:
Replace "LogMX" with "logmx.sh" (don't forget "chmod +x logmx.sh" before)
To use SCP, replace "sftp" with "scp".
Feel free to let us know if you still can't open such remote files.
FTP protocol is not supported at this time: only SCP and SFTP are supported (they are more secure).
* If you can't use a SCP or SFTP server, you may want to check if your FTP server also handles SCP/SFTP (some servers handle several file transfer protocols). If it doesn't, you can write your own Log File Manager (a LogMX plugin to access files: see http://www.logmx.com/p_manager_dev.php ; you can use the JSch free library to process FTP commands)
* If you can use a SCP or SFTP server, you can open a file on this server this way:
For Windows:
Code: Select all
LogMX "sftp://my_login@my_host:my_folder/my_file"
Replace "LogMX" with "logmx.sh" (don't forget "chmod +x logmx.sh" before)
To use SCP, replace "sftp" with "scp".
Feel free to let us know if you still can't open such remote files.