NSX CLI Guide

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.

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>

Mode:

Basic

Availability: