Udinic / SyncAdapter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use FTP as server

lungu-catalin opened this issue · comments

Hi Udi. It is possible to sync data with a FTP server? Thanks.

Hi, thanks for your answer.
I have a few questions, so please answer me if you can.
I made my own Sync Adapter and a FTP class and now I want to send images from Android device to FTP server and receive text files from server.

  1. Is there any way to run the adapter when new images are in a local folder of Android device? (After transfer the file is deleted)
  2. Is there any way to run the adapter when new text files are in server? (After transfer the file is deleted)
    I don't want to run the adapter at regular intervals neither on demand.
  3. It's ok to have 2 applications, first the SyncAdapter (without UI) and second that manages UI, parse text files and put the images in the output folder of device?

Thanks again.