PreviousNext
Help > Programming with LAUNCHER Office > LNCCMD commands > Commands list > FTPDELDIR command
FTPDELDIR command

Allows to delete a remote directory.

 

 

Syntax

 

CHGVAR

VAR(&CMD) VALUE('FTPDELDIR')

CHGVAR

VAR(&PARM1) VALUE('

RemoteDir="Remote directory to delete"

')

CHGVAR

VAR(&PARM2) VALUE(' ')

CALL

PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 &PARM2 &RESULT)

 

Parameters

 

Parameters

 

Parm1
or
Parm2

RemoteDir : Complete path from the FTP server root and name of the directory to delete.

 

RESULT

Contains eventually error messages.

 

 

 

 

Example

  LNCCMD     CMD(FTPDELDIR) PARM1('RemoteDir="/www/Data/temp/Suivi5"')