What exactly do you mean? You can just start lynx, set it to get data,Quote:> Well since the wide expansion of the WWW many companies instead
> of ftp sites they've put up WWW sites with big files (over 1-2MB) only
> available there and not via ftp which can be done in the background.
> Since I have a tia connection with the internet and a max of 2h
> per day in the quite slow Greek network (2x64k) I was wondering if there
> is an application, which can be installed on the server, which like the
> ftp, can open http sites, and get the files available there but can be
> sent to bg (lynx can not be sent in bg !)
- Jesper.
-------------------------------------------------
-------------------------------------------------
Installed on the server? What do you mean? If you just want to download
files in the background why don't you use virtual terminals for example.
--
--
|-=-| Finger -> PGP GeekCode etc|-=-|-=-| Carnegie Mellon University|-=-|
|-=-| "You've already Lost" |-=-| Beautiful, Reautiful Rynny ;) |
\- http://www.contrib.andrew.cmu.edu/~cc8m/ -/
>> Installed on the server? What do you mean? If you just want to download
>> files in the background why don't you use virtual terminals for example.
>I believe he wants a program which could be run on his shell account, and
>backgrounded so that he can logout and let the process complete itself
>without using up his time. Not the most ethical thing from a sysadmin's
>point of view, but understandable. I have no idea about the answer however.
---------------------------------------------------------------------------
require 'sys/socket.ph'; ($name, $aliases, $port) = getservbyname($port, 'tcp') unless $port =~ /^\d+$/; socket(S, &AF_INET, &SOCK_STREAM, $proto) || die "socket: $!"; printf S "GET %s \r\n",$page; --------------------------------------------------------------------------- simple, isn't it ? --
#!/usr/bin/perl
# HTgetpage page server [port]
die "usage: HTgetpage page server [port]" unless $page;
$port=http unless $port;
$sockaddr = 'S n a4 x8';
($name, $aliases, $type, $len, $thataddr) = gethostbyname($them);
$that = pack($sockaddr, &AF_INET, $port, $thataddr, 0);
connect(S, $that) || die "connect: $!";
select(S); $| = 1;
print stdout $_ while(<S>);
do use it in the background simple do a `nohup HTgetpage .... & '
(e.g. nohup HTgetpage /users/ccrlphr/ www.xensei.com & ) and you will find
the result in nohup.out. If you need to get a page and all linked pages
on the same server (and restricted to a special subdir) then you can use a script
you will find on my homepage. You can do a mirroring of a server restricted
to a special subdir and starting with a special page with it.
Steffen Ullrich
http://www.xensei.com/users/ccrlphr/
I think he wants to start dl on his account on his provider, and get
transfer it from his provider to his home machine at once when it is
finished, or similar.
Or he wants to do something like nhoup <script which does ftp
automagically>& or nohup ncftp <options> & and similar.
Heiko
--
| Es hat mich frueher aufgeregt wenn etwas mal nicht klappte. |
| Das hat sich Gott sei Dank gelegt befor ich ueberschnappte. |
------------------------------------------------------------------------
: > Well since the wide expansion of the WWW many companies instead
: > of ftp sites they've put up WWW sites with big files (over 1-2MB) only
: > available there and not via ftp which can be done in the background.
: > Since I have a tia connection with the internet and a max of 2h
Wher can I get lynx????????? (IRC for terminals)???
phil
1. GETSERVBYNAME()????????????????????"""""""""""""
Hi,
Does anyone know why
struct servent *serv;
serv=getservbyname("exec","tcp");
gives a warning err of incomparible pointer type?
I also can't get rexec to function. It compiles ok....
Thanks
Kirk
2. Code to print call stack when signal received ?
3. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""
4. Hinote CS450
5. running a process in the background and "nice"ing it...
7. "Owners" and "Buddy"ing at Microsoft
8. HOW FIX? -Can't get Solaris CDE xdm login on xterms
9. Problem "mv"ing to DOS partition, "cp" is ok....
10. Type "(", ")" and "{", "}" in X...
11. "umsdos" vs "vfat" vs "looped ext2"
12. "Novell-like","non-TCP/IP","networking" OS to place Unix
13. "netstat -nr" should show "default" or "0.0.0.0"?