Ftp file transfer, Quote site command, Chapter 1 – Technicolor - Thomson SpeedTouch 585 User Manual
Page 20
12
E-DOC-CTC-20051017-0147 v2.0
Chapter 1
Getting to know your SpeedTouch™
FTP file transfer
To allow correct file transfers, set the transfer mode to “binary”: at the ftp prompt,
type
bin
and press ENTER.
Example.
Quote site command
All the CLI commands can be executed from within an FTP session. Only complete
CLI commands (in other words, the complete command syntax with all the
parameters already specified) can be executed.
Example: To execute the CLI command
:ip iplist
to list all IP addresses
currently assigned to SpeedTouch™ interfaces, at the FTP prompt, type ‘quote site
ip iplist’ and press ENTER.
For more information on CLI commands, see the SpeedTouch™ CLI Reference
Guide.
Turn on the hashing option to see the progression of the file transfer: At the
ftp prompt, type
hash
and press ENTER.
/home/doejohn{1}$ftp 192.168.1.254
Connected to 192.168.1.254
220 Inactivity timer = 120 seconds. Use 'site idle
Name (192.168.1.254:doejohn):
331 SpeedTouch™
(00-90-D0-01-02-03) User 'doejohn' OK. Password requir
ed.
Password : ######
330 OK
ftp>
ftp>bin
200 TYPE is now 8-bit binary
ftp>
ftp>hash
200Hash mark printing on (8192 bytes/hash mark).
ftp>cd dl
250 Changed to /dl
ftp>put C:\user.ini
200 Connected to 192.168.1.10 port 1271
150 Opening data connection for user.ini
226 File written successfully
ftp: 256 bytes sent in 0,000Seconds 256000,000Kbytes/sec.
ftp>
ftp>
quote site ip iplist
200- Interface
Type
IP-address
Point-to-point/Mask
200- 2
LocalNetwork
Ethernet
10.0.0.138
255.255.255.0
200- 2
LocalNetwork
Ethernet
*192.168.1.254
255.255.255.0
200- 1
Internet
Serial
81.240.198.191
81.240.198.1
200- 0
loop
Internal
127.0.0.1
255.255.255.255
200-
200 CLI command "ip iplist" executed
ftp>