/    Sign up×
Community /Pin to ProfileBookmark

Can anyone tell me, how to find the length of the upload file’s content length

Hello everybody,
I am having problem, with the uploaded file. I want to check the content length of uploaded file.For it, I have to open the file and read it or is there any other methods? Hoping to get the answer…
Thank you ….

-ritesh?

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@ricpApr 22.2007 — There are sneaky ways around this (in IE using the FSO, or using xmlhttp to pick up the content-size) but the only reliable way to achieve this is to do it server side.

How exactly will be down to whatever language you have available to you, but php, asp(x), jsp, etc will all allow you to do it.
Copy linkTweet thisAlerts:
@ritesh163authorApr 23.2007 — Thank you for your suggestion...

-ritesh ?
×

Success!

Help @ritesh163 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...