Ok,
now we start to talk. It was as simple as saying where the source file was (or attaching it).
The "Remote" attribute is an InetSocketAddress (or Inet6SocketAddress). I.e., a pair of destination IP and destination port (and more things, but that's not the point).
Changing the "Remote" attribute you can change both of them.
About the source IP and port, the IP is chosen among the source node IP addresses, and (if there's no bug) should be the "nearest" (in terms of routing) to the destination.
The source port is an ephemeral port, i.e., you don't know what port it is until you use it.
This is wanted, because otherwise two applications of the same kind couldn't coexist in the same node. Also real FTP clients do the same.
Of course you could override this, but you'll have the above limitation.
Cheers,
T.