Re: Java Applet saving results on home server



On Jun 13, 2:00 pm, Lew <l...@xxxxxxxxxxxxxxxx> wrote:
rizwindu wrote:
I have a Java applet that, once finished interacting with the user,
needs to save the results. I would like to be able to write a text
file with the results to the applets home server, or a specified FTP
server. I have found some FTP connection classes that allow files to
be uploaded, but these require files
"Andrew Thompson" wrote:
Class files? Configuration files? What files?
rizwindu wrote:
Either would do really. Could store the results in a class and write
that. I can also store the results to a string and write that to a
file.

On the face of it that doesn't make sense. What sort of "results" are you
getting, and how to you envision that it would be stored to a class? Are
these results bytecode?

If they are bytecode, then how do you envision they be encoded into a String?

--
Lew

Lew:
My results are a mix of strings, arrays etc. I can write them to a
file by outputting the text nicely. Or I can make a 'Results' class
that has some data structures to store all the things I need, then I
can create a new Results object, and save the results object.

Gordon:
I'll look into the FTP client. From the example you gave looks like it
might be what I need. Thanks.

Ben.

.



Relevant Pages

  • Re: Java Applet saving results on home server
    ... file with the results to the applets home server, ... If they are bytecode, then how do you envision they be encoded into a String? ...
    (comp.lang.java.help)
  • RE: Log-In Credentials in a Macro
    ... I would try FTP instead. ... cFileName As String * MAX_PATH ... Public Declare Function FtpSetCurrentDirectory Lib "wininet.dll" Alias ... Public Declare Function InternetWriteFile Lib "wininet.dll" _ ...
    (microsoft.public.excel.programming)
  • Re: File.Create - ArgumentException was unhandled - illegal characters in path
    ... No probs - It relates to an FTP class - it ... Sub FTP_DownloadFolderContents(ByVal ftpFolder As String, ... Dim sSourceFiles As String ...
    (microsoft.public.dotnet.languages.vb)
  • [VB.NET 2003] FTP upload suceeded. but no file transferred?
    ... I wrote a simple FTP code which monitors a user-specified folder and, ... the FTP server program says it has sucessfully received the file. ... "InternetOpenA" (ByVal sAgent As String, ByVal lAccessType As Integer, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: FTP CD command
    ... FTP client once in the time that the framework did not provide anny FTP ... Private _Uri As String ... Public Sub New(ByVal Uri As String, ... Dim listRequest As FtpWebRequest = CType, ...
    (microsoft.public.dotnet.languages.vb)