Loading ...
Sorry, an error occurred while loading the content.

is ther any method that can determines file size by using YUI?

Expand Messages
  • yoonfui83
    hi, i face a problem with the file size currently. i need to do validation before upload to server. may i know that YUI can suppport this feature or not?
    Message 1 of 2 , Sep 5, 2007
    • 0 Attachment
      hi,

      i face a problem with the file size currently.
      i need to do validation before upload to server.
      may i know that YUI can suppport this feature or not?
      determine the file size before upload to server.


      thx :)
    • Nige White
      ... Same answer as on the Ext forum. Javascript can not access the client s file system. You could try examining the Content-Length header at the server when
      Message 2 of 2 , Sep 5, 2007
      • 0 Attachment
        yoonfui83 wrote:
        >
        > hi,
        >
        > i face a problem with the file size currently.
        > i need to do validation before upload to server.
        > may i know that YUI can suppport this feature or not?
        > determine the file size before upload to server.
        >
        > thx :)
        >
        >
        > - -
        > Scanned for viruses.
        Same answer as on the Ext forum. Javascript can not access the client's
        file system.

        You could try examining the Content-Length header at the server when you
        begin receiving the response.

        - -
        Forward Computers Limited is a company registered in England and Wales with company number 3249628, VAT Number 416458349. Registered office address : Forward House, 161 Glaisdale Drive West, Nottingham, NG8 4GY

        This email has been scanned for viruses by Messagelabs.
      Your message has been successfully submitted and would be delivered to recipients shortly.