Difference between revisions of "6. File transfer via ftp"

From mn/geo/geoit
Jump to: navigation, search
Line 2: Line 2:
  
 
This is set-up under "2.  Logging in and account settings".
 
This is set-up under "2.  Logging in and account settings".
 +
  
 
When retrieving data for FLEXPART the files are transferred automatically over.
 
When retrieving data for FLEXPART the files are transferred automatically over.
 +
  
 
You can transfer files manually by using the MC association specified under 2.
 
You can transfer files manually by using the MC association specified under 2.
Line 11: Line 13:
  
  
To transfer several files
+
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
  
  

Revision as of 13:27, 29 October 2012

Your retrieved files are transferred to NILU via ftp.

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


When retrieving data for FLEXPART the files are transferred automatically over.


You can transfer files manually by using the MC association specified under 2.

To transfer one file:

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


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 








Back to ECMWF overview[1]