Could you be more specific on what you want to do? then I can write some sample code for you
RepositoryStorage is only used to fetch a revision from HDD, to actually perform a extraction, you should have a look at Umbraco.Courier.Core.Extraction.RevisionExtraction
This sample console application performs a extraction of a revision by running it in a directory containin the revision files, so you simply need to pass the path of the directory you wish to extract
My problem is resolved now. Actually i was pointing at the wrong directory. I realized it later and It just worked when I corrcted the path. Error I was getting was really misleading.
Courier : The given path's format is not supported.
I am trying to extract a revision of courier through courier API Umbraco.Courier.Core.Storage.RepositoryStorage class.
But I could not do it. I am getting following exception.
"System.NotSupportedException was caught
Message=The given path's format is not supported."
Can anybody please point out what could be going wrong here?
Thanks
Nilesh
Hi Nilesh
Could you be more specific on what you want to do? then I can write some sample code for you
RepositoryStorage is only used to fetch a revision from HDD, to actually perform a extraction, you should have a look at Umbraco.Courier.Core.Extraction.RevisionExtraction
/Per
This sample console application performs a extraction of a revision by running it in a directory containin the revision files, so you simply need to pass the path of the directory you wish to extract
http://nightly.umbraco.org/UmbracoCourier/samples/Umbraco.Courier.ConsoleApplicationSource.zip
Hi Per,
Thanks for the quick reply.
My problem is resolved now. Actually i was pointing at the wrong directory. I realized it later and It just worked when I corrcted the path. Error I was getting was really misleading.
Thanks,
Nilesh
Ah cool, will see if I can make a more telling error message, but currently it comes directly from .net IOs exceptions
is working on a reply...