01-19-2007, 04:45 PM
Hi, i have a couple of small sites that need to be uploaded to a server, but the server i have already isnt suitable as i can't change the permissions of folders to allow me to upload images using aspupload. i want to save pictures to a folder to accompany data sent to database. The ISP say folders can't be made writable because the server will get hacked. I need to be able to add pics dynamically with other data when the admin requires it, fairly often in these cases. Can anyone reccomend a fairly cheap and reliable ISP that allows me to make writable folders to upload images? And are the other guys right that they can get hacked if im allowed to upload images to a folder? I didnt think it would be so easy, :eek:
01-19-2007, 05:46 PM
i'm not sure about the hacking part, but i have clients that do a lot of uploading of both images and audio files ... they are hosted at godaddy
01-23-2007, 01:54 PM
If the folder is made writable then any file can be uploaded.
It would be upto you to have a secure script that would not allow malicious files to be uploaded.
Since the host cannot rely on this then they have decided against giving permission.
Streamline.net is quite cheap
01-24-2007, 12:08 PM
Hi, ok i can see that. they have told me i can use the aspupload on their server, i was using a similar script to that myself. Only thing is i can't figure out where the aspuload script saves files. The support at my ISP said use the examples on http://aspupload.com/manual_simple.html I have tried all the examples on the site and i dont know where my images are going. I know it is saving them somewhere ( the elusive "C:\upload" ) as the same image uploaded gets incremental numbers in parentheses. Does anyone know how this system works? I have have tried SaveAs, copy and move etc to get the files to the folder i want but nothing is working for me. I can save files to this non-existent "C:\upload" but i cant get them where i want them, all efforts at moving and copying bring up page not found errors.
01-24-2007, 06:03 PM
change this line: Upload.Save "c:\upload"
to this: Upload.Save "/directory_name/" --create a directory in your website to store the files ... make sure the directory has read/write access.
this should work ... i generally use Upload.SaveVirtual "/directory_name/" instead of .Save ... but it should work the same way.
01-24-2007, 09:03 PM
Thanks mehere, thats got it working using the upload.saveVirtual
thanks i spent ages on this and drove the ISP support guys crazy.
01-25-2007, 04:42 PM
Can anyone reccomend a fairly cheap and reliable ISP that allows me to make writable folders to upload images?
I've had my hosting with http://gearhost.com for 4 years, control panel allows per-folder permissions. They even install DLLs on request.
02-20-2007, 01:43 AM
Hi, I have same problem with godaddy. Could you tell me how to do it. I always ge "The system cannot find the file specified." message. Please tell me which folder should I upload files to. Thanks.