Notices

Great community. Great ideas.

Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.

Thread: Pure ASP Upload script with additional features

Page 3 of 9 FirstFirst 12345 ... LastLast
Results 31 to 45 of 125
Share This Thread →
  1. #31
    Shadow Wizard's Avatar
    Shadow Wizard is offline Moderator From Beyond
    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,126
    Rep Power
    2921
    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.

  2. #32
    Jontron is offline Contributing User
    Join Date
    Jul 2007
    Posts
    43
    Rep Power
    7
    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?

  3. #33
    Shadow Wizard's Avatar
    Shadow Wizard is offline Moderator From Beyond
    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,126
    Rep Power
    2921
    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.

  4. #34
    mirza_yasir4 is offline Contributing User
    Join Date
    Mar 2007
    Posts
    68
    Rep Power
    8
    Very nice code, thanks

  5. #35
    navkeshchawla is offline Contributing User
    Join Date
    May 2006
    Location
    Delhi-India
    Posts
    231
    Rep Power
    30
    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

  6. #36
    Shadow Wizard's Avatar
    Shadow Wizard is offline Moderator From Beyond
    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,126
    Rep Power
    2921
    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")

  7. #37
    navkeshchawla is offline Contributing User
    Join Date
    May 2006
    Location
    Delhi-India
    Posts
    231
    Rep Power
    30
    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"

  8. #38
    Shadow Wizard's Avatar
    Shadow Wizard is offline Moderator From Beyond
    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,126
    Rep Power
    2921
    this might be limit in the configuration:
    http://www.banmanpro.com/support2/Fi...oad_limits.asp

  9. #39
    epukp is offline Registered User
    Join Date
    Dec 2007
    Location
    Milwaukee, WI - US
    Posts
    2
    Rep Power
    0
    ShadowUploader is exactly what I am looking for. Where would I find the latest version?

  10. #40
    Shadow Wizard's Avatar
    Shadow Wizard is offline Moderator From Beyond
    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,126
    Rep Power
    2921
    in the first post in this thread, just download the zip file and the file is there.

  11. #41
    epukp is offline Registered User
    Join Date
    Dec 2007
    Location
    Milwaukee, WI - US
    Posts
    2
    Rep Power
    0
    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?

  12. #42
    Shadow Wizard's Avatar
    Shadow Wizard is offline Moderator From Beyond
    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,126
    Rep Power
    2921
    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.

  13. #43
    Salman8506's Avatar
    Salman8506 is offline Space Surfing Wizard
    Join Date
    Apr 2007
    Location
    In Space Else Where??
    Posts
    4,112
    Rep Power
    1960
    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.

  14. #44
    Shadow Wizard's Avatar
    Shadow Wizard is offline Moderator From Beyond
    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,126
    Rep Power
    2921
    Quote Originally Posted by Salman8506
    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.
    yeah, it happens when you uncheck "allow anonymous access" and check
    the "Integrated Windows Authentication" in the website configuration.

  15. #45
    Silky is offline Contributing User
    Join Date
    Jul 2007
    Posts
    51
    Rep Power
    7
    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?

Page 3 of 9 FirstFirst 12345 ... LastLast
Share This Thread →

Become Part of This Conversation

Join NowFor Free!

Similar Threads

  1. Upload Script with HTTPget
    By comix2000 in forum ASP Development
    Replies: 1
    Last Post: January 20th, 2005, 06:50 PM
  2. Hot Or Not Script Upload Error
    By marya in forum ASP Development
    Replies: 5
    Last Post: October 14th, 2004, 08:12 PM
  3. Huge / Pure upload?
    By fatmanman in forum ASP Development
    Replies: 0
    Last Post: September 14th, 2004, 06:20 AM
  4. Replies: 2
    Last Post: August 27th, 2004, 03:58 PM
  5. Upload script
    By kutty in forum ASP Development
    Replies: 0
    Last Post: October 1st, 2003, 03:36 PM

ASP Free Advertisers and Affiliates