Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can I transfer file from one system to another through internet using java?

Using IP I can not make it up because the Internet using system holds the dynamic IP.

So how can I prefer the particular destination to transfer the file?

Can I use MAC address or is there any other way for it?
Posted
Comments
Prasad Khandekar 16-Apr-13 6:52am    
Hello,

You can use Apache Http Client library to transfer the files. Instead of IP use FQDN (e.g. www.foo.com). A listener program neds to be present on the receiving side.


Regards,
saigowthami 16-Apr-13 7:01am    
how can we set fqdn to a computer???
Prasad Khandekar 16-Apr-13 7:44am    
FQDN is a human readable name associated with an IP Address. For more info please read this (http://en.wikipedia.org/wiki/Fully_qualified_domain_name)
Richard MacCutchan 16-Apr-13 7:28am    
You need to know the IP address of the receiving system.
saigowthami 16-Apr-13 7:32am    
That is fine which is in network... But now I need to transfer my file through internet,
for example i nee to transfer folder from my system (in India) to some other system (might be in UK) where the remote system having dynamic IP.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900