Scripting with multiple protocols.

can any body help me in scripting
1)I have 2 protocols HTTP/HTML,FTP
2)First the browser goes to HTTP/HTML protocol.
3)After it goes to FTP protocol & i have to record the file transfer.
The file transfer recording is not happening.i have to record the batch file & need to see the performance that in how much time how many files have transferred.
I can't see any thing in the browser to should i do this?