开发者

Auto Upload Files When Added to a Folder

I was wondering how i could get file to automatically upload when added to a folder on my computer.

Simliar to what dropdox does so that when i add a new file to a folder on my desktop it will automatically recognize this an start and upload in the background and and place it on a server??

I have been googling could some point me in the right direction开发者_如何学C on how to learn this and what technology is used i.e ajax php jquery.

I understand this is probably quite a broad question but want to find the right places to start:)

Any Help Please.


You can use LINUX server's Cronjobs. Cronjobs is scheduled tasks. You have code a script which checks this folder and if there is a new file, uploads it. And you have to run this script every (for example) 5 minutes , via cronjobs.

But your computer must be open, always. And i'm not sure, can you list your local folders. Maybe you can use some technologies for this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜