Link to home
Start Free TrialLog in
Avatar of jfrent
jfrent

asked on

PlUpload w/ Classic ASP

Hi,

I've been struggling to get file uploading working properly on a classic ASP project.

It seems I can have a nice interface using Flash (i.e. SWFUpload) but the file size is limited or unreliable or I can have larger uploads using clunky UI.

I ran across Plupload (www.plupload.com) which looks very promising but I haven't been able to find an example of it working with classic ASP.  The documentation for the tool includes an example using PHP but my classic ASP knowledge is limited when it comes to reading/writing streams of data.

Has anyone seen an implementation of this tool with classic ASP?

Thanks!
Avatar of sybe
sybe

What is wrong with <input type="file">?
Avatar of jfrent

ASKER

Nothing I suppose but that is what I consider "Clunky UI".

Also, from a user standpoint, uploading one file at a time can get pretty frustrating.
"Clunky UI"? Oh, right, it just works. Isn't that enough?
Anyway. It makes no difference what the UI looks like on the client, for your server-side ASP code. You either use a component for fileupload or a pure-script solution to process the uploaded files.

There is plenty of sample code available for that.
Avatar of jfrent

ASKER

WTF is up with you guys.  Not helping at all.  Thanks so much for your commentaries.

"It makes no difference what the UI looks like on the client, for your server-side ASP code"

It DOES make a difference how the file is processed or I could have used any of the solutions I have in my bag.  That's why I created a question asking about this SPECIFIC tool, which you obviously have no knowledge of so why join the conversation?

"Oh, right, it just works. Isn't that enough?"

No it's not.  As I expalin above one-file-at-a-time is not acceptable.  These guys are uploading 20 or 30 files at a time.  I'm not going to say to my customer:  "Suck it up and upload them one at a time.  Finding a usable solution is convienent for me."  I know that's what a good programmer would do but I'm trying to help these guys.
> "It makes no difference what the UI looks like on the client, for your server-side ASP code"

It really does not make any difference. There is only one way to send binaries through a http-request. The files are send per http-request with multipart/form-data. You need code to read the filespecs and store the binaries from that request.

It does not matter if it is the browser creating that request or some plugin.
Hello there,

Please let me know your exact request. Two options I could understand:
Do you need to let people upload multiple files to server? (just uploading no interface is essential)
or do you need to let people upload multiple files to server WITH a runtime interface?

Regards.
Avatar of jfrent

ASKER

Hi aybarsm

I've done this several times and from my experience the users like the ability to select multiple files at one time.  Lining up a bunch of <input=file> controls hasn't been too popular, at least with my customers.  So to answer your question: Upload multiple files with a runtime interface.

In the past I've used SWFUpload and that works fine with smaller files.  On this project however the users want to upload larger files 100MB - 200MB which SWFUload seems to have trouble reliably doing across browsers.

I recently found a new runtime called PLUpload (www.plupload.com)  that looks very slick and uses "chunks" to send large files.   The documentation for this product has a good example of the PHP code for the file transfer to the server but I'm having trouble converting this to classic ASP.

The point of this question was to find out if anyone has used this tool (PLUPload) with classic ASP.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of aybarsm
aybarsm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jfrent

ASKER

Thanks for trying aybarsm.

I tried some of the ASP components available (aspupload, freeaspupload) and could never get it to work. It seems like this tool just won't work with classic ASP and I don't think the developers are looking in that direction.

Since someone has reported this 5 day old thread as abandond I thought I better close it so I could decide where the points go.
Hello again,

I was trying to integrate that script to ASP however I couldn't get succeeded on it. I've tried several ways however it is not possible to call ASP Upload file repeatedly via JQuery. If I find some more time I will try it with Flash also. I took my notes for you. I'll let you know if I would be successful.

Best regards.
Just out of curiousity, did you ever contact the Good Folks who brought you PLUpload and see if their product can be used with "classic ASP" (whatever that is - probably VBScript)?

And if you didn't receive a solution, why didn't you just delete the question?
> with "classic ASP" (whatever that is - probably VBScript)?

Active Server Pages, predecessor of ASP.Net. Some people here mix it up, asp.net has its own area:
https://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/
You didn't answer my questions:

1. Just out of curiousity, did you ever contact the Good Folks who brought you PLUpload and see if their product can be used with "classic ASP"?

2. Since you didn't receive a solution, why didn't you just delete the question?