Solved

IP address applet

Posted on 2004-08-17
4
181 Views
Last Modified: 2010-03-31
Hi,
I feel really cheeky asking this :p lol so I'm putting in all the points I have available for it! I just wondered if somebody could do something quickly for me...I'm not a java programmer at all - but I just needed the one java applet to do the following: grab every IP address of the computer the applet's running on, download a text file from a specified location, append them onto the end of the file (seperated by commas or something then a line break) then upload the file back to the same location. All FTP details would be hard coded into the applet and no output at the user end would be necessary. I think this should be a short enough program...could anyone please provide some code?

If anyone could come up with a solution, I'd be very grateful - thanks alot!

Jonathan
0
Comment
Question by:jonathandodd
  • 2
4 Comments
 
LVL 92

Expert Comment

by:objects
ID: 11827329
think you'll need to use a signed applet to achieve that.
0
 
LVL 15

Accepted Solution

by:
Javatm earned 315 total points
ID: 11827611
We are not actually allowed to create the whole program for you, comming from the membership agreement but we can direct you in a certain way
that you will know what to do next.

> I just needed the one java applet to do the following: grab every IP address of the computer the applet's running on,
> download a text file from a specified location, append them onto the end of the file (seperated by commas or something then a line break)
> then upload the file back to the same location.

1st of all this question is what hackers or spyware does but I'm not accusing what your asking us. Well for you to achive that in java :

1.) You need to have your applet be accepted by all computers.
2.) You have to sign your applet so that it can write to a file and do the things you want to do.
3.) Build the codes neccessary to get the IP address.

Here are the tutorials for signing an applet :

http://mindprod.com/jgloss/signedapplets.html
http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html

Hope that helps . . .
Javatm
0
 

Author Comment

by:jonathandodd
ID: 11829132
Don't worry, I am neither a hacker nor do I want to write spyware :p I am admin on a forum and need to do some work to try to root out users who are potentially dangerous to others on the board (I cannot elaborate any further than that, but this work is indeed necessary). Thanks alot anyway - I hadn't realised that that was in the membership agreement - at least it will give me the chance to learn a new language!

Jonathan
0
 
LVL 15

Expert Comment

by:Javatm
ID: 11835978
=-) Always Glad To Help . . .

http://freewebs.com/cube-j
Friend : Javatm
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now