I have written a shell script to get the files from another UNIX server. But files are not being copied. Could someone help me what I am doing wrong.sftp username@server:$pathget ubpbilp* ./mget cust.cmp* bunc.cmp* ./echo Your files are copied.
use SFTP in shell script
ssh;ksh;sftp
Perhaps like this:sftp username@server <<EOTcd $pathget ubpbilp*get cust.cmp* get bunc.cmp*quitEOTas sftp doesn't support mget.