Hi ,
In FILE PORT : idoc is first created in file format and is saved in application server. From application server the IDOC is send to external system and file is deleted from application server.
In TRFC PORT : IDOC is directly send from SAP to external system in XML format.
Thanks
Akriti