On Sat, 6 Oct 2007 18:43:25 -0400, John S. Giltner, Jr. wrote:
>
>transfers.  I never tried to ftp to /dev/null.
>
Don't bother:

    Command:
    syst 
    >>> SYST 
    215 MVS is the operating system of this server. FTP Server is running on 
z/OS.
    Command:
    get 'SYS1.maclib(splevel)' /dev/null
    Get fails: /dev/null is a character special file.
    Command:

Most FTP servers and clients will deal only with regular files (OS X seems
to be an exception).  For the server, this may be due caution; for the client
it's a foolish and needless limitation.

Further:

    Command:
    get 'NULLFILE' foo.bar
    >>> PORT 127,0,0,1,4,203 
    200 Port request OK.
    >>> RETR 'NULLFILE' 
    550 Data set NULLFILE not found

But:

    Command:
    put 'sys1.maclib(splevel)' 'NULLFILE'
    >>> SITE FIXrecfm 80 LRECL=80 RECFM=FB BLKSIZE=27920 
    200 SITE command was accepted
    >>> PORT 127,0,0,1,4,204 
    200 Port request OK.
    >>> STOR 'NULLFILE' 
    125 Storing data set NULLFILE
    250 Transfer completed successfully.
    30176 bytes transferred in 0.005 seconds.  Transfer rate 6035.20 Kbytes/sec.

... I wonder where it went?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to