Open LogMX log with ftp location

Notes, tips, and other usefull things on how to use LogMX

Moderator: admin

Post Reply
sergeyme
Posts: 1
Joined: Tue May 13, 2008 11:13 am

Open LogMX log with ftp location

Post by sergeyme »

How can I open LogMX with log file located on ftp server using command line :?:
admin
Site Admin
Posts: 555
Joined: Sun Dec 17, 2006 10:30 pm

Post by admin »

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:

Code: Select all

LogMX "sftp://my_login@my_host:my_folder/my_file"
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.
Post Reply