Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Jan 2003
    Location
    N. Ireland
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Web server needed

    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,
    ska

  • #2
    Regular Coder
    Join Date
    Jan 2005
    Posts
    155
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #3
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    New Coder
    Join Date
    Jan 2003
    Location
    N. Ireland
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    ska

  • #5
    Regular Coder
    Join Date
    Jan 2005
    Posts
    155
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #6
    New Coder
    Join Date
    Jan 2003
    Location
    N. Ireland
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Thanks mehere, thats got it working using the upload.saveVirtual
    thanks i spent ages on this and drove the ISP support guys crazy.
    ska

  • #7
    New Coder
    Join Date
    Aug 2006
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by skalag View Post
    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.
    I know that I know nothing

  • #8
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •