android copy text file/folder to server
I'm writing an application and it is running on android platform. This application does create a text file and I need to push it to a server, this server is running on ubuntu. Is it possible to copy/transfer the file from the android to a linux server?
I'm hoping someone can able to point me to right direction how to do it. I have been google around, but no luck.
Most likely you can do this with QNetworkAccessManager as well. The download I have already.
Unfortunately only a download example is available in the doucmentation.
@koahnig Thanks. yeah, i got that working on my app as well. But i need to make the result file able to access from the network as well. I'm think to make a folder shareable via samba/web server or ftp??
what is the best way?
IMHO I would make this a decision of how it has to be accessed otherwise.
Based to my experience I tend towards FTP. However, I have to admit I am not sure if it the best solution/decision.
This has been resolve which i'm using the example from https://stackoverflow.com/questions/23344370/qhttpmultipart-upload-multiple-files.