Go Down

Topic: How do I read files on another computer? (Read 620 times) previous topic - next topic

april

Dec 06, 2010, 08:58 pm Last Edit: Dec 06, 2010, 09:06 pm by april.steel Reason: 1
For my project I need to automatically read files from another computer via its server. Like this psuedocode :-

AT HOME
check()
log in in ftp
go to url
if new files
 read files
 write files to local
sleep 30 mins
run check()

I have full access on both windows machines and simply want to fetch any new created files from a security camera and record them at home . If possible I would like to have the security machine perhaps notify the home machine that a new file has been written but I don't know how to attack this? Can u help?

AT SHOP
checknew()
if new file saved
 Callhome()
sleep 1 min
run checknew()

Callhome()
establish ftp
go to file address
transfer file


Korman

Quote
Can u help?


Best not use and Arduino for that task, use on the target system a program like wget or some other ftp client which supports automatic retrieving.

Korman

James C4S

http://www.dropbox.com

Save your photos to your dropbox directly.  Any computer (PC or Mac) you install dropbox on will automatically synchronize the files.  Additionally the client will give toaster pop-ups when files are added.

And it is Free.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

robtillaart

Quote
And it is Free.

I learned from my dad that free often means you don't pay in money but in some other way and the money is paid by someone else... :)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up