Page 1 of 1

Reading the Multiple XML file names

Posted: Tue Mar 13, 2007 6:48 pm
by shilpa79
Hi all,

My file name is : " <Interface name>_<0>_20060501_192056.xml "
My design is I have to pull the files from diff server and get the ftp filesand drop in ds server and process files one by one.

In the file '<0>' and the '<Interaface name>' will be the same except the timestamp.
I am not able to read the files without the *.xml chracter from the shell script.

Can anyone let me know whats the best solution to solve this issue.

Posted: Tue Mar 13, 2007 8:56 pm
by ray.wurlod
A job sequence with a "list of things" loop. Execute Command activity to initiate FTP script then Job activity to process the file.

Posted: Tue Mar 13, 2007 11:27 pm
by Sreedhar
Not very sure of about the FTP, but if i have understood your requirement right then, you can use a SCP command.

What does SCP do?

SCP - secure copy....


It transmit the file from one server to the other in a most secure form(internally it uses some algorithm to encrypt the file and send it to the destination.)


The syntax for the same is as follows

Witn in a singel command you can transmit all the files in a particuler direct

scp <source server name > <destination server name>