Friday, July 24, 2009

Build 388

Finally, FTP transfer is available for the mobile engine, as well. SYS(8010) allows you to send or receive files from any mobile device with internet connectivity with a single line of code using the FTP protocol:

MessageBox( Sys(8010, ;
"put", ;
"ftp.server.com/test.txt", ;
"username", ;
"password", ;
"hello world" ;
))
MessageBox(Sys(8010, ;
"get", ;
"ftp.server.com/test.txt", ;
"username", ;
"password" ;
))

Please note that you need a real internet connection for SYS(8010). The shared internet connection provided by ActiveSync/WMDC while the device is in the cradle (or connected with the PC) does not work reliable for FTP connections.

No comments: