File Transfer Linux / Mobile
Posted: Wed Sep 23, 2015 11:53 am
Hi Guys,
I wrote an agent to serve an app that runs on a mobile device in it's own network. This agent runs on a linux box and has connectivity to a remote server. Now I need to transfer files from the local linux agent which was created on the mobile app, to our remote server. I have tried all the different flavours of getting FTP to work on linux to no avail (libURLftpUploadFile / libURLftpCommand) or even the one where you post it to an ftp url. I am also wary using FTP for transferring these files and would rather have some sort of web service doing the deed over SSL.
The Linux server is running a headless CentOS version so debugging is difficult..
Long story short - how do you guys handle file transfers from one server to another seeing that web service support is quite dismal ?
I would appreciate any recommendations you might have in this regard.
Regards,
Kev
I wrote an agent to serve an app that runs on a mobile device in it's own network. This agent runs on a linux box and has connectivity to a remote server. Now I need to transfer files from the local linux agent which was created on the mobile app, to our remote server. I have tried all the different flavours of getting FTP to work on linux to no avail (libURLftpUploadFile / libURLftpCommand) or even the one where you post it to an ftp url. I am also wary using FTP for transferring these files and would rather have some sort of web service doing the deed over SSL.
The Linux server is running a headless CentOS version so debugging is difficult..
Long story short - how do you guys handle file transfers from one server to another seeing that web service support is quite dismal ?
I would appreciate any recommendations you might have in this regard.
Regards,
Kev