Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 97

Advertising
background image

Chapter 6

Using the Ethernet Interface

6-16

FTP Get Session

The following example shows how you might conduct an FTP get session.

Important: The following

ftp

get session is an example only. It

represents how one network is set up and we accomplished an FTP session.

For this example session, we continue the previous FTP send session and
retrieve the file we sent to a remote directory.

1.

At the

ftp

prompt, type

get

and press

[Return]

. See Figure 6.16.

Figure 6.16

FTP Get

2.

At the

(

remote-file

)

prompt, enter the name of the file that you

want to transfer from the remote host.

3.

At the

(

local-file

)

prompt, enter the name that you want to

assign the file on the control coprocessor. You get a listing of user
information confirming the transfer.

4.

At the

ftp

prompt, type

close

and press

[Return]

to close the

connection to the remote host. The

Goodbye

line confirms the

termination of the connection.

5.

At the

ftp

prompt, type

quit

and press

[Return]

to exit FTP. The

OS-9

$

prompt appears.

6.

At the

$

prompt, type

list

hosts.othernode

and press

[Return]

to view the contents of the file just received from the

remote system. It is the same as the file sent.

Advertising