Hi John,

to upload a file by ftp  to an ftp server you need to add the username and 
password to the put statement and also if the  file is a ascii/text or a binary 
file
E.g.


put tData into 
URL”file:HERCOMESTHEUSERNAME:herecomesthepassw...@ftp.mymftpserver.com” 

this put a text/ascii file into the root folder of the ftp account
put tData into 
URL”file:HERCOMESTHEUSERNAME:herecomesthepassw...@ftp.mymftpserver.com” 

or to put the text file into an existing subfolder named “testupload” use

put tData into 
URL”file:HERCOMESTHEUSERNAME:herecomesthepassw...@ftp.mymftpserver.com/testupload/"


Replace file with binfile if you want to upload a binary file. 


Regards,

Matthias


> Am 21.09.2015 um 14:21 schrieb John Dixon <dixo...@hotmail.co.uk>:
> 
> In the iOS release notes it says...
> 
> To upload a file to an FTP server you can use:
> put tData into url "ftp://ftp.myftpserver.com";
> 
> Could someone flesh this out a little for me... I'm not getting it to work... 
> 
>                                         
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to