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

Allows to delete a remote file.

 

 

Syntax

 

CHGVAR

VAR(&CMD) VALUE('FTPDELFILE')

CHGVAR

VAR(&PARM1) VALUE('

RemoteDir="Remote file to delete"

')

CHGVAR

VAR(&PARM2) VALUE(' ')

CALL

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

 

Parameters

 

Parameters

 

Parm1
or
Parm2

RemoteFile : Complete path from the FTP server root and name of the file to delete.

 

RESULT

Contains eventually error messages.

 

 

 

 

Example

LNCCMD CMD(FTPDELFILE) PARM1('RemoteFile="www/Data/temp/lnctoxls_test5.xlsx"')