I have a small server that I run from my home, used for file delivery to clients. I have debian installed on it, and it is running owncloud 8. I've also set up the utorrent w/ webui, and found it very handy for logging in remotely and pasting links to torrents.
What I'd like to do is be able to send a link to the server somehow, and it automatically downloads the attached file (other than torrents). Perhaps I can send an email containing a link, that the server downloads upon receiving? I'd like to avoid SSH or anything that's time consuming to actually use, as it defeats the purpose of having such a function. Primarily, I'd be sending links from my phone. The closest I can think is to use cron or something to watch a folder for something, but even then, I don't know how to set that up.
thanks,
K
Just had this thought again. Came to TS to look for help and post. Decided to search first. I beat myself to my own idea.
Anyone know of any way this could work? A script that checks emails received in a particular account and saves the file linked?
That sounds like a massive virus and vulnerability issue. I am sure its possible, although I can't help you there. I just don't think its something to be done.
3 Likes
Surely there is a mail app out there that can filter messages so that only things from me make it through. Also, it's not a windows server, so I'm not too worried about viruses. I mostly use os x anyway.
I suppose when I get some time, I'll do the dirty work and trudge through figuring it out. I was really hoping someone would have some insight, so if I figure it out I'll post up here for others.
1 Like
Admitting you mostly use OS X on this forum is brave. Good luck don't die friend.
1 Like
You would not EVER want to cause such a security risk like this.
But what you could do to get started is to set up a cron job to scan a users system mail, and if it was from a verified email (yours), to put the contents of email into a variable and then just wget the variable to a directory.
This sounds like a terrible idea....
Btw: There are viruses for OSX and there getting more popular.