Results 1 to 2 of 2

Thread: saFileUp

  1. #1
    rooney Guest

    Default saFileUp

    Hi,<BR><BR>I have a question regarding saFileUP.<BR><BR>If I have a JavaScript (client side) array of filenames (with full path) that I want to upload to the server is it possible to pass this information to the upload component for them to be uploaded?<BR><BR>So far I have tried to put each value into a hidden HTML form element and post the form to the component. This gives me a success message but no file is uploaded. (both with and without the enctype="multipart/form-data").<BR><BR>Is it only possible to pass the info about the file using the &#060;INPUT TYPE = "FILE"&#062; form element?<BR><BR>My problem is that the files are not chosen using the form element they are already known<BR><BR>Is there a work around for this problem? Can I pass the POST the path and filename to the component using a different method?<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: saFileUp

    &nbsp;<BR>1. You *have* to use the enctype="multipart/form-data"<BR><BR>2. You *have* to use the input type = "file" form element.<BR><BR>3. You can&#039;t specify an value in the input type = "file" element<BR><BR>Maybe you can use an client side upload tool (see<BR><BR>Peter

Posting Permissions

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