Manually attach file using javascript

Last post 08-06-2012, 10:05 AM by osimbr. 3 replies.
Sort Posts: Previous Next
  •  08-02-2012, 12:24 PM 74340

    Manually attach file using javascript

    Hello everyone!
     
    I'm developing one desktop tool that will open on a webbrowser my upload page and will add manually the files to my AjaxUploader Control.
     
    How i add, using javascript , files to my control?
     
    Thank you in advance.
     
  •  08-02-2012, 2:11 PM 74342 in reply to 74340

    Re: Manually attach file using javascript

    Hello again.
    I found this:
     
    var uploader = document.getElementById('<%=frmAnexos.ClientID %>'); 
    alert(uploader.getitems().length);
     
    Have some way to add files manually to this list?
     
    My desktop application have to add files for upload.
     
    Thanks again. 
  •  08-03-2012, 7:48 AM 74343 in reply to 74342

    Re: Manually attach file using javascript

    Hi osimbr,
     
    For security reason, for now only allow the end user to select the files to upload. Can not add the files for the control.
     
    Regards,
     
    Ken 
  •  08-06-2012, 10:05 AM 74344 in reply to 74343

    Re: Manually attach file using javascript

    Thank you for the answer...
     
    My client need send the files automatically...
    He will select the files previously (Right button on the file > Send to my WebSite).
     
    This action will open my desktop application that will send automatically the selected files, using the upload form.
     
    Have no way?
     
    Thanks again. 
View as RSS news feed in XML