6. File transfer via ftp

From mn/geo/geoit
Revision as of 13:31, 29 October 2012 by Nik (talk | contribs)

Jump to: navigation, search

Your retrieved files are transferred to NILU via ftp.

This is set-up under "2. Logging in and account settings".


When retrieving data you can set it up so that the data are transferred automatically over to NILU.

This is done when retrieving data for FLEXPART.


You can also transfer files manually by using the ECtrans association specified under "2. Logging in and account settings".


To transfer one file:

ectrans -remote nina@genericSftp -source ectmp://sbc/oper_2012_07/EN12070600

(using your directory, and your ECtrans association, i.e. change nina to your setting.)


To transfer several files use a script containing the following:

#!/bin/ksh
for f in `els ectmp:/sbc/oper_2012_07 | grep EN1207150*  | awk '{print $9}'`
do
echo $f
ectrans -remote nina@genericSftp -source ectmp:/sbc/oper_2012_07/$f
done 

(using your directory, and your ECtrans association, i.e. change nina to your setting.)









Back to ECMWF overview[1]