|
by: Ken |
last post by:
Is there a way to check the file size without uploading it?
Check it at the source?
If a large file (4m) is accidentally selected, it takes some time before the
upload is complete.
Is there a way to determine the directory from which the file is being
uploaded (source directory)?
|
by: tgundeck |
last post by:
Does anyone know how I can check the file size of photos or any file
type in JavaScript? I'm allowing users to store photos in my web page
using the input type = file tag, but need to limit the photo size to 1
meg. I would like to check the file size in JavaScript on the page,
instead of on the server. Anyone know how I can check the file...
|
by: Poppy |
last post by:
I have written some code which uploads a file.
Before I upload the file I would like to check on the file size. If its
below a certain limit I want to upload it else present the user with an
error message.
Any Ideas ?
|
by: lawrence |
last post by:
Using <INPUT type"file" runat="server"> to upload a file. When the
file size is too large I get a "page cannot be display" error. Thats
cool I'm down with that. But is there a way to check for file size
(client or server side), so that error doesn't occur?
Thanks
--Dietrich
|
by: nicholas |
last post by:
when I upload a file, I can set in my code not to save it if the file size
is too large.
But then the user has allready been waiting a few minutes to upload his
file, as this can only be controlled once it is uploaded.
I would like to say to the user the file is too large before it uploads it.
any ideas?
thx
-- using vb.net on asp.net...
|
|
by: puja |
last post by:
hi all,
In asp.net 2.0 there is a limit on file size upload of 4MB. I know this
limit can be increased in web.config file.
Is there any way to check the file size before upload ?
if user is trying to upload file size more than 4MB then just display a
message that file size is too big and can't be uploaded.
thanks
|
by: marfola |
last post by:
I’m trying to find the file size using javascript, before it get uploaded into the server using the following Javascript (I don’t want to use ActiveX because of compatibility problem).
function imageSize (pathField, previewName)
{
var str = '';
var path = pathField.value;
document.src =...
|
by: gyap88 |
last post by:
hello,
is there a command that returns the file size of a specific file as an integer
|
by: Frinavale |
last post by:
Hi there!
I'm hoping that someone knows how to check the size of a file before it is uploaded to the server using JavaScript.
I have seen suggested solutions using an ActiveX control to check the file size; however, I'm not happy with this solution because my application is designed to work in multiple browsers and ActiveX is limited to...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|