I have an Android application which send app debug logs from Background thread without opening any intent through smtpoffice365 but now have to do implementation with using SCP. Is it possible to use SCP in android to copy log file to remote server?
i have also referred these links
Upload Files Using SCP/SFTP or more secure way in Android
Is it possible to transfer files between Android devices via scp?
But as not get proper answer from above link which didn't help me to solve. if there is any sample code then please provide with references link or code.
In my Android application, I want my app to make an xml file available for download for anyone else in the network with HTTP GET. For example if my Android device's ip address is 192.168.6.54, other devices can download "http://192.168.6.54/file.xml". Is this possible?
I'm developing in Xamarin.Forms, but I don't think that's important. An answer concerning only Android would be great.
I am using Linphone Android for making secure Voip calls with my own Self signed certificates. For security reasons, I want to built my own File sharing Server instead of using Linphone standard Server having a php file url as: https://www.linphone.org:444/lft.php.
My question is how can I make my own Script/server to transfer files and images? I have searched many times on google could not find any solution or lft.php script.
Any help in this regard will be highly appreciated.
i want to share my local audio and video files inside the phone through a HTTP server by creating a link.and through that link i can access my local file any where on the network.i used this open source project this but i doesn't share video files i think because of large size.I also tried to use nano httpd server but it has same issue too.Can any one tell me any other open source server as i cant be able to find one
Jetty is the most popular one. http://www.eclipse.org/jetty/
first of all sorry for my english , not my main lang.
I need to export some data to a remote folder from android.
I have a file on android "file.xml" and i need to export it to a folder (under iis)
"http://192.168.x.xx/folder/fileuploaded.txt"
It seems most of the examples out there are using an upload script in php, but i need to do it only from android. Doing the opposite way (from remote url to android app) is easy with Url.openStream(), but i cannot find a working example to put back the file on the server.
Maybe im missing something, this is my first android (and java btw) app.
anyone could point me in the right direction?
Thanks!
Diego, what you are trying to achieve is not possible only from Android. You cannot put a file on the server using HTTP unless there is a receiving application running.
You can only post your binary data to the server (url) but to write it locally and make it available on the http again for download, can only be done if you have a server app. It could be created using any language PHP, JSP, ASP etc.
You cannot just upload files to server of your wish unless there is something on the server side that allows file uploads. That is usually a ASP/Perl/PHP script.
If you don't want to use such a script, then one way to do this is to run ftp on your server and upload files using that.