Can anyone help on this,
I want to move the file (it could me xml or flatfile) from FTP server '\ftp.xxx.com' to windows directory '\C'.
I tried by moving from shared directory to another directory by using below command and got succeeded.
exec('cmd.exe','move "[SOURCE PATH]\[SRCFILE NAME] " "[TARGET PATH]\[TARGET FILE NAME]"');
but how to move from FTP server to windows directory?