Table of contents
- 1. Enable autoFTP from the Field System
- 1.1.1.1.1. Install NCFTP on the recorder machine
- 1.1.1.1.2. Enable autoftp in the Field System configuration
- 1.1.1.1.3. Install autoftp script
- 1.1.1.1.4. Test FTP transfer
Enable autoFTP from the Field System
Install NCFTP on the recorder machine
Log into the Mark5 machine as user root
apt-get install ncftp
Enable autoftp in the Field System configuration
On the Field System computer (as user prog) go to /usr2/control
edit sked.ctl and make sure that it contains the following uncommented line
AutoFTP ON
optionally you can also uncomment the disk2file_Dir directive to specify a special path under which the
extracted file gets stored. This path must exist on the Mark5 recorder!
e.g.:
disk2file_Dir /data
Install autoftp script
On the Field System computer (as user prog) go to /usr2/st/autoftp
If the script does not exist you can download it.
Edit the autoftp perl script and change the contents of the following variables:
$mark5_node="XXX.XXX.XXX.XXX"; $mark5_user="oper"; $dest="ftp.mpifr-bonn.mpg.de"; $dest_user="anonymous"; $dest_pass="evlbi\@mpifr.de"; $dest_dir="/incoming/geodesy";
Replace XXX.XXX.XXX.XXX with the IP adress of your Mark5 recorder
Then run:
make
Test FTP transfer
Run a test schedule containing