fileTransfer: Upload or download files.

Usage Arguments Note Examples

Usage

1
fileTransfer(from = ".", to = ".", user, file)

Arguments

from

Source location (local path or remote FQDN and path) of file.

to

Target location (local path or remote FQDN and path) of file.

file

File name - a character string.

Note

File transfer is implemented by 'scp' with public key based authentication so it is limited only to Linux based DSVM at the moment.

Examples

1
2
3
4
5
## Not run: 
# copy a file named "script.R" from local current working directory to 
remote (e.g., IP address is 192.168.19.1) home directory.
fileTransfer(from=".", to="192.168.19.1:~", user="admin", file="script.R")
## End(Not run)

Azure/AzureDSVM documentation built on May 20, 2019, 2:03 p.m.