Hello

I am encountering a problem using a script with lftp. I can connect and get the file if I run the commands manually, but I get the following error when I run them in a script:
 
"get: Access failed: 521 Data connection can not be opened with this PROT setting."


This is how I have setup the transmission

lftp -f lftp.sh

contents of lftp.sh:

open -p 20021 -u user,password www.dds.usbank.com
cd ../directory
get file

Any help would be greatly appreciated,

Brian Correia
MAXIMUS
UNIX Systems Administrator

Reply via email to