SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2002
    Location
    Israel
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    liniting file size

    hi there.
    i was wondering is there any good way to check a file size that is being uploaded to the server via a standart form, using Java Script?
    i know this is easy to do using server side programing, but i need to do it somehow on the client side, before the file is being submitted...?
    anyone?
    thnx in advance.
    shnaor
    You can't see your self in the mirror with your eyes closed!

  2. #2
    You talkin to me? Anarchos's Avatar
    Join Date
    Oct 2000
    Location
    Austin, TX
    Posts
    1,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That is not possible. You have to do it server-side.
    ck :: bringing chris to the masses.

  3. #3
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes...

    You can create a filesystem object through activeX to get into the OS and then do standard IO file transactions.

    You'll need to get it signed though.

    Flalwess
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---


Bookmarks

Posting Permissions

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