FTP: Difference between revisions

Content added Content deleted
(Dialects of BASIC moved to the BASIC section.)
m (→‎{{header|Wren}}: Minor tidy)
Line 1,996:
{{libheader|ftplib}}
An embedded program so we can ask the C host to communicate with ''ftplib'' for us.
<syntaxhighlight lang="ecmascriptwren">/* ftpFTP.wren */
 
var FTPLIB_CONNMODE = 1
Line 2,163:
WrenVM* vm = wrenNewVM(&config);
const char* module = "main";
const char* fileName = "ftpFTP.wren";
char *script = readFile(fileName);
WrenInterpretResult result = wrenInterpret(vm, module, script);