[android-developers] Sending file from sdcard to FTP-server?

2011-03-14 Thread dappa
I have quite simple sounding task. I need to send file test.txt from my sdcard to my ftp-server. And before actual file sending I create folder test on the ftp-server. I have tried several code snippets that I have found from internet, but nothing seems to work. What I'm missing here? IS there

Re: [android-developers] Sending file from sdcard to FTP-server?

2011-03-14 Thread Miguel Morales
Well the first issue is that you are making a network request on the main UI thread. This will block the thread until the network operation completes and might make your program close. I suggest you start by reading this: