Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 218883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:47:35+00:00 2026-05-11T18:47:35+00:00

I have multiple cameras sending images at random intervals via FTP to a predetermined

  • 0

I have multiple cameras sending images at random intervals via FTP to a predetermined folders.

For example:
recordings/camera1/images/ – for first camera
recordings/camera2/images/ – for second camera
etc

Each of them save images in .jpg format and then close FTP connection.

I need to call a PHP script after each time a new file is added. Let’s say whenever a new image is added into the /recordings folder I need to call the php script with

newimage.php?location=recordings/camera1/images/picture002.jpg

and so on.

The server is a Linux box running ProFTPD

How I can get this done?

Please note: Cron job is not an option as there will thousands of files and we are not using a DB. So we cannot find out if there are any new files.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T18:47:35+00:00Added an answer on May 11, 2026 at 6:47 pm

    I would advise you to take a look at the mod_exec of ProFTPD.
    Here is a quote explaining its goal:

    The mod_exec module can be used to
    execute external programs or scripts
    at various points in the process of
    handling FTP commands. By conscious
    design, ProFTPD does not and will not
    execute external programs. This is a
    security decision, as it was decided
    not to allow ProFTPD to serve as a
    means of compromising a system or
    disclosing information via bugs in
    external programs or scripts. Use of
    this module allows for such external
    programs to be executed, and also
    opens up the server to the mentioned
    possibilities of compromise or
    disclosure via those programs.

    You can also take a look at inotify which offers you to monitor system file activity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have multiple images taken simultaneously pointing at the same direction from the same
I have a Camera class that produces very large images at a high FPS
I am working on a system that will analyze video frames from multiple cameras.
Multiple posts but I'm still stuck...I'm missing something fundamental here. I have a form
I have multiple pieCharts in my flex app and when the user clicks a
I have multiple webpages that work together. Most of them have the same css
I have multiple publishers which want to persist their subscription info in storage. Is
I have multiple MVC 3 forms that need form validation on certain fields (mostly
I have multiple lines of text in log files in this kind of format:
I have multiple controllers one in Areas /Areas/Demo/Admin/AdminController and other in main site /Controller/Admin/AdminController

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.