song/commands/FileDownload.py
def file_download_using_wget(self,url):
		'''It will download file specified by url using wget utility of linux '''
		file_name=url.split('/')[-1]
		print 'Downloading file %s '%file_name
		command='wget -c --read-timeout=50 --tries=3 -q --show-progress --no-check-certificate '
		url='"'+url+'"'
		command=command+url
		os.system(command)
def file_download_using_wget(self,url):
		'''It will download file specified by url using wget utility of linux '''
		file_name=url.split('/')[-1]
		print 'Downloading file %s '%file_name
		command='wget -c --read-timeout=50 --tries=3 -q --show-progress --no-check-certificate '
		url='"'+url+'"'
		command=command+url
		os.system(command)
def file_download_using_wget ( self , url ) : file_name = url . split ( '/' ) [ - 1 ] print 'Downloading file %s ' % file_name command = 'wget -c --read-timeout=50 --tries=3 -q --show-progress --no-check-certificate ' url = '"' + url + '"' command = command + url os . system ( command )
It will download file specified by url using wget utility of linux
It will download file specified by url using wget utility of linux