Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP Error Codes

Status
Not open for further replies.

ryanc2

MIS
Apr 18, 2003
73
US
I'm using -nvi options with FTP on UNIX box and sending standard out and error to log files, but none of the FTP codes are showing up. Also, the only error that writes to the error log is a Kerberos Authentication message. I'm getting what should be an error 550, but the error message shows up in standard out without the 550 code.

ftp.log:

$ cat ftp.log
---> AUTH KERBEROS_V5
'AUTH KERBEROS_V5': command not understood
---> SYST
Please login with USER and PASS.
---> TYPE A
Please login with USER and PASS.
Remote system type is unknown.
Using ascii mode to transfer files.
---> USER #######
---> PASS XXXX
Passive mode on.
---> CWD hjs/IMPORTS/ITEM
---> TYPE I
---> PASV
---> STOR WAITEMRIV.DAT.SNT
?Invalid command
---> RNFR WAITEMRIV.DAT.SNT
---> RNTO WAITEMRIV.DAT
WAITEMRIV.DAT: The process cannot access the file because it is being used by another process.
---> QUIT

ftp_err.log:

$ cat ftp_err.log
Kerberos V5: rejected as an authentication type

Thanks
 
ftp -ndi ${IP} <<-EOF> ${ldir}/ftp.log 2> ${ldir}/ftp_err.log
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top