Resolving variables in an FTP session
I set a variable before entering the FTP session (vDate). Then it does not seem to resolve when I try to use it in the session as part of an mput command. $vDate resolves as an empty value. Can you point me in the right direction?
vDate=`TZ=GMT+24 date +%m-%d-%Y`
ftp -d -n server
quote USER u10004
quote PASS *****