0

I have network storage which is available for me. My job is to create script which will daily download updated files from this storage ( file to download have same name just content is different).

And here is question to You because I'm not very experienced in writing scripts ( only php and little bit sh).

I tried using samba and class which is available here but this class is supposed to create UI to download files manually which is not what I am looking for.

Can You please tell me any other way how can I download files from network storage?

Mithrand1r
  • 2,313
  • 9
  • 37
  • 76
  • I use PHP copy function to copy files from remote servers. It works for downloading everything from HTML files to multi-megabyte zips. Perhaps this with a Cronjob to automate it? – Robert Seddon-Smith Jun 03 '13 at 10:27
  • yes cron is the only solution for automation I can think of, about copy function im going to test it right now – Mithrand1r Jun 03 '13 at 11:01

1 Answers1

0

Network file system, using PHP and MongoDB

http://verens.com/2014/11/06/distributed-file-storage-using-php-and-mongodb/

Kae Verens
  • 4,076
  • 3
  • 21
  • 41