1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mkdir /ne and ftps

Discussion in 'Support' started by David Marcus, Aug 16, 2011.

  1. David Marcus

    Joined:
    Jun 4, 2008
    Messages:
    647
    Likes Received:
    1
    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, E=info@plesk.com
    Subject: C=US, S=Virginia, L=Herndon, O="SWsoft, Inc.", OU=Plesk, CN=plesk, E=info@plesk.com
    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]
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,806
    Likes Received:
    82
    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
     

Share This Page