Sk8er_Square
03-13-2008, 08:41 AM
hey guys! This is my first time on the forums - and im very new to java - but i am looking at doing something which looks tricky but probably isnt that hard.
I currently work at Drytron and because its a franchise system we have to download the next days work from the website every afternoon - as we now have around 8 franchises its becoming difficult to go through onto every account and manually download and print 2 copies of each - every day.
So i planned on making an applet which will automatically do it at a specified time every day - automatically log in and print off the pdf's (which are labelled:
"V1_14032008.pdf"
14032008 - being tomorrows date for tomorrows jobs (each day it increments of course)
They all have that title just depends on who you log on as.
http://www.drytroncc.com.au/jobsys/index.cfm?FuseAction=act_download&folder=summaries&file=V1_14032008.pdf
will just get you a logon screen.
By typing in www.drytroncc.com.au and looking at the source can anyone tell me if its possible to type in something like:
http://www.drytroncc.com.au/jobsys/index.cfm?username=XXXX&password=XXXX&FuseAction=act_download&folder=summaries&file=V1_14032008.pdf
which will just hot link me to each of those files?
then i will have to make a code to increment the date of that pdf file
and something to print 2 copies.
Any help even if you help me with one part would be appreciated.
Cheers
-Rj
I currently work at Drytron and because its a franchise system we have to download the next days work from the website every afternoon - as we now have around 8 franchises its becoming difficult to go through onto every account and manually download and print 2 copies of each - every day.
So i planned on making an applet which will automatically do it at a specified time every day - automatically log in and print off the pdf's (which are labelled:
"V1_14032008.pdf"
14032008 - being tomorrows date for tomorrows jobs (each day it increments of course)
They all have that title just depends on who you log on as.
http://www.drytroncc.com.au/jobsys/index.cfm?FuseAction=act_download&folder=summaries&file=V1_14032008.pdf
will just get you a logon screen.
By typing in www.drytroncc.com.au and looking at the source can anyone tell me if its possible to type in something like:
http://www.drytroncc.com.au/jobsys/index.cfm?username=XXXX&password=XXXX&FuseAction=act_download&folder=summaries&file=V1_14032008.pdf
which will just hot link me to each of those files?
then i will have to make a code to increment the date of that pdf file
and something to print 2 copies.
Any help even if you help me with one part would be appreciated.
Cheers
-Rj