Solved

IP address applet

Posted on 2004-08-17
4
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Suggested Courses

632 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