FTP_Connect

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > FTP (File Transfer Profotol) >

FTP_Connect

 

Description

 

Try to connects to a FTP server.

 

Syntax

 

nRet = FTP_Connect(Server, User, Password)

 

Returns

 

Number

A value < 0 indicates an error

Use FTP_GetErrorString(nRet) to get info about the error code

 

Parameters

 

Name

Type

Optional

Meaning

Server

String

No

Name or IP of the FTP server

User

String

No

User name

Password

String

No

User password

 

Remarks

 

Restrictions

 

See also

 

Examples