|
Re: How can I do next step of entering user name and password?
|
Posted: Sep 17, 2002 11:33 AM
|
|
Don,
Thank you very much for the url link
I want to integrate an ftp program into a program I am working on. Thanks to Don I am able reuse code by using "t or Linlyn ftp program" which claims to be easily integrateable into larger applications.
The problem is did does not seem to work and gives me errors. I would be grateful if someone could tell me why I am getting the error, here is the error:
C:\My_DL_Dap\ftp in java>appletviewer t.java Warning: <applet> tag requires width attribute. java.security.AccessControlException: access denied (java.net.SocketPermission j aguar.wmin.ac.uk resolve) at java.security.AccessControlContext.checkPermission(AccessControlConte xt.java:2 70) at java.security.AccessController.checkPermission(AccessController.java: 401) at java.lang.SecurityManager.checkPermission(SecurityManager.java:542) at java.lang.SecurityManager.checkConnect(SecurityManager.java:1042) at java.net.InetAddress.getAllByName0(InetAddress.java:909) at java.net.InetAddress.getAllByName0(InetAddress.java:890) at java.net.InetAddress.getAllByName(InetAddress.java:884) at java.net.InetAddress.getByName(InetAddress.java:814) at java.net.InetSocketAddress.<init>(InetSocketAddress.java:109) at java.net.Socket.<init>(Socket.java:118) at Linlyn.ftpConnect(t.java:326) at Linlyn.<init>(t.java:236) at t.init(t.java:83) at sun.applet.AppletPanel.run(AppletPanel.java:341) at java.lang.Thread.run(Thread.java:536)
I would also be grateful if someone could try out the propgram and tell me if it works for them, then I could determine if it is because ftp clients are being blocked by my server. The ftp program is very small, here is the url link again:
http://www.afu.com/jdownload.html
1) compile the code 2) fill in everywhere it requests "your-server" "username" and "password" 3) to run appletviewer t.java
|
|