Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ftpclientscriptexample [2022/01/15 23:13] wikiadmin |
ftpclientscriptexample [2024/12/28 08: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 |
</ | </ | ||