I'm developing a content management system that uses a file uploader. The uploader works fine and uploads the file when using a mac computer, but doesn't upload the file when using a PC. I am thinking this is a path issue??
i having problem to upload file with the file size mention above...
the file detail: -JPG image -1.47MB -2046x1536
I am trying ur code, but when I wan to upload a file that greater than the file size above, it show page cant be display.actually I am planning to upload a video file that around 10MB
I need to use an script that uploads via one of these three components: ASPUpload, SA-FileUp or SmartUpload. If any of you have some recommendations or know upload scripts using one of these components, it'd be great. Unfortunately, I need it to be able to upload huge files on the server (300 megs).
So I've been using ShadowWizard's uploader, but when I try to upload large (>100kb or so) photos, it runs for ages (several minutes) then times out.
Testing with a 700kb file, it takes only a short while to upload to RapidShare (at about 30kbps), but when I try to upload it to the local script, it uploads at about 30 kbps for a while, then drops off to 0 at about 20-30 seconds, although the page doesn't finish loading, and then the script times out, a while later.
EDIT: Oops, shouldn't have an apostrophe there. Seems it won't be removed from the thread title.
I've been having some trouble with a file uploader script, the script times out when running, I have tried extending the default timeout length. I have also tried a couple of other file upload scripts and thay all time out too. I can't seem to find a cause to the problem.
I like the upload script but want to simply upload some txt, mdb, xls and doc files. Do you have a version that allows simply the upload of native docs that does not check for images and size of images?
Also, after I select UPLOAD, the results page show the browse buttons repeated. I would just like to show the results and then a button that hrefs to another asp page, is that possible and how?
But what should I do in order to e-mail the files uploaded ? What I mean is that when the files are uploaded I also want to be e-mailed at the same time.
Originally Posted by Shadow Wizard this will not save non-image files. as for extension, I fear I didn't understand what you mean - you try to save the file with different extension? I disagree. I was able to upload an Excel Spreadsheet with no trouble at all.
Im building an image uploader to be used so that a client can upload images from their desktop to the site.
Is it correct that I have to download the cpshost.dll from microsoft and then upload that file in a folder named for instance Scripts, so that the form is able to upload images before moving onto the processing asp page (manageproducts.asp).
I found this Shadow Uploader on here, and i see that you can have an email sent, but im having troubles understanding how the email bit works All i want is for an email to be sent to me saying 'Someone has uploaded an image' and the text from the 'name' field.. Normally i would try and do this for myself, but the site needs to be running by Tuesday and ive got no more time to much around with it.
I am having trouble with my file uploader. I do not program a lot of .asp and its a bit confusing. As well, I just took over the development on this webpage so the code is not my own.
The file uploader worked before but now that I have the webpage put to a test site it doesn't. Would this be a reason why I cannot upload? i am also having trouble accessing the database, which makes it even harder for me to see whats hapening to the file.
When I upload it says that it uploaded successfully but when I see the webpage the photo isn't there. Would you like to see the code for the uploader?
I have a login page where user enters his username password i verify if he is a valid user or not if he is i redirect him to a diff page and in querystring i transfer 3 variables ok I get the 3 variables on that page then i have 3 radio buttons when user selects one of them
i display the company name and they upload the file and some stas for the company the client requirement is when the user submits the form it should be done by radio button not a submit button for uploading of file i have used shadow's code here is my problem if the user doesnt upload a file it gives me an error saying :
Microsoft VBScript runtime error '800a01a8' Object required: 'm_Request' /ERP/onlineerp/ShadowUploader.asp, line 27
I have installed aspSimpleUpload and can upload files, up to 8 megs. However, I need to be able to upload any file size without any restrictions. Are there any file uploaders that I can use that will solve this problem?
i need to find some scrit to uploadimages but with multi elements form i mean i need to put some textboxes and compo boxes with the uploading form to process the data entered in the text boxes and copbo boxes something = the posting new thread u can write ur thread and choose file to attach hope it's clear.
I am trying out the ShadowUpload script for the first time for uploading photos etc. I place the ShadowUpload script, upolad page that goes with the script in the wwwroot and then made a folder with full read/write permissions enable called uploads. When I tried to upload a large picture, it gives me the expected error Code:
i'm working on uploading images to the webserver.Got a "test" version working, but as soon as i try to modify it.on my server i've got an Upload folder in the same folder as my aspUpload page.the path connection is as follows:Code:
sPath = Server.MapPath(".Uploads") & ""
but now i don't want it saved in the Uploads folder.The folder path i want is ../../../images/models/
Main folder is "Web". In the "WEB" folder some asp file resides. another folder named "Admin" also reside in the "WEB" folder. My DB resides in the DB folder that is outside of the "WEB" folder and on the same root where "WEB" folder is.
I have a file named Connect.asp which contains the path for DB. I have included this file in both user files (which are simply in web folder) and in the administrator files. But when the admin tries to log-in the file didn't read the appropriate path as it finds the DB in the WEB folder. But it works fine when i communicate with the DB through user files.
I want to write logfiles to a textfile. But when the file doesn't exist, then the file should be created. But the code gives an error at this part of the code. I have no idea of what the mistake could be. Here's the code:
I'm writing an ASP validation script that uses a cookie that is created by a user validation page and has a single value. This site will be used only under Internet Explorer 5 and more recent.
My problem is that the page called after the cookie creation can't read the cookie unless I set the Cookie.Path attribute to "". All the documentation that I found about it is very brief, don't explain how it really works and if there's any kind of "side effects". An even stranger fact is that some people of my team can read the cookie without setting the Cookie.Path attribute.
Can anyone tell me how the Cookie.Path really works or witch browser settings make it needed (or not)?
I have created my asp pages in "D:/test" . This i have created as a virtual directory. i am having some files in "D:/download/cont/somename" From the asp page i want to access the files in the d:/download/cont/somename folder. Here somename changes according to username. i.e first i want to check whether this path is valid and then get all the files from it but its giving me the following error
Server.MapPath(), ASP 0174 (0x80004005) An invalid '/' or '' was found in the Path parameter for the MapPath method. /test/contractsfile.asp, line 11
code: somename = Request.cookies("username") source = ".. est" & "/download/cont/" & somename if fs.folderexists(server.MapPath(source)) ---------------------------> line 11
I'm trying to concatenate a path of Application("WebSiteFullPath") which equals http://www.mywebsite.com/ and an image file like CODE below. My problem is the full path listing in RESULTS below adds an extra " quote and obviously breaks the path to the image. How can I script the quotes to not add the extra double quote between my website path variable and my image path?CODE:
While my wwwroot is under C:inetput, how can I make URL pointing to the downloadable files on D:downloadmyfile? Do I have to use download COM? If yes, which one is recommended for free?
im having a problem with folder path in include files. I have a solution, but there must be a way better one. The problem is when i have an include file... menu.inc in my root directory root/. This menu.inc references images in the root/images/ folder. I also have an articles folder root/articles/. The menu.inc is included in files in the articles folder, however this messes up the image paths and files in the articles folder are looking for the images in root/articles/images/. to combat this, in front of every image reference in my menu.inc file, i have a variable <%= pathVar %>. At the top of every file in the articles folder, i have the command <% pathVar = "../" %>. this will insert a ../ before the images folder in the reference therfore correcting the image reference. In the root folder I use <% pathVar = "" %> , so the <%= pathVar %> amounts to nothing leaving the paths correct. This works, however means having to switch from HTML to ASP mode for every image in the include file, which is not efficient. Is there a better way around the path problem.