Petite correction après mise en prod
This commit is contained in:
parent
769778cfc3
commit
01c88b1963
2
README
2
README
@ -114,7 +114,7 @@ Send Options list (in)
|
||||
- CopyAddDate - Copy file and add a timestamp to the end of the filename
|
||||
- CopyDeleteAfter - After copying the file delete it in repository
|
||||
- RunWithEndFile - Only execute action when we receive file with extension .fin or .end
|
||||
- Log - Log transfert disable by default
|
||||
- Log - Log transfert
|
||||
- Route - For each Route options (cp, ftp, sftp, mail)
|
||||
cp => realpath of dir
|
||||
ftp
|
||||
|
@ -105,7 +105,7 @@ return array(
|
||||
'type' => 'FTP',
|
||||
'in' => array(
|
||||
'FilterName' => true,
|
||||
'Route' => array( 'cp' => '/home/data/clients-ftp/vwbeng/send' ),
|
||||
'Route' => array( 'cp' => '/home/data/clients-ftp/vwbank/send' ),
|
||||
'CopyDeleteAfter' => true,
|
||||
),
|
||||
'out' => array(),
|
||||
|
@ -121,12 +121,12 @@ if ( isset($opts->file) )
|
||||
// --- Filters
|
||||
if ($optionsFilterName === true) {
|
||||
if ( strpos($filenameIn, $prestation) === false ) {
|
||||
exit;
|
||||
$prestation = null; continue;
|
||||
}
|
||||
}
|
||||
if (is_string($optionsFilterName) && strlen($optionsFilterName) > 0) {
|
||||
if (strpos($filenameIn, $optionsFilterName) === false) {
|
||||
exit;
|
||||
$prestation = null; continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user