CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Thread: download

  1. #1
    Join Date
    Jan 1999
    Posts
    2

    download



    I am trying to download a class, but I can't seem to do it...

    the web page where the app is displayed is: http://www.netnc.com/netjonez/chatt.html


    When I try to download it, it sais it's not found. But I know it's there because the applet is displayed....


    can somebody please check out this site and try to download it and tell me what I'm doing wrong?

    thanx... Cube

  2. #2
    Join Date
    Mar 2000
    Location
    Sydney
    Posts
    13

    Re: download

    Sorry the way you are trying to do is entirely wrong. One cannot download a class file directly from a site(upto my knowledge). Can you tell who you were trying to download the class from there.


    aravind ghosh ch
    Infothread (p) Ltd
    Hyderabad
    India
    98490 37540
    091 040 3816697 (o)

  3. #3
    Guest

    Re: download

    Hi, if you take alook to code of that web site (View->source), you will
    notice this line:
    <APPLET CODEBASE="http://c24076.channels.chatplanet.co...lanet-codebase"
    , this means that the applet is in another directory, it's protected.


  4. #4
    Guest

    Re: download

    It's easy to download a class, but the class has not to be in a codebase,
    I downloaded lot of classes,and even I can decompile them to java file.



  5. #5
    Join Date
    Jan 2000
    Location
    Canada
    Posts
    249

    Re: download

    Why not do this...

    Clear your browsers cache. Then go to that page, and then go somewhere else. Then copy all .cla or .class files and all .jar files to another directory. If you are able to decompile class files you will then have the code you need.

    Remember, every page you go to in your browser is logged.

    -------------------------------------------
    weaver
    icq# 64665116
    Please rate this post.
    http://weaver.x7.htmlplanet.com

  6. #6
    Join Date
    Mar 2000
    Location
    Sydney
    Posts
    13

    Re: download

    Is it? Thanks for that. Can you please tell me the procedure to download the class directly from the browser.

    Thanks once again,


    aravind ghosh ch
    Infothread (p) Ltd
    Hyderabad
    India
    98490 37540
    091 040 3816697 (o)

  7. #7
    Guest

    Re: download

    Hi, Could you please tell me the procedure of copying .class from the browser, where should I go.
    Thanks


  8. #8
    Join Date
    Jan 2000
    Location
    Canada
    Posts
    249

    Re: download

    First off, you have to find out where the cache for your browser is. In netscape, choose the preferences option. Then choose Cache under Advanced. In the text box lebeled Disk Cache Folder, take note of the directory it is pointing to. Then go to that directory and copy the .class files from it.

    If you are using Internet Explorer, go to the Temporary Internet Files directory in windows. Copy the files from there.

    -------------------------------------------
    weaver
    icq# 64665116
    Please rate this post.
    http://weaver.x7.htmlplanet.com

  9. #9
    Guest

    Re: download

    I am using both netscape and IE, after loading applets in both browsers, I went to temp directory and the directory for the cache( for netscape), but never find
    a class file, could you please help me.
    Thanks


  10. #10
    Join Date
    Jan 2000
    Location
    Canada
    Posts
    249

    Re: download

    The class files won't be the same name as normal because the browsers use their own naming system. That is why you'll need a decompiler. So that you can decompile it, then recompile it for use.

    -------------------------------------------
    weaver
    icq# 64665116
    Please rate this post.
    http://weaver.x7.htmlplanet.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured