Navigation

    Home
    All Categories
    • KEEN Trail Camera
    • Top #ReolinkCaptures Awards
    • Announcements and News
    • Wishlist
    • #ReolinkTrial
    • Discussion About Products
    • Reolink Captures
    • Reolink Client & APP
    #ReolinkTrial
    Reolink Captures
    Log in to post
    Guest
    • Guest
    • Register
    • Login

    Learn More

    Reolink updates Learn More

    Meet Reolink at IFA 2024! Learn More

    Reolink Q&A Learn More

    Setup FTP settings to delete/overwrite the previous image on the server

    Discussion About Products
    3
    13
    1308
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ermaconsolini_619748074721328
      ermaconsolini last edited by

      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 Quote
      Share
      • Share this Post
      • Facebook
      • Twitter
      • copy the link
        Copied!
      0
        • joseph_1979
          Joseph Global Moderator @ermaconsolini last edited by joseph_1979

          @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.

          Reply Quote
          Share
          • Share this Post
          • Facebook
          • Twitter
          • copy the link
            Copied!
          0
          • ermaconsolini_619748074721328
            ermaconsolini @Joseph last edited by

            @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

            Reply Quote
            Share
            • Share this Post
            • Facebook
            • Twitter
            • copy the link
              Copied!
            0
            • joseph_1979
              Joseph Global Moderator @ermaconsolini last edited by joseph_1979

              @ermaconsolini_619748074721328 Maybe you have an old firmware. Get this from the device Info.

              Reply Quote
              Share
              • Share this Post
              • Facebook
              • Twitter
              • copy the link
                Copied!
              0
              • ermaconsolini_619748074721328
                ermaconsolini @Joseph last edited by ermaconsolini_619748074721328

                @joseph-chircop_497308027822318
                This should be the latest, I downloaded it from Reolink website and upgraded manually

                Reply Quote
                Share
                • Share this Post
                • Facebook
                • Twitter
                • copy the link
                  Copied!
                0
                • joseph_1979
                  Joseph Global Moderator @ermaconsolini last edited by

                  @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).

                  Reply Quote
                  Share
                  • Share this Post
                  • Facebook
                  • Twitter
                  • copy the link
                    Copied!
                  1
                  • ermaconsolini_619748074721328
                    ermaconsolini @Joseph last edited by

                    @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

                    Reply Quote
                    Share
                    • Share this Post
                    • Facebook
                    • Twitter
                    • copy the link
                      Copied!
                    0
                    • joseph_1979
                      Joseph Global Moderator @ermaconsolini last edited by joseph_1979

                      @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.

                      Reply Quote
                      Share
                      • Share this Post
                      • Facebook
                      • Twitter
                      • copy the link
                        Copied!
                      0
                      • w1thso_587778017182372
                        w1thso @Joseph last edited by w1thso_587778017182372

                        @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.

                        Reply Quote
                        Share
                        • Share this Post
                        • Facebook
                        • Twitter
                        • copy the link
                          Copied!
                        0
                        • ermaconsolini_619748074721328
                          ermaconsolini @Joseph last edited by

                          @joseph-chircop_497308027822318 Small update, unfortunately, the camera everyday create a new directory on the ftp server, so the script wouldn't work.

                          Reply Quote
                          Share
                          • Share this Post
                          • Facebook
                          • Twitter
                          • copy the link
                            Copied!
                          0
                          • joseph_1979
                            Joseph Global Moderator @ermaconsolini last edited by joseph_1979

                            @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{}\;


                            Reply Quote
                            Share
                            • Share this Post
                            • Facebook
                            • Twitter
                            • copy the link
                              Copied!
                            1
                            • ermaconsolini_619748074721328
                              ermaconsolini @Joseph last edited by

                              @joseph-chircop_497308027822318 Nope I don't have "Generate subfolter by" but the command should be fine, thanks😁

                              Reply Quote
                              Share
                              • Share this Post
                              • Facebook
                              • Twitter
                              • copy the link
                                Copied!
                              0
                              • joseph_1979
                                Joseph Global Moderator @ermaconsolini last edited by

                                @ermaconsolini_619748074721328 just add it to crontab.

                                Reply Quote
                                Share
                                • Share this Post
                                • Facebook
                                • Twitter
                                • copy the link
                                  Copied!
                                0
                                View 10 replies
                              • First post
                                Last post
                              All Categories
                              Announcements and News Reolink Client & APP Discussion About Products #ReolinkTrial Reolink Captures Wishlist KEEN Trail Camera
                              Never miss Reolink hot deals, news, and updates tailored for you.

                              Thanks for your subscription!

                              Please enter a valid email address.

                              Oops… Something went wrong. Please try again later.

                              You are already subscribed to this email list. :)

                              Submission failed. Please try again later.

                              Reolink Store|Support|About Us|Privacy Policy|Terms and Conditions

                              Copyright 2025 © Reolink All Rights Reserved.

                              Welcome Back!

                              Hi there! Join the Commnunity to get all the latest news, tips and more!

                              Join Now