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:13] – wikiadmin | ftpclientscriptexample [2024/12/28 09:36] (current) – wikiadmin | ||
|---|---|---|---|
| Line 45: | Line 45: | ||
| <code javascript> | <code javascript> | ||
| - | var System = Java.type(" | + | |
| //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 96: | Line 98: | ||
| | | ||
| | | ||
| + | // to transfer binary files, use the following call (not required for ASCII transfers). | ||
| + | | ||
| | | ||
| Line 117: | Line 121: | ||
| } | } | ||
| - | } //end of ftpResults | + | } //end of ftpFile |
| </ | </ | ||
ftpclientscriptexample.1642310012.txt.gz · Last modified: by wikiadmin
