Wrox Programmer Forums
|
BOOK: Professional VB.NET, 2nd Edition or 2003
This is the forum to discuss the Wrox book Professional VB.NET, 2nd Edition by Fred Barwell, Richard Case, Bill Forgey, Billy Hollis, Tim McCarthy, Jonathan Pinnock, Richard Blair, Jonathan Crossland, Whitney Hankison, Rockford Lhotka, Jan D. Narkiewicz, Rama Ramachandran, Matthew Reynolds, John Roth, Bill Sheldon, Bill Sempf; ISBN: 9780764544002
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional VB.NET, 2nd Edition or 2003 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 July 24th, 2003, 02:37 AM
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Upload file without using HTMLInputFile

Hi, Anybody.
Please show me how to Upload file without using HTMLInputFile.
Thanks a lot

 
Old July 24th, 2003, 04:10 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

???? Why don't you want to use the HTML File control? It's designed for this purpose.

Without this control, it will be very hard to upload a file. You'll need some Active X, or client side script with a FTP Component, or maybe Java and some very very low Security settings. I really doubt whether you can pull this off.

Are you designing something for on the Internet?

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old August 20th, 2003, 09:45 PM
Wrox Author
 
Join Date: Aug 2003
Posts: 12
Thanks: 0
Thanked 2 Times in 2 Posts
Default

It can be done, but you will either want to use the standard control or client component. You could write a web service that accepts an encoded file, but this is a non-trivial task, in conjunction with the client. On the plus side it's a perfect no-touch deployment app so all you would need to do is host the .NET application on your website for the client to run locally to upload a file to your web service.

As noted however this is a non-trivial task especially if you want to allow for large files (over 4MB).

Good Luck,
Bill
 
Old November 17th, 2004, 12:04 PM
Registered User
 
Join Date: Nov 2004
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to dbarriguete
Default

OK, I have a suggest, because too I'm trying to do it (and I have to).
It sounds weird but it's necessary.

The basic idea is: "ASP.NET is just a higher level of ASP, isn't it? Now we have the problem: ¿How do I can get the (and what type of) 'stream'?"

I think that answering this question, the problem is 80% resolve.

I'll begin to develop it, any other suggest is wellcome and I'll post any other idea, solution and code that I find.



Everything that Has a Beginning, Has an End





Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter File Types in ASP.NET File Upload ramuis78 ASP.NET 2.0 Basics 2 May 31st, 2007 10:50 AM
HtmlInputFile g_vamsi_krish ASP.NET 1.0 and 1.1 Basics 2 July 25th, 2006 06:40 AM
Whole Folder upload(Multi file Upload) ramasamy_rams XML 1 September 9th, 2005 12:43 PM
JSP file upload and delete file pandjie JSP Basics 0 January 29th, 2005 10:49 PM





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