lftp not able to resolve alias value defined in .lftprc file -
i have defined aliases in config file .lftprc below-
alias ftp_server_x 99.999.999.999
from command prompt when run
lftp -e "open -u user,password 99.999.999.999"
it connects server.
but when try use alias name in command
lftp -e "open -u user,password ftp_server_x"
i error 'open: ftp_server_x: name or service not known'
need in resolving error.
lftp aliases commands, not host names. try bookmarks instead:
bookmark add ftp_server_x 99.99.99.99
Comments
Post a Comment