Hi,
i use the below script to send a single file to remote server from linux.
ftp -nvi <<!EOF
open $Host_name
user $USER_ID $PWD
binary
mput $file_name
quit
!EOF (where i get host,user and pwd from another file)
what if i want to send multiple file as input.
the script should be run as,
>> ./ftp.sh file1 file2 file3 file4
the no.of file given as input will vary!
thanks,
Pradeep