none
Sync a local folder with a remote one RRS feed

  • Question

  • Hi,
    I'm developing a little tool to synchronize a local folder on my pc with a remote folder on a server.
    It's the first time I'm using remote folders so don't blame me if the question is stupid. =)

    I create two FileSyncProvider:

    FileSyncProvider sourceProvider = new FileSyncProvider(sourcePath, filter, options);
    FileSyncProvider destinationProvider = new FileSyncProvider(destPath, filter, options);

    The destPath is the path of the local folder on my pc (ex. "c:/Users/Documents") and there are no problem
    but for the sourcePath I don't know how to write the path of the remote folder (ex. http://something.com/folder/)

    Obviously writing the simple URI doesn't work and all I get is a DirectoryNotFoundException.


    Friday, March 12, 2010 5:52 PM

Answers

All replies