473,326 Members | 2,095 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Track Images added to images folder and subfolders - send out email alerts

Is anyone aware of an elegant method to 'track' changes (additions,
deletions, edits) to an online server on my web host...in this case various
sub folders in the /IMAGES/ directory...

The reason I ask is that I need to be able to alert internal staff to to new
images added to various boat models on our site without reverting to sending
out manual email notificaitons.

Really appreciate any adivce on ways to achieve this as a .NET newbie.

- Jason
Nov 19 '05 #1
4 1361
You can use the FileSystemWatcher class from the System.IO namespace and
catch events when a file changes, or the contents of a directory change.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Is anyone aware of an elegant method to 'track' changes (additions,
deletions, edits) to an online server on my web host...in this case
various sub folders in the /IMAGES/ directory...

The reason I ask is that I need to be able to alert internal staff to
to new images added to various boat models on our site without
reverting to sending out manual email notificaitons.

Really appreciate any adivce on ways to achieve this as a .NET newbie.

- Jason

Nov 19 '05 #2
You can make a windows service that will watch the directory with
System.IO.FileSystemWatcher class. Look at System.Web.Mail namespace for
sending emails.

Eliyahu

<ja***@catamaranco.com> wrote in message
news:eH**************@TK2MSFTNGP09.phx.gbl...
Is anyone aware of an elegant method to 'track' changes (additions,
deletions, edits) to an online server on my web host...in this case various sub folders in the /IMAGES/ directory...

The reason I ask is that I need to be able to alert internal staff to to new images added to various boat models on our site without reverting to sending out manual email notificaitons.

Really appreciate any adivce on ways to achieve this as a .NET newbie.

- Jason

Nov 19 '05 #3
Ahhh...ok....thank you......but what if the folders are sitting with a
remote web host....is this still possible?
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:ua**************@TK2MSFTNGP15.phx.gbl...
You can make a windows service that will watch the directory with
System.IO.FileSystemWatcher class. Look at System.Web.Mail namespace for
sending emails.

Eliyahu

<ja***@catamaranco.com> wrote in message
news:eH**************@TK2MSFTNGP09.phx.gbl...
Is anyone aware of an elegant method to 'track' changes (additions,
deletions, edits) to an online server on my web host...in this case

various
sub folders in the /IMAGES/ directory...

The reason I ask is that I need to be able to alert internal staff to to

new
images added to various boat models on our site without reverting to

sending
out manual email notificaitons.

Really appreciate any adivce on ways to achieve this as a .NET newbie.

- Jason


Nov 19 '05 #4
No, FileSystemWatcher won't get there. I can think about something based on
FTP for this scenario. The service could connect to the remote host
periodically via FTP, get the list of files and do the job.

Eliyahu

<ja***@catamaranco.com> wrote in message
news:ur**************@TK2MSFTNGP15.phx.gbl...
Ahhh...ok....thank you......but what if the folders are sitting with a
remote web host....is this still possible?
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:ua**************@TK2MSFTNGP15.phx.gbl...
You can make a windows service that will watch the directory with
System.IO.FileSystemWatcher class. Look at System.Web.Mail namespace for
sending emails.

Eliyahu

<ja***@catamaranco.com> wrote in message
news:eH**************@TK2MSFTNGP09.phx.gbl...
Is anyone aware of an elegant method to 'track' changes (additions,
deletions, edits) to an online server on my web host...in this case

various
sub folders in the /IMAGES/ directory...

The reason I ask is that I need to be able to alert internal staff to
to new
images added to various boat models on our site without reverting to

sending
out manual email notificaitons.

Really appreciate any adivce on ways to achieve this as a .NET newbie.

- Jason



Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: antishok | last post by:
Hi, I'm writing a page which has a somewhat similar folder tree to that of the windows explorer, where each folder is made of a <SPAN> tag consisting of the folder image (closed or open) and the...
5
by: Rosa | last post by:
Hi, I'm trying to clear the TIF on Windows XP programmatically with the below code. This code works fine on any folder but the TIF. For some reason the atEnd() statements always defaults to true...
2
by: windandwaves | last post by:
Hi Gurus Preloading images has got to be JS 101. However, it does not seem to be working. Here is the function that I am using. I added the alerts to make sure it is working and all the right...
2
by: Sandman | last post by:
Just looking for suggestion on how to do this in my Web application. The goal is to keep track of what a user has and hasn't read and present him or her with new material I am currently doing...
3
by: TyBreaker | last post by:
I have a vbscript which returns the folder size of any folder instantly by referring to Folder.Size. I don't need any iteration or recursion through the subfolders, adding together individual file...
9
by: freduchi | last post by:
Hi, I need sugestions. I need to implement the next and I don´t know how to do it: I am developing a website in which users are signed up and share information(Messages, Photos...). When a...
12
by: John Kotuby | last post by:
Hi all, Maybe this is a simple problem found in ASP.NET 2.0 course 101, but I must have missed it. When I create a page in Visual Web Developer and use URLs like "/images/picture.gif " or a link...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.