IMHO, an applet can only make a socket connection back to the server where it originated from. So, one way to solve this problem would be to have the applet communicate with an application running on the server (applet's server). This application would open a socket connection to the remote machine and get the job done on applet's behalf.
I hope that helps. Regards, Asim R. Raja 617-575-8205 Senior Consultant netNumina Inc. -----Original Message----- From: Viral Desai [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 5:30 PM To: [EMAIL PROTECTED] Subject: Re: Get the remote file A little detail step would be : 1. Make a connection to the remote machine, passing file name and path as the parameter. 2. Get the file data to your machine through the socket connection and store it in a file locally. 3. Access the data. I am not sure about accessing file from applet, there are security restriction I think in applet which would not allow you to access the file remotely. perhaps some one can elaborate on this. -Viral > Hi > I'm interested in know how to access a file from an Applet, I think it is a > similar question like Hu's question.. > > Albert, can you explain more detailed How to use a socket? > and what is it? > Maybe, you could send some code... please. > > Thanks in advance, > Nancy, > > > > Albert Pi wrote: > > > You can use socket to login remote machine and get file and process it. > > > > Albert Pi > > Corp IS System Delivery > > 516-803-3762 > > > > >>> [EMAIL PROTECTED] 06/12/02 01:47PM >>> > > Hi, > > I have a requirement that I need to access a remote > > machine and get the files on it and process it. Right > > now it is using pcanywhere script to connect. Does > > java has something i can use? pcanywhere is not > > reliable anyway. Any suggestion will be appreciated. > > Thanks > > > > __________________________________________________ > > Do You Yahoo!? > > LAUNCH - Your Yahoo! Music Experience > > http://launch.yahoo.com > > > > ___________________________________________________________________________ > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > > of the message "signoff SERVLET-INTEREST". > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > > Resources: http://java.sun.com/products/servlet/external-resources.html > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > > > ___________________________________________________________________________ > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > > of the message "signoff SERVLET-INTEREST". > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > > Resources: http://java.sun.com/products/servlet/external-resources.html > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
