FTP_Command

<< Click to Display Table of Contents >>

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

FTP_Command

 

Description

 

Sends a command to the FTP server

 

Syntax

 

n = FTP_Command(sCommand)

 

Returns

 

Number.

A non-negative return code indicates that the server has accepted the command

Return < 0 : An error has occurred. Call FTP_GetErrorString.

 

Parameters

 

Name

Type

Optional

Meaning

sCommand

String

No

The command text that must be sent to FTP server

 

Remarks

 

Command length can be up to 128 char.

Command text must be recognized by the FTP server

 

Restrictions

 

See also

 

Examples