Hi all,
i'm new to this community. I am trying to write a script which will fetch ftp completion time of a file from a paragraph of a big text file ( which contains multiple paragraphs) . Each paragraph will have ftp details..
Now I dont know how to fetch process time within a paragraph of a big text file.
example:
/home/a_mstpap/clientoutbound/trigger/APO_FXEXG_20090406_235735.txt.txt.TRG
220 gti0s052 FTP server (SecureTransport 4.6.1) ready.
331 Password required for wlthmgmt.
230 Virtual user wlthmgmt logged in.
200 PORT command successful.
150 Opening ASCII mode data connection for ste1824a/fxexg/APO_FXEXG_20090406_235735.txt.txt.
226 Transfer complete.
Process Completion time 20090406-23:57:58
/home/a_mstpap/clientoutbound/trigger/WEALTHTOUC_FXEXG_20090406_235736.txt.txt.TRG
archive clientoutbound dead.letter discard email fileArchive logs notify.lst notify.sav scripts_shared
Processing file /home/a_mstpap/clientoutbound/trigger/WEALTHTOUC_FXEXG_20090406_235736.txt.txt...
archive clientoutbound dead.letter discard email fileArchive logs notify.lst notify.sav scripts_shared
The trigger 220 DataExpress FTP Server ready.
331 Password required for ste2930z.
230 User WEALTHTOUCH - STE2930Z logged in to DataExpress.
200 PORT command successful.
150 Opening data connection 221 Goodbye.
Process Completion time 20090406-23:58:32
here I have two paragraphs which has file name and its process completion time each..First I have to search the particular para for a file and then check its process time.how do I do it..pls help..thanks