Page 1 of 1
File observer trigger problem
Posted: 21 Aug 2016 08:47
by wfrcrd
When setted on " writeateble file closed "
seems work good if the file has been writted from an app,
but when I transfer a file to the observed directory using bluetooth or via usb cable
the trigger don't switch and the flow log is empty.
Any suggestion?
Thank you
Re: File observer trigger problem
Posted: 21 Aug 2016 09:31
by MURTUMA
Read the help section and setting descriptions.
"Writable file closed: Someone had a file or directory open for writing, and closed it." This is clearly not the case when moving(transferring) files. Please check what "File moved to" option does.
Re: File observer trigger problem
Posted: 21 Aug 2016 13:41
by Martin
Please also note that the file observer does not work for all directories/apps equally well on Android 6. Google is aware about several internal bugs of the API used but seems not be interested to fix the bugs

Re: File observer trigger problem
Posted: 22 Aug 2016 20:24
by wfrcrd
I choosed the trigger "Writable file closed" because I need to move the files from one directory to another ,
sometimes the file are big files so I suppose that cannot move a file while is writing ( it takes time to be completely written to the source directory and when the writing process has ended the file it's ready to be moved).
I suppose the right trigger for this puprouse is "Subfile created" even for big files.
But I need to switch the trigger where there is e new file in a directory ( I don't care if it has beene moved from another directory or as been created from an app)
PS Fortunately I don't have Android 6
Thank you !
Re: File observer trigger problem
Posted: 23 Aug 2016 08:05
by wfrcrd
I've tried using the "Subfile created" trigger.
It seems working but the transfer process from the PC to the source directory on the smartphone it's really slower .
Any suggest to keep the transfer process to the normal speed?
Thank you