Classes
download([is_library]) |
Resource for downloading files from Box, SSH, REDCap and others. |
imhr.Webgazer.download.download(is_library=False)[source]¶Bases: object
Resource for downloading files from Box, SSH, REDCap and others.
Methods
Methods
REDCap(path, token, url, content[, payload]) |
Download data from an Research Electronic Data Capture (REDCap) server. |
SFTP(source, destination, hostname, …) |
Connect to a remote server using a Secure File Transfer Protocol (SFTP). |
box(source, destination, server, username, …) |
Connect to Box cloud cloud storage service, using File Transfer Protocol over SSL (FTPS). |
REDCap(path, token, url, content[, payload]) |
Download data from an Research Electronic Data Capture (REDCap) server. |
SFTP(source, destination, hostname, …) |
Connect to a remote server using a Secure File Transfer Protocol (SFTP). |
box(source, destination, server, username, …) |
Connect to Box cloud cloud storage service, using File Transfer Protocol over SSL (FTPS). |
REDCap(path, token, url, content, payload=None, **kwargs)[source]¶Download data from an Research Electronic Data Capture (REDCap) server.
| Parameters: |
|
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Returns: |
|
SFTP(source, destination, hostname, username, password, **kwargs)[source]¶Connect to a remote server using a Secure File Transfer Protocol (SFTP).
| Parameters: |
|
||||
|---|---|---|---|---|---|
| Returns: |
|
Examples
>>> name='r33'; source='/home/utweb/utw1211/public_html/r33'; d='/Users/mdl/Desktop/r33/'; un='utw1211'; pwd='43#!9amZ?K$'
>>> log, start, end, now = download.SFTP(source=s, destination=d, hostname=hostname, username=un, password=pwd)
box(source, destination, server, username, password)[source]¶Connect to Box cloud cloud storage service, using File Transfer Protocol over SSL (FTPS).
| Parameters: |
|---|
Notes