Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 14th, 2006, 07:48 AM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Default File Uploads

I have a page that uses form submission to upload a file to a webserver (which I have no control over as it's my customers) and have a problem relating to files of a certain size (>200Kb) where the server has a limit.

As I am not (and will not be) able to alter the configuration of the webserver in any way, I was wondering what might be considered as the best way to work around this.

I thought perhaps a client side FileSystemObject to load the file in as a textstream and pass across chunks of data to the server where it can use a textstream to build the file back together in the same manner.

Any thoughts...?

Regards,

Sean Anderson
__________________
Regards,

Sean Anderson
 
Old November 14th, 2006, 12:29 PM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Default

(Since the first post) I have used the FileSystemObject and successfully broken the selected file into chunks of 200Kb (size configurable) that are saved to the local drive (<original_name>_part[nnn]), but now cannot seem to work out how you can automatically transfer these file to the server.

I was expecting to have a standard HTML form for uploading and to populate the fields of the form using Javascript, but cannot seem to populate the <INPUT type='file'> field ... reading up suggests it is read-only (grrr!)

Any ideas...?

Regards,

Sean Anderson





Similar Threads
Thread Thread Starter Forum Replies Last Post
asp uploads red_fiesta Classic ASP Basics 0 October 17th, 2007 04:28 AM
How to display .tif file, .pdf file and .jpg file phuong171 ASP.NET 1.0 and 1.1 Basics 1 March 13th, 2007 07:29 AM
How to add more file uploads? fyp4135 C# 2005 3 November 8th, 2006 11:55 PM
How to add more file uploads? fyp4135 ASP.NET 2.0 Basics 0 October 4th, 2006 09:06 AM
Multiple file uploads felixDa BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 April 17th, 2006 10:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.