On Tue, 25 Jun 2013 15:06:36 -0500, don isenstadt <[email protected]> wrote: > ># note quote already done by ftplib so no quote .. this works fine >ftp.voidcmd( "site file=JES" ) ># Attempt to upload the file >f = open('tjcl.txt', r) >ftp.storlines("STOR",f) <-- this is what fails..<< >ftp.quit() >error_perm: 501 Invalid data set name. Use MVS Dsname conventions. - but I am >not trying to send a dataset up >just the a jobcard and iefbr14 in a text file??? > Yes, but FTP is (was?) a moron. It required a valid data set name in the target regardless. I used to get errors of this sort, but I can't reproduce the behavior today on z/OS 1.13.
-- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
