source:
tmcsimulator/branches/realtime_VDS/getLatestStationData.bash
@
584
| Revision 584, 181 bytes checked in by jdalbey, 6 years ago (diff) |
|---|
| Rev | Line | |
|---|---|---|
| 1 | #!/bin/bash | |
| 2 | HOST='your.ftp.site' | |
| 3 | USER='remoteusername' | |
| 4 | PASSWD='remotepasswd' | |
| 5 | ||
| 6 | ftp -n -v $HOST << EOT | |
| 7 | ascii | |
| 8 | user $USER $PASSWD | |
| 9 | prompt | |
| 10 | cd D12/Data/5min | |
| 11 | get 5minagg_latest.txt | |
| 12 | bye | |
| 13 | EOT |
Note: See TracBrowser
for help on using the repository browser.
