Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

New ftp script, goes to sdi_server

  • Loading branch information...
commit 4735d02c44e0623c6b7a60142a2af3f181d03354 1 parent f594d46
authored October 12, 2012
34  Poker_ftp_data.pro
@@ -8,14 +8,10 @@ common data_xfer_semaphore, xfer_tstamp
8 8
        if jsnow - xfer_tstamp lt 12d*3600d and not(keyword_set(force)) then return
9 9
        xfer_tstamp = jsnow
10 10
 
11  
-       ftp_script = 'c:\SDI_ftp_script.ftp'
  11
+		ftp_script = 'c:\SDI_ftp_script.ftp'
12 12
        openw, spunt, ftp_script, /get_lun
13  
-       printf, spunt, 'cd data/Poker'
  13
+       printf, spunt, 'cd instrument_incomming'
14 14
        printf, spunt, 'lcd c:\users\sdi3000\data'
15  
-       printf, spunt, 'bin'
16  
-       printf, spunt, 'hash'
17  
-       printf, spunt, 'prompt'
18  
-       printf, spunt, 'passive'
19 15
        printf, spunt, 'mput *.nc'
20 16
        printf, spunt, 'mput *.pf'
21 17
        printf, spunt, 'quit'
@@ -26,12 +22,36 @@ common data_xfer_semaphore, xfer_tstamp
26 22
        openw, spunt, bat_script, /get_lun
27 23
        printf, spunt, 'c:'
28 24
        printf, spunt, 'cd \users\sdi3000\data'
29  
-       printf, spunt, 'ftps -user:SDI3000 -password:fabryPER0T fulcrum.gi.alaska.edu -s:' + ftp_script;
  25
+       printf, spunt, 'psftp 137.229.27.190 -l instrument -pw aer0n0my -b ' + ftp_script
30 26
        printf, spunt, 'move *.nc .\sent'
31 27
        printf, spunt, 'move *.pf .\sent'
32 28
        close, spunt
33 29
        free_lun, spunt
34 30
 
  31
+;       ftp_script = 'c:\SDI_ftp_script.ftp'
  32
+;       openw, spunt, ftp_script, /get_lun
  33
+;       printf, spunt, 'cd data/Poker'
  34
+;       printf, spunt, 'lcd c:\users\sdi3000\data'
  35
+;       printf, spunt, 'bin'
  36
+;       printf, spunt, 'hash'
  37
+;       printf, spunt, 'prompt'
  38
+;       printf, spunt, 'passive'
  39
+;       printf, spunt, 'mput *.nc'
  40
+;       printf, spunt, 'mput *.pf'
  41
+;       printf, spunt, 'quit'
  42
+;       close, spunt
  43
+;       free_lun, spunt
  44
+;
  45
+;       bat_script = 'c:\SDI_data_xfer.bat'
  46
+;       openw, spunt, bat_script, /get_lun
  47
+;       printf, spunt, 'c:'
  48
+;       printf, spunt, 'cd \users\sdi3000\data'
  49
+;       printf, spunt, 'ftps -user:SDI3000 -password:fabryPER0T fulcrum.gi.alaska.edu -s:' + ftp_script;
  50
+;       printf, spunt, 'move *.nc .\sent'
  51
+;       printf, spunt, 'move *.pf .\sent'
  52
+;       close, spunt
  53
+;       free_lun, spunt
  54
+
35 55
 
36 56
        spawn, bat_script, /nowait
37 57
 
BIN  setup/Poker_setup.sdi
Binary file not shown

0 notes on commit 4735d02

Please sign in to comment.
Something went wrong with that request. Please try again.