Click here to Skip to main content
15,903,012 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Please tell me how to upload mdb file on webserver. I have a webserver i want to transfer my mdb file on that server, i am using Fileinfo class to read the file and transfer the file in byte format, But this takes long time because the size of the mdb more than 10 mb. Please tell me the Better way to complete this task.
Note:- i am doing this in Widows Application not for Web Appl.

Thank u.
Posted

I'm sorry, but this is ridiculous.


Rajkumar Chaurasiya wrote:
But this takes long time because the size of the mdb more than 10 mb


So, you need a faster internet connection, not different code.

Rajkumar Chaurasiya wrote:
in byte format,


An MDB does not exist in different formats. You're sending the file as it exists, which is the only way to do it.

OK - I admit I was thinking in terms of what you asked. Yes, you could try to zip it, or make it smaller by other means. But, assuming a fixed file size, a faster internet connection is how you send a file faster.
 
Share this answer
 
v2
Maybe you can zip the .mdb before it is sent up to the web server. From there, you could unzip it.

Hogan
 
Share this answer
 
You could also try to "compress" the database first to remove accumulated space from deleted records.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900