My document scanner can scan files to ftp (not webdav, unfortunatly). So I set up a ftp server in a container to recieve pdf-files from my scanner.
I want those files to get scanned and ocr’ed, but the ocrfile app seems to work only on nextcloud’s own files.
So I have to copy over those files from external storage which I dont want to do manually everytime.
Is there a way to automatically “import” those files?
my first idea would be to use Flow… but I have no clue if it works on external storage. give it a try
1 Like
Which app do you use? Which one of this list?
Perhaps you can find a possibility to scan from external storage or you can create an issue at github for the app.
1 Like
If you want simply to copy/move files from 1 any folder to nextcloud, you can use rclone via webdav, add it to system cron and it will push updates to the nextcloud from whatever folder you need.
@rototom
Also you can perhaps set FTP to a dir /path/to/nextcloud/data/username/files
But after upload you must re-scan with occ
sudo -u www-data php occ files:scan user-id
sudo -u www-data php occ files:scan --all
With WebDAV you do not need re-scan.