Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Track Images added to images folder and subfolders - send out email alerts

Reply
Thread Tools

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

 
 
Guest
Posts: n/a
 
      01-04-2005
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


 
Reply With Quote
 
 
 
 
Scott Allen
Guest
Posts: n/a
 
      01-04-2005
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
>



 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      01-04-2005
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

<> wrote in message
news:...
> 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
>
>



 
Reply With Quote
 
Guest
Posts: n/a
 
      01-04-2005
Ahhh...ok....thank you......but what if the folders are sitting with a
remote web host....is this still possible?


"Eliyahu Goldin" <> wrote in message
news:...
> 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
>
> <> wrote in message
> news:...
> > 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
> >
> >

>
>



 
Reply With Quote
 
Eliyahu Goldin
Guest
Posts: n/a
 
      01-04-2005
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

<> wrote in message
news:urA$...
> Ahhh...ok....thank you......but what if the folders are sitting with a
> remote web host....is this still possible?
>
>
> "Eliyahu Goldin" <> wrote in message
> news:...
> > 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
> >
> > <> wrote in message
> > news:...
> > > 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
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tomcat lib folder and subfolders grasp06110 Java 8 08-04-2009 06:58 AM
News Alerts.....News Alerts..... Leo C Programming 0 07-01-2009 09:19 PM
How to send email Alerts Automatically? Malik Asif Joyia ASP .Net 5 01-07-2005 03:24 PM
what module could easiely load all files to a @array from a specified folder(and subfolders)? Alont Perl Misc 13 09-24-2004 07:48 PM
ACLS for a folder and all subfolders and files (effective rights). Rick MCSE 0 03-02-2004 03:05 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57