Hi Lakshman,
JMS -
Pros - JMS provide guaranteed delivery of message.
Cons - Needs to install MQ (if not available) on PI and target system
Need to develop the JMS queue (if not available) and build the script to transfer the file
FTP
Pros - No need of extra development
No installation is req.
Cons - FTP can use lot of CPU threads on server.