# How can I trigger page update upon ftp upload?

**URL:** <https://forum.kirupa.com/t/how-can-i-trigger-page-update-upon-ftp-upload/320440>\
**Category:** Uncategorized\
**Created:** [March 23, 2011, 2:54pm UTC](https://forum.kirupa.com/t/how-can-i-trigger-page-update-upon-ftp-upload/320440 "2011-03-23T14:54:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 23, 2011, 2:54pm UTC](https://forum.kirupa.com/t/how-can-i-trigger-page-update-upon-ftp-upload/320440/1 "2011-03-23T14:54:27Z")

</div>

Hello, I’m new to this forum but hopeful that some of you brilliant folk out there might be able to help me!

I have a client who wants to have the page content change upon the upload of a text file via ftp.  
In other words, a remote computer will upload a file upon an event trigger. He wants his site to put a message/flag… on the page to let others know of the event.

We’re thinking of making this a WordPress site because of other requirements he wants (future blog/comments functionality etc.)

Has anyone done anything like this or know how one might go about achieving this? I don’t suppose there’s such a plugin? (that might be asking for too much, but thought I’d try).

I’m thinking of using php on the WordPress page. I can get the page to check if the file exists upon page load and then echo something. So I guess what I really need is help in figuring out how to delete that file when the site owner wants to reset the page. I think I can display a button that displays for only that user, but not sure how to make that button delete the file.

Your help is greatly appreciated as I am a php novice.  
Thanks!!
