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

    FTP assistance

    Discussion About Products
    3
    5
    52
    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.
    • grod777_275772032561320
      grod777 last edited by

      I have a few Cameras, I tried to use the Reolink Client as a backup method for recordings but it keeps crashing. I setup ftp on all my cameras to a local PC and its working fine. One thing I noticed is I get more recording days when I used the Reolink client as opposed to ftp (both using clear).
      Can someone suggest how to run a script or task scheduler so it deletes oldest files? I have a task scheduler setup but it's not working. The ftp transfer nests a few folders and it also separates the days/months.
      These are the two Actions I have setup in Task Scheduler. All the cameras are recording to the DVR folder
      /p C:\DVR\Front\Front /s /d -14 /c "cmd /c del @file /f /q"
      C:\DVR\Front\Front C:\DVR\Front\Front /S /MOVE

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

          @grod777_275772032561320 Reolink client is not meant for 24x7 recordings. You need an NVR, Home Hub or third parties NVRs like frigate.

          If you are getting less files than what is being recorded on ftp server I suggest you to check the log file on the ftp server. Here you shall see the logins and file transfer. I use Cerberus ftp server and don't have any issue.

          You can use the forfiles.exe to delete files older than x days. Include it in a batch file and point to it through scheduler.

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

            @joseph_1979 Do you have an example of ho to setup forfiles.exe

            Reply Quote
            Share
            • Share this Post
            • Facebook
            • Twitter
            • copy the link
              Copied!
            0
            • Crimp On_62210811129
              Crimp On @grod777 last edited by

              @grod777_275772032561320 Several of my Reolink cameras backup recordings to folders on a hard drive using FTP. This script runs every day to eliminate JPG files older than 4 days and MPG recordings older than 21 days:

              ECHO Job begins %date% %time%
              ECHO Remove JPG files older than 3 days
              Forfiles /p D:\Reolink\E1Outdoor  /s /m *.jpg /d -3 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\FrontDoorCam /s /m *.jpg /d -3 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\HondaCam   /s /m *.jpg /d -3 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\PickupCam  /s /m *.jpg /d -3 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\ShedCam   /s /m *.jpg /d -3 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\SideCam   /s /m *.jpg /d -3 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\TestCam   /s /m *.jpg /d -3 /c "cmd /c del @file /f /q"
              ECHO Remove MPG files older than 21 days
              Forfiles /p D:\Reolink\E1Outdoor  /s /d -21 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\FrontDoorCam /s /d -21 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\HondaCam   /s /d -21 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\PickupCam  /s /d -21 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\ShedCam   /s /d -21 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\SideCam   /s /d -21 /c "cmd /c del @file /f /q"
              Forfiles /p D:\Reolink\TestCam   /s /d -21 /c "cmd /c del @file /f /q"
              ECHO Remove Empty Directories
              Robocopy D:\Reolink D:\Reolink /S /MOVE

              It probably would have worked to simply run the Forfiles command on D:\Reolink rather than having a line for each camera folder. Once it was working correctly, I have not looked at this batch file for a couple of years. Probably I had some idea that it might be useful to keep files from some cameras longer than other cameras?

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



                forfiles /p "C:\what\ever" /s /m *.* /D -<number of days> /C "cmd /c del @path"


                Reply Quote
                Share
                • Share this Post
                • Facebook
                • Twitter
                • copy the link
                  Copied!
                0
                View 2 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