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

FTP.CFG file aliases

Discussion in 'Support' started by tabell, May 24, 2010.

  1. tabell

    Joined:
    May 11, 2010
    Messages:
    4
    Likes Received:
    0
    I'm using TCC 9.00.99.

    According to the help, I'm supposed to be able to set an alias name in parentheses (myalias) in the ftp.cfg file so that I can connect to an FTP site with a convenient shortened form, like this:

    iftp "ftp://myalias"

    The line in ftp.cfg would be

    ftp://mydomain.com (myalias) myusername mypassword

    Trying to connect with the alias always results in the immediate response:

    TCC: (Sys) The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for.
    "ftp://mydomain.com"

    Connecting with the full name, "ftp://mydomain.com", works correctly.

    What am I doing wrong? How do I get this feature to work?

    (Also, the help has a typo and shows the alias between the username and password.)

    Thanks!
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,859
    Likes Received:
    83
    You don't need the leading "ftp://" in IFTP, though it shouldn't hurt.

    I cannot reproduce your problem here. The error you're getting is coming
    from the ftp server, not TCC, so there's not much I can do to debug it
    without access to that server.

    Rex Conn
    JP Software
     
  3. tabell

    Joined:
    May 11, 2010
    Messages:
    4
    Likes Received:
    0
    Actually, the message does not come from the server; it appears immediately, before any data is sent over the Internet and does so even if the computer is uplugged from the network.

    And since iftp mydomain works, but iftp myalias doesn't, and the FTP.CFG file is correct, it must be something in TCC.

    My version is fairly old (9.00.99). Could this be a problem that was solved in a later version?
     
  4. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    ----- Original Message -----
    From: "tabell" <>

    I don't know whether or not your specific issue is solved by it, but you can
    download and update your TCMD to build 9.02.157:
    ftp://jpsoft.com/oldver/tcmd902.exe
    ftp://jpsoft.com/oldver/tcmd902_inikey.dll

    That's a free update!
    --
    Steve
     
  5. tabell

    Joined:
    May 11, 2010
    Messages:
    4
    Likes Received:
    0
    Thanks, Steve. Believe it or not, upgrading to 9.02.157 using the above file resolved the problem. The connection succeeds with just FTP alias name. The error message does not appear.

    Much obliged.
     
  6. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    ----- Original Message -----
    From: "tabell" <>
    | Thanks, Steve. Believe it or not, upgrading to 9.02.157 using the above
    file resolved the problem. The connection succeeds with just FTP alias name.
    The error message does not appear.
    |
    | Much obliged.

    Glad to have been of help.
    --
    Steve
     

Share This Page