164
Jetter AG
8 FTP client
Establishing a connection to the FTP server
Before data can be sent or received, a connection to the FTP server must be
established first. When establishing the connection, the client logs in to the
FTP server by a user name and a password (login).
Function
FtpConnect(
Const Ref
ServerAddr: String,
Const Ref
UserName: String,
Const Ref
PassWord: String):Handle;
Description of the function parameters:
Parameter
Value
Remarks
ServerAddr
IP address or name
Name resolution by DNS
server
UserName
User name for logon
Login
Password
Password for logon
Login
If the return value was positive, the connection could be established and login
was successful. If the return value was
0
, an error occurred and the
connection could not be established.
Return value
> 0
A positive return value must be stored in a variable. It must
be made available as a handle at activating the following
functions:
Terminating a connection
Reading a file from the FTP server
Writing a file to the FTP server
Deleting a file from the FTP server
Changing a directory on the FTP server
Creating a directory on the FTP server
Deleting a directory from the FTP server
Determining the current directory on the FTP
server
0
Error when establishing a connection or logging in to the FTP
server
Introduction
Function declaration
Function parameters
Return value
Содержание JC-120MC
Страница 1: ...User Manual JC 120MC Controller 60880901 We automate your success...
Страница 18: ......
Страница 40: ...40 Jetter AG 3 Identifying Hardware revisions see page 38 Related topics...
Страница 160: ......
Страница 186: ......
Страница 196: ......
Страница 395: ...Jetter AG 395 JC 120MC Programming Result When initializing the JX2 system bus the adjusted baud rate values were used...
Страница 485: ...Jetter AG 485 JC 120MC Programming Topic Page Programming 486 Registers 498 Contents...
Страница 521: ...Jetter AG 521 JC 120MC Programming Use 29 bit identifier Default 11 bit identifier...
Страница 586: ......
Страница 604: ......
Страница 633: ......