Download Note - MATsolutions

Transcript
R&S FSU
LAN Interface
Remote Data Transfer with TCP/IP Services
The protocol TCP/IP allows the transfer of files between different computer
systems. This requires a program running on the two computers that controls
this data transfer. It is not necessary that the same operating or file system is
used by both computers. For example, a file transfer between DOS/WINDOWS
and UNIX is possible. One of the two partners must be configured as Host and
the other one as Client. However, they may change their roles. Usually, the
system which is able to perform several processes at the same time will play
the host role. The file transfer program usually used under TCP/IP is FTP (File
Transfer Protocol). An FTP host is installed as standard on the majority of UNIX
systems.
If the TCP/IP services are installed, a terminal connection is possible using Start
- Programs - Accessories - Telnet or a data transfer via FTP by means of Start
- Run ftp - OK. Thus all computer systems supporting these universal protocols
can be addressed (UNIX, VMS, etc).
For further information, refer to the corresponding XP literature.
File Transfer via FTP
The total scope of functions and commands is described in the FTP literature.
The following table therefore only contains the major functions:
Setting up the connection
➢ Click Start and then Run in the task bar.
➢ The DOS command FTP starts the program.
➢ The command OPEN <xx.xx.xx.xx> sets up the connection. (xx.xx.xx.xx
= IP address e.g. 89.0.0.13)
Data transfer
•
The command PUT <file name> transfers the data to the target system.
•
The command GET <file name> transfers the data from the target
system.
•
The command TYPE B transfers the data in BINARY format; no conversion
takes place.
•
The command TYPE A transfers the data in ASCII format, converting control
characters so that text files can also be read on the target system.
Examples
PUT C:\AUTOEXEC.BAT
sends the file AUTOEXEC.BAT to the target system.
LCD DATA
changes the current directory on the local machine to subdirectory DATA
CD SETTING
changes to the subdirectory SETTING on the target system
file name = file name e.g. DATA.TXT
1166.1725.12
4.255
E-2