usr bin env python import os DOWNLOADS_LIST ftp ftp linux16 net linux1

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python
import os
DOWNLOADS_LIST = (
'ftp://ftp.linux16.net/linux16.net/Games/Live-0.9.3/lg-live-0.9.3.iso',
'ftp://ftp.linux16.net/linux16.net/OS-Zone/BSD/DesktopBSD/1.6/DesktopBSD-1.6-i386.iso',
'ftp://ftp.linux16.net/linux16.net/OS-Zone/BSD/PC-BSD/7.0/PCBSD7-x86-DVD.iso',
'ftp://ftp.linux16.net/linux16.net/OS-Zone/Solaris/2008/osol-0811-ai.iso',
'ftp://ftp.linux16.net/linux16.net/OS-Zone/Solaris/2008/osol-0811-global.iso',
'ftp://ftp.linux16.net/linux16.net/OS-Zone/Solaris/2008/osol-0811.iso',
'ftp://ftp.linux16.net/linux16.net/OS-Zone/Linux/LG3D/2.3/Lg3D_2.3.iso',
)
print '=== START DOWNLOADING ==='
for url in DOWNLOADS_LIST:
print '=' * 20
print '= Downloading: %s =' % url
print '=' * 20
os.system('wget -c %s' % url)
print '=== END ==='
print '=== DOWNLOADING COMPLETE ==='