HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 70
Display detailed information about the files and subdirectories under the current working directory
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 70 highlights
Default level 3: Manage level Parameters remotefile: Name of the file or directory on the remote FTP server. localfile: Name of the local file to save the displayed information. Description Use dir to display detailed information about the files and subdirectories under the remote FTP server's current working directory. Use dir remotefile to display detailed information about a specific file or directory on the remote FTP server. Use dir remotefile localfile to save detailed information about a specific file or directory on the remote FTP server to a local file. The Is command displays only the names of files and directories. The dir command can display other related information of the files and directories, such as the size, and the date they were created. Examples # Display detailed information about the files and subdirectories under the current working directory on the remote FTP server. [ftp] dir 227 Entering Passive Mode (192,168,1,46,5,68). 125 ASCII mode data connection already open, transfer starting for /*. drwxrwxrwx 1 noone nogroup 0 Aug 08 2006 logfile -rwxrwxrwx 1 noone nogroup 20471748 May 11 10:21 test.bin -rwxrwxrwx 1 noone nogroup 4001 Dec 08 2007 config.cfg -rwxrwxrwx 1 noone nogroup 3608 Jun 13 2007 startup.cfg drwxrwxrwx 1 noone nogroup 0 Dec 03 2007 test -rwxrwxrwx 1 noone nogroup 299 Oct 15 2007 key.pub 226 Transfer complete. FTP: 394 byte(s) received in 0.189 second(s), 2.00K byte(s)/sec. [ftp] # Save information about file ar-router.cfg to local file aa.txt. [ftp] dir ar-router.cfg aa.txt 227 Entering Passive Mode (192,168,1,50,17,158). 125 ASCII mode data connection already open, transfer starting for /ar-router.cfg. ....226 Transfer complete. FTP: 67 byte(s) received in 4.600 second(s), 14.00 byte(s)/sec. # View the content of aa.txt. [ftp] quit more aa.txt -rwxrwxrwx 1 noone nogroup 3077 Jun 20 15:34 ar-router.cfg 63