-
FTP Object for Android ?
Hi, it would be great if the FTP object were released for Android, wouldn't it ?
Or do you have any idea on the way to upload a file on Android ?
For example if the user want to send a picture and share it online, my app should be able to send this image to a server or a website.
Any ideas ?
Edward
-
You could just use PHP :D and you could embed the form on your app.
-
Yes but PHP has some limits for example many hosts limits upload size to 2mB. And PHP native is http upload: it can't retrieve upload progress, to do that I must install some external libraries like cUrl on the website..
-
The FTP object wouldn't be a good solution for this Edward.
The FTP all the username and passwords is sent in plain text -- So if you did this in an app you sent out to the public they could sniff out your details and log in and do what ever they wanted on your server. Just like if you did this thing in an app for windows or just sent someone your FTP information and told them to log in.
-
Yea but FTP is the only extension able to upload files at this moment.. I know it will certainly not be done but if the Clickteam would make an FTP using https it would be great.
So you think PHP is the best solution ?
-
but how do you upload an image with php?
-