Allows to put a local directory on a FTP server.
Syntax
CHGVAR |
VAR(&CMD) VALUE('FTPPUTDIR') |
CHGVAR |
VAR(&PARM1) VALUE(' LocalSrcDir="Local directory" RemoteDstDir="Remote directory" ') |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 &PARM2 &RESULT) |
Parameters
Parameters |
|
Parm1 |
LocalSrcDir : Complete path and name of the local directory containing files to put on the FTP server.
RemoteDstDir : Complete path from the FTP server root (‘/’) and name of the new directory containing files put on the FTP server.
|
RESULT |
Contains eventually error messages.
|
|
|
Example
LNCCMD CMD(FTPPUTDIR) PARM1('LocalSrcDir="C:\temp\suivi5";RemoteDstDir="/www/Data/temp+
/suivi5R"')