We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38733
    • 22 Posts
    Description of Problem:
    I have an upload (e)form on a remote MODX site. File uploads are usually too big to email.
    Is there a way to automatically download a file, when uploaded, to somewhere on my local network?

    Steps to Reproduce: See above.
    Expected Outcome: See above.

    • MODX Version: Evo 1.0.7
    • PHP Version: 5.3.10-1ubuntu3.4
    • Database (MySQL, SQL Server, etc) Version: MySQL 5.5.24
    • Additional Server Info: Linode
    • Installed MODX Add-ons: eForm 1.4.4.7, AjaxSearch 1.9.2, Breadcrumbs 1.0.3, Ditto 2.1, Doc Manager 1.1, EasyPoll .3.1, FirstChildRedirect 1, Forgot Manager Login 1.1.6, Jot 1.1.4, ListIndexer 1.0.1, ManagerManager .3.9, MemberCheck 1.1, MODxHost 1, Personalize 2.1, Reflect 2.1, Search Highlight 1.5, SiteMap 1.0.10, TinyMCE 3.3.9.2, TransAlias 1.0.1, UltimateParent 2, Wayfinder 2.0.1, WebChangePwd 1, WebLogin 1.1, WebSignup 1.1
    • Error Log Contents: N/A

    This question has been answered by ssanders. See the first response.

    • Be careful about this: automatically downloading files could be a bad idea if someone gets clever and uploads nasty files.

      I've had some success setting up Dropbox on my servers: that way if a script puts a file into my Dropbox folder, it shows up on my desktop soon afterwards.
      • discuss.answer
        • 38733
        • 22 Posts
        Yeah, actually I just installed GoodSync and am now backing up the uploads from SFTP to a network share every minute.