RAW

Top  Previous  Next

RushApp.FTP.RAW

 

Declare

procedure RAW(NameList: string; Param: string; Flag: Integer);

 

Description

Send raw command to all or specical connected/idle FTP Servers, if Param ANameList is empty string then send to all connected/idle FTP servers. this function will not send raw command to transfering connections.

 

Parameters

NameList

Specifies which FTP to send raw command, you can use a splitter to connect multiple FTP servers, if it's empty then send to all connected idle FTP servers

Param

Specifies a raw command to send

Flag

if you don't use Flag, use zero instead of it

 

RS_LOGIN

if no specifies FTP connected, then connect it first

 

RS_LOGOUT

disconnect after executed raw command

 

RS_POPUP

to bring FTPRush on top

 

RS_ONE

to only allow to execute command on one connected site even if there have 2+ same sites connected

 

Examples

//send 'NOOP' to all connected non-transfering connections

RushApp.FTP.RAW('','NOOP',0);

 

//send 'NOOP' to all connected non-transfering connections then logout

RushApp.FTP.RAW('','NOOP',RS_LOGOUT);

 

//connect to 'FTP1' and send 'NOOP'

RushApp.FTP.RAW('FTP1','NOOP',RS_LOGIN);

 

//connect to 'FTP1' and 'FTP2', send 'NOOP', then logout

RushApp.FTP.RAW('FTP1;FTP2','NOOP',RS_LOGIN or RS_LOGOUT);