Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Move file from one folder to another folder

$
0
0

1. call exec('unzip','filename.zip',8);--> To unzip the file using linux unzip command.
2. If we know no:of files/file names, use while loop in script with exec('cp','D:\Transfer\filename_01.txt D:\File_Process\filename_01.txt ',8);command to copy the files from D:\Transfer to D:\File_Process folder.

Refer : Dynamic folder creation

3. Load files to target table. Refer : Processing Multiple Files simultaneously using BODS
4.Use same procedure as in step 2. to move the files to D:\Archive folder.


Thanks.


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>