Voor ophalen e.d. zou je net zo goed wget of rsync kunnen gebruiken.
Zijn het de files die je net gedownload hebt die je wil deleten, zou je rsync --delete kunnen gebruiken.
Als het nog iets ingewikkelder moet, kun je lftp gebruiken. Deze kan (-f) een aantal commando's uitvoeren, dan exiten.
En verder; iedere half decent FTP client accepteert ook stdin als commando's:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| Medusa:~$ ncftp <<EOF
> o ftp.belnet.be
> cd /pub
> ls
> bye
> EOF
NcFTP 3.2.4 (Apr 07, 2010) by Mike Gleason (http://www.NcFTP.com/contact/).
Connecting to 193.190.67.15...
Welcome to the BELNET public FTP cluster server ftp.belnet.be !
This archive is provided through a cluster of 12 double dual cores Intel Xeon
3 GHz processors machines, each having 4 GB of RAM. The 16 TB FTP archives
is taken from an iSCSI SATA SAN.
This cluster is located in Brussels, Belgium and operated by BELNET, the
belgian Education and Research Network. If you have any problem, question or
mirror request, please send them to ftpmaint@belnet.be
This archive is also available through the following means:
RSYNC rsync.belnet.be (IPv4)
HTTP http://ftp.belnet.be (IPv4 + IPv6)
FTP ftp://ftp.belnet.be (IPv4 + IPv6)
Note: opening too many parallel connections to this host is considered an abuse.
Currently used storage capacity : 17T
ProFTPD 1.3.2 Server (BELNET FTPD Server) [::ffff:193.190.67.15]
Logging in...
Anonymous access granted, restrictions apply
Logged in to ftp.belnet.be.
./ debian-cd/ mirror/ packages/
debian/ keepalive.txt mirrors/ pub/ |
[
Voor 71% gewijzigd door
Rainmaker op 27-12-2010 12:49
]
We are pentium of borg. Division is futile. You will be approximated.