cancel
Showing results for 
Search instead for 
Did you mean: 

Upload multiple files in one transaction using CIFS

olej
Champ in-the-making
Champ in-the-making
I have a requirement to be able to upload multiple files via CIFS in one transaction. The files uploaded in the transaction belongs to the same case. I.e. I need to execute an action on the files when the transaction commits.

I have implemented a behaviour which listenes to NodeServicePolicies.OnCreateNodePolicy but each file is committed in a separate transaction.

Does anyone have an idea how to have several files uploaded in one transaction or other ideas how I can pair the files belonging together?

Thanks in advance
Ole
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
No way with CIFS  :!:

If you really do need two nodes in one transaction you will have to use the Java API.   Or you could upload a compound format like a zip.

I think you need to explore your requirements a bit more.

mrogers
Star Contributor
Star Contributor
The transfer service is "transactional" so that could be another option, its also an example of how it can be done.