UC-7420/7410 User’s Manual

Getting Started

Uploading tcps2-release and Running the Program

Use the following commands to use FTP to upload tcps2-releaseto the UC-7420/7410.

1.From the PC, type:

#ftp 192.168.3.127

2.Next, use the bin command to set the transfer mode to Binary, and the put command to initiate the file transfer:

ftp> bin

ftp> put tcps2-release

root@server11:/home/uc7400/1st_application

[root@server11 1st_application]# ftp 192.168.3.127 Connected to 192.168.3.127

220 Moxa FTP server (Version wu-2.6.1(2) Mon Nov 24 12:17:04 CST 2003) ready. 530 Please login with USER and PASS.

530 Please login with USER and PASS.

KERBEROS_V4 rejected as an authentication type Name (192.168.3.127:root): root

331 Password required for root. Password:

230 User root logged in. Remote system type is UNIX.

Using binary mode to transfer files. ftp> bin

200 Type set to I. ftp> put tcps2-release

local: tcps2-release remote: tcps2-release

277 Entering Passive Mode (192.168.3.127.82.253)

150Opening BINARY mode data connection for tcps2-release.

226Transfer complete

4996 bytes sent in 0.00013 seconds (3.9e+04 Kbytes/s) ftp> ls

227Entering Passive Mode (192.168.3.127.106.196)

150Opening ASCII mode data connection for /bin/ls.

-rw-------

1

root

root

899 Jun 10 08:11 bash_history

-rw-r--r--

1

root

root

4996 Jun 12 02:15 tcps2-release

226 Transfer complete

 

 

ftp>

 

 

 

 

 

 

3.From the UC-7420/7410, type:

#chmod +x tcps2-release

#./tcps2-release &

192.168.3.127 – PuTTY

root@Moxa:~# ls –al

root

0

Jun 12 02:14

drwxr—xr-x

2

root

drwxr—xr-x 15 root

root

0

Jan

1

1970

-rw-------

1

root

root

899 Jun 10 08:11 .bash_history

-rw-r--r--

1

root

root

4996 Jun 12 02:15 tcps2-release

root@Moxa:~# chmod +x tcps2-release

 

 

root@Moxa:~# ls -al

root

0

Jun 12 02:14

drwxr—xr-x

2

root

drwxr—xr-x 15 root

root

0

Jan

1

1970

-rw-------

1

root

root

899 Jun 10 08:11 .bash_history

-rwxr-xr-x

1

root

root

4996 Jun 12 02:15 tcps2-release

root@Moxa:~#

2-17

Page 37
Image 37
Moxa Technologies UC-7420/7410 user manual Uploading tcps2-release and Running the Program, PuTTY