| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| kanitha-mvs Beginner
 
 
 Joined: 17 May 2006
 Posts: 26
 Topics: 17
 
 
 | 
			
				|  Posted: Wed Apr 23, 2008 7:59 pm    Post subject: FTP set of PS files to PC |   |  
				| 
 |  
				| Hi, 
 I want to transfer some 250 sequential files from mainframe to PC(windows OS).
 
 I am looking for the batchutility FTP to transfer these files as a bulk. But I have few queries in the parameters used for this FTP utility.
 
 The parameter list required for FTP utility would be
 
 Host name
 Port
 User id
 Password.
 
 Does this refer to the Mainframe user id and password?
 
 If i try with the mainframe user id and password and if i specify the path of the as "C:\abc"(Path to store the file in PC), It is showing the error message as "Specified folder not found".
 
 Can someone explain the parameter usage for FTP utility?
 
 Thanks.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| ash_sudp Beginner
 
 
 Joined: 17 May 2006
 Posts: 12
 Topics: 0
 
 
 | 
			
				|  Posted: Tue May 13, 2008 10:09 pm    Post subject: |   |  
				| 
 |  
				| //PS090    EXEC PGM=FTP,REGION=0M, //         PARM='XXX.XXX.X.XXX (EXIT TIMEOUT 1440'
 //NETRC    DD DSN=your.datalib,
 //            DISP=SHR
 //INPUT    DD DSN=Your.FTP.PARM,
 //            DISP=SHR
 //OUTPUT   DD SYSOUT=&SYSOUT
 //SYSPRINT DD SYSOUT=&SYSOUT
 //SYSMDUMP DD SYSOUT=&SYSOUT
 
 Your datalib content:
 ********************************* Top of Data **********
 MACHINE XXX.XXX.X.XXX LOGIN XXXXXX PASSWORD XXXXX
 ******************************** Bottom of Data ********
 
 Machine IP = destination IP
 Login and passwd = destination userid and passwd
 
 Your FTP parm content:
 ********************************* Top of Data *********
 ASCII
 PUT 'File.you.want.to.transfer' Destination_file_name
 DIR
 QUIT
 ******************************** Bottom of Data *******
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |