|
As always, it depends. If you want to do this interactively just run this from a command line: FTP (your mainframe) Enter login ID : (mainframe User ID) You will see messages similar to these: 331 Send password please. 230 USRPRF is logged on. Working directory is "USRPRF.". The Working directory is the dataset that your transferred file will go under unless you enclose it in three single quotes (''') The three single quotes indicate a named dataset outside of your working directory. Enter an FTP subcommand. > put YOURLIB/YOURFILE '''PCDL.RUTKY01A''' The rest should go like this: 125 Storing data set PCDL.RUTKY01A 250 Transfer completed successfully. 1938 bytes transferred in 0.950 seconds. Transfer rate 2.040 KB/sec. Enter an FTP subcommand. > QUIT 221 Quit command received. Goodbye. If you'd like to run this in batch you need to create a file with the user ID/password and FTP commands in it the use OVRDBF to override the FTP INPUT & OUTPUT files. There are additional commands needed if you are trying to transfer binary or packed decimal data. Your can find more info on FTP commands in the TCP/IP Configuration and Reference manual. Regards, Scott Ingvaldson AS/400 System Administrator GuideOne Insurance Group -----Original Message----- date: Mon, 23 Jun 2003 09:52:41 -0400 from: "Adam Lang" <aalang@xxxxxxxxxxxxxxxxxxxx> subject: FTPing from OS/400 to Mainframe Hello, I can't seem to find how to do this. We have a file on the AS/400. We want to FTP it to a mainframe. The file it has to FTP to, is pcdl.rutky01a . How do we ftp a file from the AS/400 and get it to store in that file that was created? Adam Lang Systems Engineer Rutgers Casualty Insurance
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.