Did you set "Binary" mode for the transfer?  When I transfer a java "class" 
file (also a binary entity like a jar file), it transfers just fine in Binary 
mode:

ftp> bin
200 Representation type is Image
ftp> get '/u/tsouser/Example.class' exam-class.bin
200 Port request OK.
125 Sending data set /u/tsouser/Example.class
250 Transfer completed successfully.
ftp: 438 bytes received in 0.00Seconds 438000.00Kbytes/sec.
ftp>

HTH

Peter

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Steve Thompson
Sent: Tuesday, October 25, 2022 5:48 PM
To: [email protected]
Subject: ftp to/from USS with Windows

I have been chasing this around for over an hour, looking at different 
manuals...

For some reason I can't do an ftp get command that will work to go to (example 
only):

/u/abc/some.java.file.jar

and then copy that to my windows laptop.

I get various messages about using a fully qualified name (DSN thing).

So this is what I want to do:

[already set to the correct location in windows]

get '/u/abc/some.java.file.jar' some.java.file.jar

There was some cnftp (?) command at z/OS 2.1, that now is not available (spent 
time chasing that too).

Besides not retiring, what am I doing wrong? This works for MVS data sets, just 
can't get it to touch the USS (yeah, shoot me because I used to complain about 
this being a component of VTAM) file system area.
-- 

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

Reply via email to