The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 02-08-2008
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 455
From experience. There will be significant timing issues with this project.
***Will you run the transmit end as a loop within a script, or as a cron job?***
Will you run the controlling end (presumably windows) as a loop within a script or as a scheduled job?
On the transmit (unix) end the file will show in a directory listing when it is opened, so how will you prevent the ftp process from transmitting a partial file?
On the receive end(Windows), the file will not show in a directory listing until it is closed.
If you repeat file names, the windows end will not replace an open file.
If the file takes longer than one minute to transmit, how will you handle the next loop.
Other considerations:
email the file, and create an email recipient that is a process.
Create an LPR/LPD printer and have the Windows print driver be the receiving process.

Last edited by jgt; 02-08-2008 at 10:51 AM.. Reason: Change ftp server from transmit end to receive end