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

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

c# - Can I intercept a SOAP response in .NET before a content type binding mismatch ProtocolException? -

css - Can I use the :after pseudo-element on an input field? -