File copy through firewall

in CCNP
I've attached a picture to the thread for clarification.
If I want to migrate data from and old server to a new server, which port do I need to open, when there is a firewall between. Which protocol is used when copying?
Does this differ when copy from linuxto Linux?
What if you copy from EMC/NETAPP to EMC/NETAPP?
If I want to migrate data from and old server to a new server, which port do I need to open, when there is a firewall between. Which protocol is used when copying?
Does this differ when copy from linuxto Linux?
What if you copy from EMC/NETAPP to EMC/NETAPP?
Comments
1. What OS you are using
2. What actual file transfer technology/protocol.
Are you using SSH, FTP, SMB, NFS, etc etc etc?
http://support.microsoft.com/kb/179442
If you're not sure what's involved for your particular situation, check the firewall drop logs (assuming you have a explicit clean-up drop rule at the bottom of the ACL).
What would I have used or need to open on the Firewall when copying on Linux, NFS?
ASA's application inspection engine hasn't always been the best in my experience, but I thought it recognized "sunrpc."
Lab Equipment: Using Cisco CSRs and 4 Switches currently
http://en.wikipedia.org/wiki/Marshalling_(computer_science)
Sometimes merely doing a Wireshark capture isn't going to be sufficient when protocols using dynamically-negotiated ports are involved. RPC is one of those annoying protocols to properly write ACLs for. If the firewall doesn't recognize and track the protocol, you essentially have to open a whole range of ports. FTP is one of those protocols which just about all stateful inspection firewalls can handle. RPC isn't as reliably-supported in my experience, at least with older devices.