I have a SFTP job which is failing while transfer file for source to dest using "put" command. As put command only works for single file.
Here my requirement is i want to transfer all the files available in "source/dir1/dir2" and want to merge them into single file then wanna SFTP.
Note:The script should also need to check how many files are there in the source directory before merge them!
thanks in advance.