Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  23 Mar 2020, Ivo Schulthess, Forum, Save data to FTP 
    Reply  23 Mar 2020, Konstantin Olchanski, Forum, Save data to FTP 
       Reply  24 Mar 2020, Ivo Schulthess, Forum, Save data to FTP 
          Reply  24 Mar 2020, Stefan Ritt, Forum, Save data to FTP 
             Reply  24 Mar 2020, Ivo Schulthess, Forum, Save data to FTP 
          Reply  24 Mar 2020, Konstantin Olchanski, Forum, Save data to FTP 
Message ID: 1864     Entry time: 24 Mar 2020     In reply to: 1861
Author: Konstantin Olchanski 
Topic: Forum 
Subject: Save data to FTP 
> 
> Since ILL only provides access via SFTP and everything else is not existent or blocked (not even ssh is possible),
> this is the only thing we can work with by now. 
> 

Oops. SFTP != FTP.

SFTP uses SSH for data transport, so we cannot do it directly from C++ code in MIDAS. (we could use libssh, etc, but...)

I suggest you use lazylogger with the lazy_dache script, replace "dccp" with "sftp", replace "nsls" with an sftp "ls" command.

If you get it working, please consider contributing your lazylogger script to midas. (and does not have to be written in perl, python should work equally well).

For setting up lazylogger with the script method, I am pretty sure I posted the instructions to the forum (ages ago),
let me know if you cannot find them.

Good luck.

K.O.
ELOG V3.1.4-2e1708b5