cancel
Showing results for 
Search instead for 
Did you mean: 

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

deajan
Champ on-the-rise
Champ on-the-rise
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.
2 REPLIES 2

deajan
Champ on-the-rise
Champ on-the-rise
Post DELETED because i was wrong Smiley Happy

deajan
Champ on-the-rise
Champ on-the-rise
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 Smiley Happy
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.