How to Specify Filenames and URLs
In some CLI commands and configuration statements—including
file copy,load,save,set system login useruser-nameauthenticationload-key-file, andrequest system software add—you can include a filename. You can specify a filename or URL in one of the following ways:
filename—File in the user's home directory (the current directory) on the local flash disk.path/filename—File on the local flash disk./var/filenameor/var/path/filename—File on the local hard disk.a:filenameora:path/filename—File on the local drive. The default path is/(the root-level directory). The removable media can be in MS-DOS or UNIX (UFS) format.hostname:/path/filename, hostname:filename, hostname:path/filename,orscp://hostname/path/filename—File on anscp/sshclient. This form is not available in the worldwide version of the JUNOS software. The default path is the user's home directory on the remote system. You can also specifyhostnameasusername@hostname.ftp://hostname/path/filename—File on an FTP server. You can also specifyhostnameasusername@hostnameorusername:password@hostname. The default path is the user's home directory. To specify an absolute path, the path must start with%2F; for example,ftp://hostname/%2Fpath/filename. To have the system prompt you for the password, specifypromptin place of the password. If a password is required, and you do not specify the password orprompt, an error message is displayed:user@host >file copy ftp://username@ftp.hostname.net//filenamefile copy ftp.hostname.net: Not logged in.user@host >file copy ftp://username:prompt@ftp.hostname.net//filenamePassword forusername@ftp.hostname.net: