CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 1999
    Location
    Arkansas, USA
    Posts
    308

    Q. this is rather a CGI question

    Well, though this probablly have to do with the CGI or form, but let me post my question here anyway.

    I'd like to know the way I can create the webpage that will allow user to upload the picture or any binary data through some kind of form where I can specify the local file name.

    Also, here is my fandamental question about the Java, but when I use the file accessing functions in java, does it access to the client local hard drive, or the server's file system or which? Or can Java access to both?

    soichi

    ------------------------------
    i am a beginner, and am the one who will be greately appriciated with any type of help.

  2. #2
    Guest

    Re: Q. this is rather a CGI question

    soichi,

    If you write it as an applet, you can call up a file selection dialog, which will let the user select a file on their machine,
    then you can read it in, serialize it, and send it across to the server who would then unserialize it and save it to a file on
    the server.

    I hope this helps


  3. #3
    Join Date
    Jul 1999
    Location
    Arkansas, USA
    Posts
    308

    thanx

    Thank you for your replying. I'd like you to ask one more question. So I can serialize the file using the applet, how can I make the applet to decide if it's opening the file on the server computer or client computer. Could it possible that user can specify the file name of some file in the server computer, and send the data from server to client? (If I can do this, isn't there any security problem with that?)

    Thank you

    ------------------------------
    i am a beginner, and am the one who will be greately appriciated with any type of help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured