| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
#31
|
||||
|
||||
|
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. |
|
#32
|
|||
|
|||
|
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? |
|
#33
|
||||
|
||||
|
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. |
|
#34
|
|||
|
|||
|
Very nice code, thanks
|
|
#35
|
|||
|
|||
|
Hey Shadow Wizard
Great thread! 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 |
|
#36
|
||||
|
||||
|
cheers, glad it's useful.
![]() when calling SaveToDisk method, change Server.MapPath("Uploads") to something like this: Code:
Server.MapPath("Uploads") & "\" & Session("var_name_here")
|
|
#37
|
|||
|
|||
|
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" |
|
#38
|
||||
|
||||
|
this might be limit in the configuration:
http://www.banmanpro.com/support2/F...load_limits.asp |
|
#39
|
|||
|
|||
|
ShadowUploader is exactly what I am looking for. Where would I find the latest version?
|
|
#40
|
||||
|
||||
|
in the first post in this thread, just download the zip file and the file is there.
![]() |
|
#41
|
|||
|
|||
|
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?
|
|
#42
|
||||
|
||||
|
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. |
|
#43
|
||
|