示例#1
0
文件: ftp.py 项目: lecorguille/biomaj
 def __init__(self, protocol, host, rootdir):
     DownloadInterface.__init__(self)
     logging.debug('Download')
     self.crl = pycurl.Curl()
     url = protocol + '://' + host
     self.rootdir = rootdir
     self.url = url
     self.headers = {}
示例#2
0
 def __init__(self, protocol, host, rootdir):
     DownloadInterface.__init__(self)
     logging.debug('Download')
     self.crl = pycurl.Curl()
     url = protocol+'://'+host
     self.rootdir = rootdir
     self.url = url
     self.headers = {}
示例#3
0
 def __init__(self, rootdir):
     DownloadInterface.__init__(self)
     logging.debug('Download')
     self.rootdir = rootdir
示例#4
0
 def __init__(self, rootdir):
     DownloadInterface.__init__(self)
     logging.debug('Download')
     self.rootdir = rootdir
示例#5
0
 def __init__(self):
     DownloadInterface.__init__(self)
     self.downloaders = []
     self.files_to_download = []
示例#6
0
 def __init__(self):
     DownloadInterface.__init__(self)
     self.downloaders = []
     self.files_to_download = []