(drush cc all) && (drush sql-dump --result-file=%backupdir%/%tarname%)
The above is executed but not the below command.
Can I run the below command using '&&' as well?
echo user username> ftpcmd.dat
echo password>> ftpcmd.dat
echo bin>> ftpcmd.dat
echo put %backupdir%/%tarname% /Backup/%tarname%>> ftpcmd.dat
echo quit>> ftpcmd.dat
ftp -n -s:ftpcmd.dat ftpserver
del ftpcmd.dat
I just need the ftp commands to execute after a successful database dump.
Thanks.