Use FTP as server
lungu-catalin opened this issue · comments
Catalin Lungu commented
Hi Udi. It is possible to sync data with a FTP server? Thanks.
Udi Cohen commented
Hi, everything is possible :) the server layer can be implemented however
you'd like. The Sync adapter is a client side feature that manages the
syncing process, and it can communicate with any server implementation.
On Wed, Feb 21, 2018, 4:47 AM Catalin Lungu ***@***.***> wrote:
Hi Udi. It is possible to sync data with a FTP server? Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA6BBYzcjS0pJ9yLv0LS3gv5aOZmf1sBks5tW-YrgaJpZM4SNVko>
.
--
…---
Udi Cohen
http://www.udinic.com
Catalin Lungu commented
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.
- 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)
- 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. - 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.
Tumelo Daniel Mwaba commented
Hmmm