VMFTP sets a return code of -5 when it finds these strings immediately
following the 3 digit numeric message id in the beginning of the
response from the server:

"Invalid"
"Ambiguous"
"Local file not" 

So if your string was "550 Local file not stored. Space not available.",
there is the reason for the -5.

The author put 00N as the message code. This is a signed ebcidic numeric
file of -5. This is what you see when the -5 appears.

VMFTP is not another FTP program. It is a wrapper or a front end for
FTP. It eats up all terminal input and output.

Maybe a change is in order to cope with a "550" message code.

____________________________ 
Jim Hughes
603-271-5586
"Its kind of fun to do the impossible." (Walt Disney)


=>-----Original Message-----
=>From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
On
=>Behalf Of Fran Hensler
=>Sent: Friday, August 29, 2008 4:17 PM
=>To: IBMVM@LISTSERV.UARK.EDU
=>Subject: Re: VMFTP Return Code -5
=>
=>I have found the reason for the return code -5.
=>
=>Although it is supposed to mean 'subcommand syntax error' that is not
=>my case.  The problem is that there is not enough space on the target.
=>
=>I'm doing the ftp to a network drive which has a limit of 30 MB for
=>each user.  The user in question has used his full 30 MB.
=>
=>When I use the VMFTP macro I get a return code -5.  But when I type
=>the commands in CMS one at a time I get a return code on the PUT of
=>550 which means there is not enough space.  So there must be a problem
=>with VMFTP.
=>
=>BTW, I tried MKDIR TEST in a VMFTP macro for this same user and VMFTP
=>gave me the correct response that there is not enough room on the
disk.
=>
=>/Fran
=>---------------------------------------------------------------
=>Here is the console log:
=>
=>ftp 10.1.72.40
=>VM TCP/IP FTP Level 3A0
=>Connecting to 10.1.xx.xx, port 21
=>220 Microsoft FTP Service
=>USER (identify yourself to the host):
=>srunet\xxxxxxxxx
=>>>>USER srunet\xxxxxxxxx
=>331 Password required for srunet\xxxxxxxxx.
=>Password:
=>
=>>>>PASS ********
=>230 User srunet\aaamfuser logged in.
=>Command:
=>cd /eliott.baker
=>>>>CWD /eliott.baker
=>250 CWD command successful.
=>Command:
=>cd Mainframe
=>>>>CWD Mainframe
=>250 CWD command successful.
=>Command:
=>dir
=>>>>PORT 10,1,72,34,209,199
=>200 PORT command successful.
=>>>>LIST
=>150 Opening ASCII mode data connection for /bin/ls.
=>08-19-08  04:45PM       <DIR>          Class_Lists
=>08-19-08  04:46PM       <DIR>          DARS
=>08-19-08  04:50PM       <DIR>          QWCONF
=>08-19-08  04:41PM       <DIR>          RS133
=>226 Transfer complete.
=>Command:
=>cd rs133
=>>>>CWD rs133
=>250 CWD command successful.
=>
=>Command:
=>put NO_INST.TXT NO_INST_2008-08-29_15-57-07_FRI.txt
=>>>>SITE VARrecfm
=>500 'SITE VARrecfm': command not understood
=>>>>PORT 10,1,72,34,209,200
=>200 PORT command successful.
=>>>>STOR NO_INST_2008-08-29_15-57-07_FRI.txt
=>550 NO_INST_2008-08-29_15-57-07_FRI.txt: There is not enough space on
the
=>disk.
=>
=>Command:
=>quit
=>>>>QUIT
=>221

Reply via email to