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

attaching a file for ftp submission

  • 22-09-2004 2:56pm
    #1
    Closed Accounts Posts: 297 ✭✭


    I have a website on the net, and I want to set up an FTP page. Basically, what I want to do, is have a Browse button, where the user can select the file, and an upload button to put it on a specified folder on the server. I haven't a clue how to do this, and I have created my entire site in Dreamweaver. Help please!


Comments

  • Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭seamus


    Are you using any scripting languages - PHP, ASP, Coldfusion?


  • Registered Users, Registered Users 2 Posts: 6,570 ✭✭✭daymobrew


    If your site has ftp access you could do it that way.
    If you have cgi scripting access you could get the 'Submit' button to send the file to a cgi script that would copy the file to the required location on the server. Security and disk space will be big issues here, though you could put in some authentication.


  • Closed Accounts Posts: 297 ✭✭zag


    I'm a complete noob when it comes to programming languages. I assume I would have to use Perl or Javascript or something, but I wouldn't know where to start.


  • Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭seamus


    It would depend on what kind of languages your host supports. Perl, PHP, JSP or ASP are about the most usual.

    If you host supports PHP, you can PM me with what you need, and I'll sort you out. I would recommend heading off to learn it yourself though.


  • Registered Users, Registered Users 2 Posts: 1,031 ✭✭✭buddy


    You can do it with Frontpage.

    Otherwise, vBulletin forums have the feature.

    There are some scripts out there too, I never got one to work but didn't spend too long on it:

    www.topscripts.com
    www.totalscripts.com


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    You could do in most scripting languages, like PHP, but you would need to be very careful about adding "sanity checks" ie. only allowing certain file types.


  • Moderators, Politics Moderators Posts: 41,230 Mod ✭✭✭✭Seth Brundle


    You host also has to allow it - many don't allow file uploads not via ftp (you are not ftp'ing the files really) for security reasons.
    Who is going to be using this feature? Will you have to restrict certain types of files (*.exe for example)?
    Find out what languages your web host supports (ASP/PHP/perl & cgi/coldfusion) and let us know and we can help better.


  • Closed Accounts Posts: 297 ✭✭zag


    Cheers for the input lads. I'm now wiser for it. Seamus helped me out with this yesterday. Thanks Seamus.


Advertisement