Hey

 

First of all I'd like to thank you for the great job on coding lftp. I am
using it in a script but I am dealing with a odd problem. The solution
probably is easy but after looking on the internet for several days I can't
find a solution.

What I want to do is work with some variables in a lftp script or passing
them to the lftp prompt.

For instance: instead of CD'ing to a dir on the remote site, I would like to
do the following

 

BACKUP=/home/backup/

 

Lftp open mybackupprovider; cd $BACKUP; put backup.tar.gz; bye

 

Is this currently possible, and if so, how do I do this?

Thank you in advance

 

T.

Reply via email to