Download data to cloud

operators.sys.download_data_to_cloud(client, url='', destination='data', protocol='', download_type=0, username='', password='', port=21, instance_type='x2large')

download_data_to_cloud( client,
url=’’,
destination=’data’,
protocol=’’,
download_type=0,
username=’’,
password=’’,
port=21,
instance_type=’x2large’ )
Parameters:
  • url – URL to data

  • destination – Destionation location on host. default folder: ./data

  • protocol – protocol: : automatically try to infer protocol, ftp: ftp, sftp: sftp

  • download_type – download type: 0: all files from folder, 1: individual file

  • username – Username

  • password – Password

  • port – port

  • instance_type – type of cloud instance used for processing