AFAIK, you cannot do this with mget as implemented in FTP under MS Win. You have to mget all the members without an extension from FTP then exit FTP to rename (like cd to-your-directory-location then ren *. *.txt)
IOW, just "mget *" while inside of FTP (I presume you also did "prompt" before the mget to turn off prompting per member, right?), then leave FTP to rename the downloaded members. HTH Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of J O Skip Robinson Sent: Wednesday, January 28, 2015 1:54 PM To: [email protected] Subject: FTP MGET I'm trying to pull an entire PDS to work station. FTP MGET seems the way to go, but my first effort yielded files with just the member name as file name. I want member.txt so that I can look at them conveniently. Can't get anything to work. Last try was this. Each operand is surrounded by blanks. ftp> mget -i *.* *.txt No members found. ** is not preceded or followed by a period or blank. ** is not preceded or followed by a period or blank. 200 Representation type is Ascii NonPrint Cannot find list of remote files. -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
