-
Hi, I have a Reolink DUO Poe that send an image every 5 minute on a FTP server, to upload it on a website, but I can't point to differents named images, there's a way to delete or overwrite the last upload everytime?
Reply QuoteShare0- Share this Post
-
copy the link
Copied!
-
@ermaconsolini_619748074721328 Try to upload to the same filename. In the FTP configuration, select 'close' under Generate subfolder by and 'overwrite single file' under Video/image.
If the ftp server is running on Linux then write a simple script to delete such old files and call it from cron. -
@joseph-chircop_497308027822318 I don't have this options in my client "close" and "Generate subfolder by", I udated the firmware and the windows client, but nothing, I'have only "Remote Folder" "Max File Size" and "Interval" cause I selected to uplad only the images
-
@ermaconsolini_619748074721328 Maybe you have an old firmware. Get this from the device Info.
-
@joseph-chircop_497308027822318
This should be the latest, I downloaded it from Reolink website and upgraded manually -
@ermaconsolini_619748074721328 I have these options on various cams older than the DUO but have a newer firmware. So I suggest you to email Reolink support and check if your firmware is the latest. Include the hw version in your email. If these options are not available then write a simple one line bash script (find /myfolder -mmin +5 -exec rm -f {} \;) and add it to the crontab (assuming Linux).
-
@joseph-chircop_497308027822318 Ok, thak you, I will try to contact the support and the admin of the ftp server, because I'm not the admin of the server unfortunately
-
@ermaconsolini_619748074721328 If running on Linux it shouldn't be more than a 5 min job. Yes, email Reolink support first. They should answer you within 2 working days. And if there is a newer firmware it is fairly easy to upgrade. Come here and we will help you.
-
@joseph-chircop_497308027822318 I heard the assistance, very kind and they assisted me even during the weekend. But unfortunately no beta firmware for ftp overwrite on the Reolink Duo, and they have added it to the requests for future releases. For the moment the admin fixed by a script on server side.
-
@joseph-chircop_497308027822318 Small update, unfortunately, the camera everyday create a new directory on the ftp server, so the script wouldn't work.
-
@ermaconsolini_619748074721328 Under FTP do you have Generate Subfolder by? If yes select CLOSE and the file will always be at the root defined in the ftpuser profile. If no then you need to add the folder in the script. It's fairly easy to delete folders older than 1 day for example...........find /ftpuser/* -mtime +1 -exec rm -rf{}\;
-
@joseph-chircop_497308027822318 Nope I don't have "Generate subfolter by" but the command should be fine, thanks
-
@ermaconsolini_619748074721328 just add it to crontab.
Setup FTP settings to delete/overwrite the previous image on the server
All Categories