Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

programs for downloading files

 
Sanjeev Shahi
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! ,
I need help. I've created progarm to download files from internet. I am creating new program for downloading files from internet the problem in this is that it does not give pop dialog box for enter network password as it used to give for others. In this I've to enter pass at the site text box. The problem is that after authenticating this site still it dosen't takes me to the next url wanted.
I hope I am clear. Please advise something
thanks
SS
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try something like this:
 
Sanjeev Shahi
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for reply Eugene,
But I think that will not work. I'll tell my problem in detail. I've used java.net.Authenticator to authenticate website this works fine for site where windows Pop up for Loing ie. Proxy server but in case of site where user had to enter Login at the site itself it's not working. In latter case getPasswordAuthentication method is never called it seems.
So, what to do in this case.
ss
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic