Android Question UPLOAD FILE CSV TO FOLDER SERVER

Infotech

Member
Licensed User
When i using Ftp Server, this file not upload and if i try library or php connection not supoort to sql server


i need sourcode or library file to upload simpply code
 

Attachments

  • FTP connection Failure.txt
    1.6 KB · Views: 204

KMatle

Expert
Licensed User
Longtime User
Hi and welcome,

there a several examples how to upload files (php or ftp).

FTP: https://www.b4x.com/android/forum/threads/android-ftp-tutorial.10407/#content
PHP: https://www.b4x.com/android/forum/threads/upload-file-with-php.37562/#content

I reccomend you to use the search function.

If you run into errors, please post the rror messages. "File will not upload" is not precise enough :) Running your code is difficult as we don't have access to your ftp server.

What I would do:

- Upload the file with FileZilla (to check if the credentials are ok)
- after that try the ftp example (this works like a charm)
- if you need php, check the example and check any error code (you can add some "print lines" in the php to log more details)
 
Upvote 0
Top