This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Fri Jul 26, 2002 2:57 pm
Is it possible to make the bot do commands on the shell account? Like lynx, gunzip etc... if it is.. how?
Elen sila lúmenn' omentielvo
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Fri Jul 26, 2002 4:37 pm
Yes it is and no it isn't.
It all depends what you want to do with them, how they interact with the shell and if you have access.
For gunzip, you can use commands provided by the compress module.
For lynx, you could use the http package provided by Tcl.
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Sun Jul 28, 2002 9:46 am
I've tried doing wat u said... but it wont work, or I'm doing something wrong....
What I want to do is make the bot download a *.gz file and then unzip it to get hold of the data contained within... The .gz file is updated every hour, and it contains alot of info.
Elen sila lúmenn' omentielvo
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Sun Jul 28, 2002 11:15 am
What exactly have you done?
GodOfSuicide
Master
Posts: 463 Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria
Post
by GodOfSuicide » Sun Jul 28, 2002 1:04 pm
my typ : try it with crontab..
there u an implement those 2 :
wget <url>
tar <settings> <file>
mfg g0s
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Tue Jul 30, 2002 9:18 am
thx GodOfSuicide.. it worked
only u forgot to add: rm -rf <file>
wouldn't take to long to fill up the shell when the bot downloaded a 250 kb file every 10 mins
Elen sila lúmenn' omentielvo
GodOfSuicide
Master
Posts: 463 Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria
Post
by GodOfSuicide » Tue Jul 30, 2002 2:11 pm
np
i think yer shell provider would be glad if he hears about