FTP Upload and rules fails [SOLVED... again]

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2015 07:06 AM
Hello,
I'm using Alf Community 5.0.d and have a very strange problem here:
I upload a document via FTP into a folder. If somehow i have a rule that accesses the file (copy or move), the ftp upload fails with error message:
"451 Access denied, file may be in use or locked by another user".
So i guess the rule is triggered before the upload completes.
For testing purposes i have created a "waitfor30sec.js" script i execute before the copy / move rule, and it works (but is indeed a very ugly hack).
Any suggestions how to get rid of this ?
Regards,
Ozy.
I'm using Alf Community 5.0.d and have a very strange problem here:
I upload a document via FTP into a folder. If somehow i have a rule that accesses the file (copy or move), the ftp upload fails with error message:
"451 Access denied, file may be in use or locked by another user".
So i guess the rule is triggered before the upload completes.
For testing purposes i have created a "waitfor30sec.js" script i execute before the copy / move rule, and it works (but is indeed a very ugly hack).
Any suggestions how to get rid of this ?
Regards,
Ozy.
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2015 11:50 AM
Post DELETED because i was wrong


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2015 05:56 PM
Well, basically it's all about permissions.
Rules get executed as the initiator authority.
In my case, the ftp upload user doesn't have any rights in the destination folder where the rule would move an uploaded file.
I had to create a custom permission called "WriteOnly" i added to the destination folder.
Problem resvoled.
For custom permissions, please see my post here:
https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/cust...
Hope this will
Rules get executed as the initiator authority.
In my case, the ftp upload user doesn't have any rights in the destination folder where the rule would move an uploaded file.
I had to create a custom permission called "WriteOnly" i added to the destination folder.
Problem resvoled.
For custom permissions, please see my post here:
https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/cust...
Hope this will

