You are here: Re: upload a file without user having to browse or enter file name « PHP Programming Language « IT news, forums, messages
Re: upload a file without user having to browse or enter file name

Posted by Alvaro G. Vicario on 07/27/06 22:38

*** walterbyrd escribió/wrote (27 Jul 2006 05:42:06 -0700):
> A very small warehouse just got a portable scanner. On recieving data,
> the data is scanned in, then the data from the scanner is transfered to
> a desktop PC. After the data is transfered to the PC, the user needs to
> update the online database with that data. The database is kept online
> because the clients need to view the inventory.

I'd use rsync for such purpose.

1) Install rsync server wherever you have your online database (if it's a
Linux server, it'll be already installed).

2) Create a module pointing to a temporary directory.

3) Install rsync (client) in the desktop PC.

4) Write a batch file to upload new images.

5) Create a Windows scheduled task to make the batch file execute.

As about security, rsync offers several alternatives, ranging from
passwords to user certs.

--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация