Forum Moderators: coopster

Message Too Old, No Replies

Automatic download from the internet to a usb stick

         

pixeldiver

12:45 am on Sep 9, 2009 (gmt 0)

10+ Year Member



Hi, I don't know if this the right place to post - please advise the right direction if I'm at the wrong place.

What I basically needed to do is: I have a USB stick for clients to update files from the webserver. When a client plugs in his USB stick, it should perform an automatic download of files that are newer dated to the stick.
It could have a web browser with an interface to do the communication with the server. The files are stored in a mysql database.

Any ideas on how to approach this issue?
-Should I build a php page as interface OR is there ready made software available to perform the sync with the webserver?

I have been diving through the net but haven't found THE appropriate solution yet.

Is there anyone who has done this before?

andrewsmd

7:54 pm on Sep 9, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need to look into the autorun file that is on the usb. That is what get's executed when a usb is plugged into a drive. However, the only thing you could do there is call a php page that is an interface to the USB drive but I wouldn't recommend having something that auto downloads, there should be some user interaction there.

pixeldiver

12:06 am on Sep 10, 2009 (gmt 0)

10+ Year Member



Thanks for your reply andrewsmd. I will look into the autorun file and might execute a browser startup, load the php page with the interface and I will probably need some sort of a user login to track who has updated his USB stick.

I will get back as soon as I got some results.

Cheers

andrewsmd

1:15 am on Sep 10, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Really quick I forgot to mention I think the file is called autorun.inf. Don't quote me on that though, I haven't used them in a while.