Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Need shell script code for to get the most recent file present in ftp server based on both timestamp and date

$
0
0

Hi Experts,

 

               i had a requirement where i need to pick the file from the ftp server which is installed in the unix server.here i need to pick a file based on date and timestamp . for example the file name convention is Action_20150307_045532_0101.txt and WMAction_20150307_045532_0101.txt i need to pick these two files which is having both based on both the date and timestamp.i.e most recent file and it should be processed by the file adater. here i am using file to file with ftp protocol with out ESR scenario so i decided to go with os command level option present in the file adapter.Could you please help me guys.

 

 

 

 

Thanks

Giridhar


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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