How i can do pre-validating of uploaded file?

Last post 12-07-2012, 8:38 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  12-07-2012, 7:51 AM 75414

    How i can do pre-validating of uploaded file?

    Hi
     
    How i can validate that file which i selected for upload, isn't exist in destination folder specified below, before starts uploading?
    Maybe there is exists a event OnSelectUploadedFile e that executes on server side?

    Dest folder: C:\UploaderTemp

    I have a event that checks file exists or no in FileUploaded event.
    It will be great, if there is a possibility to do pre-validation.

     

    Thanks,

    Alexey

  •  12-07-2012, 8:38 AM 75418 in reply to 75414

    Re: How i can do pre-validating of uploaded file?

    Hi AlxReiter,

     

    Only can check the file exists at server side for now.

     

    maybe you can try the start upload manually http://www.ajaxuploader.com/Demo/Start-uploading-manually.aspx

     

    Then you can cancel the upload belfore it upload to the server.

     

    Regards,

     

    Ken

View as RSS news feed in XML