Skip to Content
0
Sep 14, 2018 at 01:41 PM

Hi All, I want to move to archive folder in remote unix server using BODS.Please help me on this.

199 Views

Am approaching below pattern.

$G_Source_Path = '//Server/Input';

$G_Archive_Path = '//Server/Archive';

$G_FILE_NAME = 'xyz.txt';

exec ('sh', '-c "mv [$G_Source_Path]/[$G_FILE_NAME] [$G_Archive_Path]"',8);

When i ran the above script it is returning no such file or directory. But the file exist in that remote server folder.

Thanks,

Srinath.