System Administration > Lifecycle Management > Nodes > File Store

copy url <url> [file <filename>]

Copy a remote file to the local file store. If no destination file is specified, the copied file has the same file name as the source file. You can use the file argument to specify a different destination file name.
To specify IPv6 remote addresses, url server should be enclosed between square brackets.

Parameters:

Option Description
<url> Remote file url (e.g. scp://username@ip_address/filepath/filename)
<filename> Filename argument
Allowed pattern: ^[^/ *;&|]+$


Example:

nsx> copy url scp://[email protected]/home/admin/file-0.txt [email protected]'s password: nsx> or nsx> copy url scp://[email protected]/home/admin/file-1.txt file newfile-1.txt [email protected]'s password: nsx> or nsx> copy url scp://admin@[fd01:1:2:2919:0:a:0:d03]/home/admin/file-1.txt file newfile-1.txt admin@fd01:1:2:2919:0:a:0:d03's password:

Mode:

Basic

Availability: