RE: If This Can Be Done, How?

Why are you not using proven technologies that have been doing this for over a 
decade.

There are about 10 to 20 different issues you haven't begun to address here. 

Take care,
Sina

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: Wednesday, October 06, 2010 9:59 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: RE: If This Can Be Done, How?

Hi,
Here's what I thought about.

For this process, I'm assuming that the files I'm interested will only be 
created and altered on the Windows side.

==========

On the Linux box, make a Perl or some other kind of script that does the 
following.
Copy the folder structure I'm interested in somewhere to back it up.
crawl through the folder structure and read the time stamp information and 
write it  somewhere.
Kick off SFTP, FTP, or something. 
Log onto the Windows box
cd to  the folder structure on the Windows box.
do a dir,  and pipe it to a file.
Download the resulting file.
Load the file.
Read the time stamp from each line of the file and compare that to the time 
stamp of the file on the Linux side.
Assume that if a file doesn't exist on the Linux side, that it is new, so 
collect its information.
If the time stamp from Windows is newer than the one on Linux, collect the 
files  information.
When done reading through files, download the changed or new ones from the 
Windows box.
Log off from the Windows box.
Send me an e-mail that summarizes what happened.

Any holes in this logic?

Thanks.

Jim
Jim Homme,
Usability Services,
Phone: 412-544-1810. Skype: jim.homme
Internal recipients,  Read my accessibility blog. Discuss accessibility here. 
Accessibility Wiki: Breaking news and accessibility
advice


-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of DaShiell, Jude T. 
CIV NAVAIR
1490, 1, 26
Sent: Wednesday, October 06, 2010 7:58 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: RE: If This Can Be Done, How?
Importance: Low

Sounds like a job for either samba or rsync though if the windows box has no 
rsync set up on it that won't work.  

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: Tuesday, October 05, 2010 15:20
To: programmingblind@xxxxxxxxxxxxx
Subject: If This Can Be Done, How?

Hi,

I want to make a process that does the following.

 

* Runs on a Linux box.

* Opens an application. I'm not sure if it needs to be ftp or secure ftp, or 
something else.

* Opens up an address to a Windows box.

* Logs on.

* Compares files on the windows box to those on the Linux box to see if any on 
the Windows box were updated based on time stamp.

* The folder structures on both boxes would mirror each other except for 
starting location.

* Moves only the newer ones up to the Linux box.

* Logs off.

* Closes.

 

Thanks.

 

Jim

Thanks.

 

Jim

 

Jim Homme,

Usability Services,

Phone: 412-544-1810. Skype: jim.homme

Internal recipients,  Read my accessibility blog 
<http://mysites.highmark.com/personal/lidikki/Blog/default.aspx> .
Discuss accessibility here
<http://collaborate.highmark.com/COP/technical/accessibility/default.asp
x> . Accessibility Wiki: Breaking news and accessibility advice
<http://collaborate.highmark.com/COP/technical/accessibility/Accessibili
ty%20Wiki/Forms/AllPages.aspx> 

 


________________________________

This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are
addressed.
If you have received this e-mail in error, please notify the sender immediately 
and then delete it. If you are not the intended
recipient, you must not keep, use, disclose, copy or distribute this e-mail 
without the author's prior permission. The views
expressed in this e-mail message do not necessarily represent the views of 
Highmark Inc., its subsidiaries, or affiliates.

__________
View the list's information and change your settings at 
http://www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at 
http://www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at 
http://www.freelists.org/list/programmingblind

Other related posts: