Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

mkdir /ne and ftps

Jun
770
6
Should /ne suppress error messages from mkdir and ftp sites? It doesn't seem to:

HTML:
C:\>iftp /p1 /r ftps://www.ratingscentral.com
The server provided the following certificate:
Issuer: C=US, S=Virginia, L=Herndon, O="SWsoft, Inc.", OU=Plesk, CN=plesk, [email protected]
Subject: C=US, S=Virginia, L=Herndon, O="SWsoft, Inc.", OU=Plesk, CN=plesk, [email protected]
The following problems have been determined for this certificate: [0x800b0109] A certification chain processed correctl
y but terminated in a root certificate not trusted by the trust provider.

Would you like to continue? (Y/N)? Y

C:\>mkdir /ne ftps:/httpdocs/Apps
TCC: 550 /httpdocs/Apps: File exists "/httpdocs/Apps"

C:\>ver

TCC  12.11.74   Windows Vista [Version 6.0.6002]
 
> Should /ne suppress error messages from mkdir and ftp sites?

WAD.

/NE suppresses non-critical errors; the problem is that TCC can't tell
what's a critical FTP error and what isn't. In this case, the FTP dll is
returning a 141 (FTP protocol error). It isn't until (much) later that the
error-handling routine picks apart the server reply text to display the
error. And even at that point, TCC doesn't know the error code, it just
knows the server complained about something and returned some text. So the
only way to handle this would be to add another parser level to query the
server text and attempt to match it to some set of error message strings.
For every FTP server, and for every language.

It's just not feasible.

Rex Conn
JP Software
 
Back
Top