ftpclientscriptexample
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ftpclientscriptexample [2022/01/16 00:11] – wikiadmin | ftpclientscriptexample [2024/12/28 09:36] (current) – wikiadmin | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| <code javascript> | <code javascript> | ||
| + | |||
| + | |||
| + | |||
| //FTP the a file to the server configured in ErgoTechConfiguration.properties | //FTP the a file to the server configured in ErgoTechConfiguration.properties | ||
| function ftpFile (fileName, | function ftpFile (fileName, | ||
| + | |||
| + | var System = Java.type(" | ||
| hostname = System.getProperty(" | hostname = System.getProperty(" | ||
| Line 93: | Line 98: | ||
| | | ||
| | | ||
| + | // to transfer binary files, use the following call (not required for ASCII transfers). | ||
| + | | ||
| | | ||
| Line 114: | Line 121: | ||
| } | } | ||
| - | } //end of ftpResults | + | } //end of ftpFile |
| </ | </ | ||
ftpclientscriptexample.1642309886.txt.gz · Last modified: by wikiadmin
