ftp'ing multiple files to the remote server

unix shell script

Displaying the files are in vertical. Hence while ftping, it ends with an error.

Try with the below one..

SOURCE_FILE=$(ls -rt EXCEL_QUALITY*.xls |tail -3 | xargs)
1 Like

Many thanks Jayan... It worked...

Cheers..!!!!