On Wed, 12 Jun 2002, will suto wrote: > The original question, "how to get the remote file", without > any other context (specifics), is something not answerable, yet we > have so many replies. Any reply could be totally irrelevant, such > like this: one can use a phone and dial a number to download > the file to a microwave oven for making a dinner. > It is not too helpful, right?
And of course, it's totally off-topic for this list as well ... > ----- Original Message ----- > From: "Asim Raja" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 12, 2002 2:38 PM > Subject: Re: Get the remote file > > > >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 > > > > Milt Epstein Research Programmer Systems and Technology Services (STS) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] ___________________________________________________________________________ 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
