|Not enough information.|
What type of file? How large? Where are you transferring to/from?
One drive to another inside a machine? One workstation to another in a LAN? Across the internet? What type of internet connections does each transfer point have? What else is running using the bandwidth at the time? What is the rest of the internet doing at the time? How many servers is the transfer traversing between source and destination? What transfer protocol are you using? What are the hardware limitations of the equipment you are using?
If this is a homework question then do your own research. If you want an answer to a specific problem then spell it out.
Goin' Fishin' (Some day)