File Delivery Notification
November 28, 2011 4:44 PM   Subscribe

Group A create a file and post it to location X on a shared server. Group B need to know immediately when this file is available at location X. It seems crazy that in order for Group B to know when the file is ready, Group A have to send a delivery email as well as post the file. Is there any way an automated notification can be sent when a file is posted to a folder?
posted by forallmankind to Computers & Internet (9 answers total) 2 users marked this as a favorite
I use Dropbox and it does a dandy job!
posted by Gusaroo at 4:49 PM on November 28, 2011

Can you use a different server? Dropbox will do this if you have the client installed- it'll pop up a small notification for each file uploaded/received which makes collaboration super fast.
posted by suedehead at 4:49 PM on November 28, 2011

What operating system? If it's linux you could make a shell script using inotify. If it's not, you can make a script (in whatever scripting language is available on your server) that polls the directory occaisonally looking for new files, and emailing the person when it's there. I'd probably use python or perl or something if bash wasn't available (and it usually is, you can get cygwin for windows, for example)
posted by RustyBrooks at 4:52 PM on November 28, 2011

Also depending on how the file is "posted" you could also probably make a script that posts and sends the email for you in one step.

I'd be happy to help you work out the details of how you'd do any of the above if you need it.
posted by RustyBrooks at 4:53 PM on November 28, 2011

For Linux inotify + cronjob = incron.
posted by holgate at 4:54 PM on November 28, 2011 [1 favorite]

Automator can be used to set up a script that runs when Group A drags a file onto a folder (such as a folder on a network share). The script could fire off an email to Group B when activated.
posted by Blazecock Pileon at 5:21 PM on November 28, 2011

My workplace uses SharePoint and it has customizable notification settings.
posted by rabbitrabbit at 6:26 PM on November 28, 2011

For enterprise Windows environments, ActiveBatch works great. We'll need to know more information on this however, in particular what OS your workstations and fileservers are running. From there you can have a custom script (vbs, powershell, csh, apple, etc) or a commercial solution that watches a folder for changes, and once triggered, and acts upon those changes. Very doable, but will have to be tailored to your environment.
posted by samsara at 8:24 AM on November 29, 2011

If this is a nix server then cron job's are the way to go.
Even on windows servers I'm sure there's some kind of a built in scheduler/script feature.
posted by WizKid at 2:17 PM on November 30, 2011

« Older Candle: thoughtful or crude?   |   A German *Thing* is Desired Newer »
This thread is closed to new comments.