Search the Community

Showing results for tags 'java'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Resilio Sync
    • Sync General Discussion
    • Sync Troubleshooting
    • Sync for NAS (Network Attached Storage)
    • Sync Stories
    • Developers
    • Feature Requests

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. rweiser-manual-reg-by-adm

    Sync from Android to AWS Server

    Hi. I'm new to Bittorrent development and I was hoping someone here could give me some direction on how to get started. My goal is to enable my Android app (already built) to use the BitTorrent protocol to sync images that have been captured by the app up to our Amazon AWS servers. Would doing so require our users to separately install the BitTorrent Sync client on their Android devices? Or is there some way to build the BitTorrent engine into our Java-based Android app? If the latter, where can I find details on how to do that (and what to do on the other end - the AWS side)? Thanks.
  2. A few months ago I created a wrapper library for the Sync API as part of a much larger project but I never got around to publishing it. It is slightly more than just a wrapper as it also contains binaries and will take care of starting and stopping Sync so it makes working with Sync within Java applications much easier. Now that I had a bit of time I finally published the project to the Maven Central Repository. It is still in a very early stage and needs a lot of testing so please let me know of any problems you encounter. See the project at: Bitbucket - https://bitbucket.org/osafi/btsync-java GitHub - https://github.com/commandersafi/BTSync-Java Description of project copied from git repository: Purpose BTSync-Java is a library for the starting and interacting with BitTorrent Sync Beta. To use this library you must have received an API Key from BitTorrent Sync which can be done here. Bundled with this library is the 1.3.105 version of the BitTorrent Sync Beta binary (32bit) for Windows and Linux. Mac support will be added in one of the next updates. Background This library was created as part of my senior design project, a Universal User Experience system sponsored by HP. My team and I decided to use BitTorrent Sync as our synchronizing agent and needed to be able to start, stop, and interact with BT Sync completely in the background without it being previously installed or require user interaction. Maven Dependency Add the following dependency to your pom.xml to use BTSync-Java <dependency> <groupId>ms.safi.btsync</groupId> <artifactId>btsync-java</artifactId> <version>0.1</version></dependency>NOTE: There is another artifact in Maven Central under the artifact BTSync-Java which SHOULD NOT be used as it was mistakenly added and will not receive future updates. Snippit showing usage: public class TestBTSync { public static String API_KEY = "MYAPIKEY"; public static void main(String[] args) { try(BTSyncApp app = new BTSyncApp(API_KEY)) { // 1. Start BitTorrent Sync and get an instance of BTSyncClient to interact with it BTSyncClient client = app.startBtSync(); // 2. Try to add a folder to BitTorrent Sync - print out the error if unsuccessful if(!client.addFolder("C:\\Users\\OSafi\\Desktop\\Stuff")) { System.out.println("Could not add folder"); System.out.println(client.getLastError()); } // 3. Use the API to shutdown your BitTorrent Sync instance client.shutdown(); } catch (Exception e) { e.printStackTrace(); } }}
  3. I have to ask it anyway, since Sync could be such an ideal solution for my work place. Anyhow, hi! I work for a Norwegian government institution that scans very old documents and photographic materials of historic properties and provides them to our specialists and externs in the field. Sadly we cannot simply make all of our files public to everyone in a big photo album, as there are a plethora of legal issues involved with making these scans available to the general public. Also, our scans are uncommonly large and we simply do not have the infrastructure, *if* we were allowed to share the whole bunch of them publicly. Many of the people who require these files work for the institution and have their own VPN connection to our network, but a small but significant percentage are externs, like researchers from other companies or institutions, or simply interested individuals of mostly elderly age that are usually not too keen with computers. For all those usebility issues, we cannot 'demand' them to download and install 'our' download software on their computers, just so they can receive our scanned documents. Currently we use a less then ideal solution, an FTP server from which we email file links to the people who need them. For some technical and legal reasons, we cannot use cloud storage solutions like Dropbox. But a tip led me to Bittorrent Sync, which seems like an ideal, secure solution for us. Except for the part where we have to make our people download clients for it in order to use it. So my question is this. Would it be possible / would you consider developing a Bittorrent Sync client in ASP or Java, so our people won't have to download separate client software? I'm not very computer savvy, so I completely understand if my question isn't very sensible. I apologize in advance, I don't mean to rub anyone the wrong way with my obvious lack of technical knowledge. Thanks. By the way, I did not put this topic under 'feature request' as it seemed to be like asking for a bit more than just a feature. But feel free to move the topic there if you prefer it.