Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

create a webpage that gives the user the option to upload files?

  • 14-10-2003 2:09pm
    #1
    Registered Users, Registered Users 2 Posts: 731 ✭✭✭


    hi

    anyone have any idea on how to create a webpage that gives the user the option to upload files to a certain directory on a server,

    it will be used on out intranet so security is not really an issue


Comments

  • Closed Accounts Posts: 8,478 ✭✭✭GoneShootin


    depends on what language(s) you are hoping to use ?


  • Registered Users, Registered Users 2 Posts: 731 ✭✭✭dwayneburke


    using iis


  • Closed Accounts Posts: 8,478 ✭✭✭GoneShootin


    Oh sure but I ment were you going to use

    PHP/JSP/ColdFusion/ASP etc


  • Closed Accounts Posts: 7,230 ✭✭✭scojones


    Make sure you secure it up. Otherwise users will be able to execute commands and cause you alot of pain and suffering.


  • Registered Users, Registered Users 2 Posts: 879 ✭✭✭sirpsycho


    can someone recommend an uploader? it can be ASP or PHP but should work with files up to about 5Mb. i've been searching the boards but can't find any answers. i've also tried a few from the web (both ASP & PHP) but they seem full of bugs or don't work at all.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,581 ✭✭✭uberwolf


    these lads have added this to their site (though youmay need to be logged in to see it) if you mail on on their admins they may be willing to tell you what they did/how they did


  • Registered Users, Registered Users 2 Posts: 1,481 ✭✭✭satchmo


    I was looking for something similar a while ago, and I eventually found the Perl script on this page. It's extremely easy to set up and has password protection, the only thing it doesnt have is a way to view the files after they're uploaded - but a simple script for that shouldn't be too hard.
    For something quick and dirty that works, I'd recommend this.
    [edit]oh and you can specify the file size limit yourself[/edit]


  • Closed Accounts Posts: 304 ✭✭Zaltais


    This functionality (file upload) is obscenely easy to code in perl (doing it securely takes a bit longer though), I'm nearly sure that the same in PHP is only marginally more complex, but there are some built in limits that may cause you problems with files over 1 MB (I think).

    The main problem you're likely to have is actually network bandwidth.

    I setup just such a page yesterday, but while I can upload files up to about 10 MB with no major problems (other than having to wait for it to upload!) Users in our UK office can't upload half that amount (i.e. 5MB - the amount you're looking for...) So if the uploader is in the same office as the server, then it shouldn't be a problem, but once you start hopping over different subnets, then you may start to see some timeouts....


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    I've yet to see easier uploading than asp.net provides. A couple of lines is all thats required.


Advertisement