October 1st, 2007, 02:12 AM
hi Jon. error "Service Unavailable" is usually not related to code, scripting
errors will produce more detailed errors.
it most probably something with the Server itself not configured properly,
contact your host about it. ask them if they got anything in their logs
and also ask them if you can use pure ASP upload.
the code is not ASP.NET so what you said about .NET is not relevant.
October 1st, 2007, 05:09 PM
Ok, well it was a problem with my host so I got that fixed.
I am able to upload images just fine but I can't upload mp3's which is why I wanted to use the script. Is there any way to set it to upload mp3's?
October 2nd, 2007, 02:23 AM
my code can, in theory at least, upload anything. may it be image, mp3, video
and whatever file you can think of. you just have to browse to the file, select
it and click the upload button.
if you get error please post full error message and exact code causing it.
otherwise try to explain better what is the problem.
November 13th, 2007, 08:18 AM
November 26th, 2007, 07:33 AM
Hey Shadow Wizard
It works fine and very fast.
Just a small issue, we have many sub folders in server upload folder. And the names of sub folder relates to current session i.e. P-135 or P-159.
How can I direct files to be uploaded in session folders of server
November 26th, 2007, 08:02 AM
cheers, glad it's useful.
when calling SaveToDisk method, change Server.MapPath("Uploads") to
something like this:
Server.MapPath("Uploads") & "\" & Session("var_name_here")
November 30th, 2007, 02:11 AM
Very nice code thank you.
A small problem, we have to mostly upload *.pdf with size more than 2 MB. It does not do this, nor I get any error message. And after refreshing, just a message "Nothing to upload"
December 2nd, 2007, 06:21 AM
December 25th, 2007, 03:39 AM
ShadowUploader is exactly what I am looking for. Where would I find the latest version?
December 25th, 2007, 04:24 AM
in the first post in this thread, just download the zip file and the file is there.
December 25th, 2007, 04:59 AM
Is there a way to get the bit depth, which may be different (not sure) from color depth? I am trying to use ShadowUploader with w3Image that allows me to modify image dimensions, stream it into an ADODB.Stream object, and save it in a database. The StreamImage method in w3Image requires a depth parameter. w3Image doc calls it color depth and they reference 1, 4, 8, 24, and 32. I added a color depth Get method to ShadowUploader (depth is populated in gfxSpex). I see a very high depth number for photo images. Any thoughts? Do you know of a free ASP class that does image resize?
December 25th, 2007, 05:24 AM
good question. I didn't write the gfxSpex code, so I'm not sure.
try contacting the author maybe he can give you better answer..
as for the resize, look further in the Code Bank there's code that
I wrote in ASP.NET which resize images and you can use ASP
to call this code and use it.
December 27th, 2007, 02:21 AM
Thanks Shadow for the code it is working on the fly But there is something i need help on i have just inserted the script on my server whenever i hit the page it ask's for userid and pass and this userid and pass is of the activedirectory of the server how do i remove this and put my own validation code
Edit: Got it it had something to do with my IIS settings.
Last edited by Salman8506; December 27th, 2007 at 02:48 AM.
December 27th, 2007, 05:34 AM
yeah, it happens when you uncheck "allow anonymous access" and check
Originally Posted by Salman8506
the "Integrated Windows Authentication" in the website configuration.
December 31st, 2007, 06:51 PM
what is the correct syntax for Shadow Uploader if i want to get some Form Data in an email.. ?
Request.Form doesnt work. So what do i use?