Hi,
I'm about to use QMGTOOLS/STRSFTP for different purposes as regular ftp transfer should be replaced.
Qualified file transfer with parameter FUNCTION(*PUT) and FUNCTION(*GET) was an easy task and can also be called within a CL... BUT
- I should send multiple files with generic file names (e.g. all files put_file* from IFS directory IFS/Temp/ to sFTP directory ReceiveData/ )
- I should get multiple files with generic file names (e.g. all files get_file* from SFTP directory SendData/ to IFS directory IFS/Temp/)
- I should rename files on the SFTP Server (e.g. putting a file sent_file.tmp and then rename to sent_file.dat)
- I shuold move file(s) on the SFTP server after getting the file(s) from a diretory to another one (e.g. after getting file(s) from SFTP directory ReceiveData/ moving to ReceiveData/Archive/
All the above mentioned actions I think should be possible to perform by using the Parameter FUNCTION(*CMD) and with the command line - bot how?
Any idea how these transfers can be done? Thanks a lot
Regards,
Stephan
I'm about to use QMGTOOLS/STRSFTP for different purposes as regular ftp transfer should be replaced.
Qualified file transfer with parameter FUNCTION(*PUT) and FUNCTION(*GET) was an easy task and can also be called within a CL... BUT
- I should send multiple files with generic file names (e.g. all files put_file* from IFS directory IFS/Temp/ to sFTP directory ReceiveData/ )
- I should get multiple files with generic file names (e.g. all files get_file* from SFTP directory SendData/ to IFS directory IFS/Temp/)
- I should rename files on the SFTP Server (e.g. putting a file sent_file.tmp and then rename to sent_file.dat)
- I shuold move file(s) on the SFTP server after getting the file(s) from a diretory to another one (e.g. after getting file(s) from SFTP directory ReceiveData/ moving to ReceiveData/Archive/
All the above mentioned actions I think should be possible to perform by using the Parameter FUNCTION(*CMD) and with the command line - bot how?
Any idea how these transfers can be done? Thanks a lot
Regards,
Stephan
Comment