Reply LinkBack Thread Tools Search this Thread
Old 18-06-2008, 23:08   #1 (permalink)
untitled10101
Registered User
 
Join Date: Jun 2008
Posts: 3
Want email when new file on server present

Hello Guys,

I was wondering whether there is some script or something that I can run on my site.

I basically have a form that generates a pdf on my server. The only problem is that I have to log in to the server to retrieve the file.

Is there some script I can run that will just automatically email me the file?

I am using a linux server. I can use PHP or mysql. I also have access to cpanel

Thanks
  Reply With Quote
Old 18-06-2008, 23:45   #2 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
Why can't you alter the script to do just that - generate the PDF and email it to you? Or at least email you an alert?

If you can't alter the script, perhaps you could set up a cron job to check for a PDF in a given location every hour or so and email you if it finds one?
  Reply With Quote
Old 19-06-2008, 00:08   #3 (permalink)
untitled10101
Registered User
 
Join Date: Jun 2008
Posts: 3
Quote:
Originally Posted by pgo
If you can't alter the script, perhaps you could set up a cron job to check for a PDF in a given location every hour or so and email you if it finds one?

That's what I would like to do, but how?
  Reply With Quote
Old 19-06-2008, 00:29   #4 (permalink)
Hunch
Grumpy old man
 
Hunch's Avatar
 
Join Date: Oct 2007
Location: North Japan
Posts: 1,617
Why can't you alter the script like pgo suggested? It's by far the best option.
  Reply With Quote
Old 19-06-2008, 00:36   #5 (permalink)
untitled10101
Registered User
 
Join Date: Jun 2008
Posts: 3
Quote:
Originally Posted by Hunch
Why can't you alter the script like pgo suggested? It's by far the best option.

Because my programming skills suck.

I can alter something to my needs if it is already there. I can't write it from scratch.

Thanks
  Reply With Quote
Old 19-06-2008, 01:27   #6 (permalink)
haku
shiro
 
haku's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,193
Sounds like it's probably going to cost you a few bucks then, unless you can find a pre-existing script to do it for you, although I don't imagine you will have an easy time finding such a script, as what you are looking for is somewhat customized.
__________________
This space for rent.

Don't click this link.
Dudes Japan
  Reply With Quote
Old 19-06-2008, 05:49   #7 (permalink)
Hunch
Grumpy old man
 
Hunch's Avatar
 
Join Date: Oct 2007
Location: North Japan
Posts: 1,617
Quote:
Originally Posted by untitled10101
Because my programming skills suck.

I can alter something to my needs if it is already there. I can't write it from scratch.


Post the script you have (the pdf generator) and maybe we can make some suggestions. Doing new things is the best way to learn.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8