cancel
Showing results for 
Search instead for 
Did you mean: 

Webdav inbound rules problem

babarlefou
Champ in-the-making
Champ in-the-making
Hello,

I have a problem on Alfresco 4.0d community :
- I have created two site on share : site1 and site2
- I put an inbound rule on site1 which copy all new document on the site2

When I add a document with the webdav protocol (on windows 7) the document copied in the site2 is only 0 byte.

Have you a solution for this ?


ps : I have also a problem with move rule : windows 7 make an error that the file doesn't exist
3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

this is a problem with regards to the operations that WebDAV allows and how Windows performs them. It may be that some other WebDAV clients behave the same. The issue is that, before a new file content is actually created, the WebDAV client checks if a file with the same name already exists to prevent conflicts. This request is defined to create a 0-byte file if no file currently exists, which is then filled with the actual content in a second request.
Unfortunately, content rules for new content items react to the creation of the 0-byte object. It would be best if you modified your rule to execute on non-0-byte content on creation and additionally on updates of previously 0-byte long content items (for the second request).

Regards
Axel

babarlefou
Champ in-the-making
Champ in-the-making
Hello,

Thanks for the response. I will try it !

babarlefou
Champ in-the-making
Champ in-the-making
It's work fine !

But I have also a problem on copy : the structure is keep (for example a file in a subfolder is as the same level in destination folder).