u can check for the file name... in java when u create a object for the directory and read a file u can check for its name. For this u can use <code>getName()</code> function to get file name or directory name. For other problem.. Not only for dial up connection for other computer connected in network and throuh a DSL Modem or for ISDN connection also, ur ISP (internet service provider) allocates IP address to each and every m/c every time it connects to internet. i too want to solve this problem... whenever i get it i will let u know. my yahoo id is rajesh_purohit bye and take care Rajesh Purohit Puna, India [This message has been edited by rajesh purohit (edited May 02, 2001).] [This message has been edited by rajesh purohit (edited May 02, 2001).]
Originally posted by Divya Jhawar: Well, say we create a file transfer s/w.....how do we keep track of "Resume"? Also, when u have a dialup connection ip adds change...how does one control that? Thanx!
this may not be the reply u wanted but i thought it may be useful so please check enterpricedt ftp package
As far as I know, you cannot actually control your IP adress, when you are on dialup. It works this way: Your ISP has a modem pool with several modems on one tel number. Each of them has a different static ip adress. When you dial your isp's number, you are getting connected to one of these modems and your ip depends on ip of the provider's modem you got connected with. There is no way you can controll the modem you'll be connected with, because you will be connected to a modem which is currently free. And because the provider has many users connecting and disconnecting form the net all the time, it will be always(almost) a different modem => you'll have a different ip.