Nortel Proprietary
Multiple File Transfer using FTP
To transfer multiple files using ftp, use the
mput or mget
commands instead of
put
and get commands respectively. To speed up this process, first use the
prompt
command which will turn off interactive mode. i.e. you will not be requested for
confirmation of each file transfer.
Note:
By turning off interactive mode, the FTP transfer will automatically
overwrite any files of the same name in the target directory.
Figure 34 below shows an example of a multiple file transfer. In this case the
transfer is of multiple .mcf files to the “/C:/TUI/CUSTOM” directory. <Card IP
Address> is the IP Address of the Nortel Remote Agent Observe card.
ftp <Card IP Address>
Connected to <Card IP Address>.
220 VxWorks FTP server (VxWorks 5.4) ready.
Name (<Card IP Address>.:hansha): raoadmin
331 Password required
Password:
230 User logged in
ftp> bin
200 Type set to I, binary mode
ftp> cd "/C:/TUI/CUSTOM"
250 Changed directory to "<directory path>""
ftp> prompt
Interactive mode off.
ftp> mput *.mcf
200 Port set okay
150 Opening BINARY mode data connection
226 Transfer complete
local: 10.mcf remote: 10.mcf
2520 bytes sent in 0.038 seconds (65.33 Kbytes/s)
200 Port set okay
150 Opening BINARY mode data connection
226 Transfer complete
local: 11.mcf remote: 11.mcf
2160 bytes sent in 0.032 seconds (65.00 Kbytes/s)
...
...
...
...
200 Port set okay
150 Opening BINARY mode data connection
226 Transfer complete
local: ffffffff.mcf remote: ffffffff.mcf
2880 bytes sent in 0.022 seconds (125.37 Kbytes/s)
ftp> bye
221 Bye...see you later
Figure 34 Example of multiple file transfer using FTP
Planning, Installation and Administration Guide
90