Search code examples
uploadscreenshot

I need to take screenshots and upload to a webserver, what technology should I use?


I am building a peice of software that needs to allow a user to take a screenshot of his/her computer which will then be uploaded to a web server.

What technology should I use? I don't think js has access to the appropriate resources, but would like to keep it browser based. Help?


Solution

  • nope ... javascript won't work ... you need some lib which takes a screenshot and another one which does the upload.

    in .net there are builtin libs for both (taking screenshots, upload via ftp)

    edit:
    choose a technology which is able to create a screenshot and post it to an external resource via POST (or upload it via FTP). therefore you will need some access to local file-system ... well ... what would you think if you, as a novice, get prompted to allow access to local-filesystem (or network-resources)?

    edit2: as far as i know, silverlights support taking screenshots ... and there would be some ftp/post action included as well ..