| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Rob Lahey Beginner
 
 
 Joined: 13 Jul 2003
 Posts: 9
 Topics: 4
 
 
 | 
			
				|  Posted: Mon Sep 19, 2005 8:22 am    Post subject: FTP: Incoming files req server to host upload... |   |  
				| 
 |  
				| Gents: 
 External businesses need to send daily sequential data-files to our host via a leased line using FTP. Since we don't reveal the IP address of our host (security reasons) they must send them to our file server running Unix.
 
 All files use a date (yyyy.mmdd) in the actual DSN in-case they repair & re-send previous days non-conforming files.
 
 We want incoming files arriving at our server to automatically upload to our mainframe. Since we can't predict which prior day's files get re-sent to us, we can't schedule a host batch job to collect them.
 
 We need:
 
 1: An FTP technique that overlays any like-named files on our server (a "replace" option ?), as well as creating normal new daily files.
 
 2: A way for the server to trigger an immediate host upload job when new or replacement files arrive.
 
 3: A way to replace the hyphenated DSN on the server ie: hlq-yyyy-mmdd-data with one using host-friendly periods ie: hlq.yyyy.mmdd.data.
 
 Any insight on how to do this would be greatly appreciated. Even more appreciated would be a sample of whatever Unix script might do the job.
 
 Any help appreciated.
 Rob
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Rob Lahey Beginner
 
 
 Joined: 13 Jul 2003
 Posts: 9
 Topics: 4
 
 
 | 
			
				|  Posted: Mon Sep 19, 2005 8:26 am    Post subject: |   |  
				| 
 |  
				| PS: 
 The host files likewise will need to be overlaid if they are being replaced.
 
 Rob
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |