Hi,
I have a situation where in we have created shell scripts to transfer data from/to mainframe and Solaris. The scripts uses ftp commands line commands(get or put) to perform the task. Now due to security reasons, ftp will not be allowed and sftp will be used. Can anyone let me know what is the equivalent sftp commands for the following ftp commands:
- ftp <ip address> - This is used to connect to mainframe
- after it connects it prompts for userid and password (not sure what happens in sftp
- at ftp prompt i can issue ls command to get a directory listing, cd command to change the directory.
- get command to download the file and put command to upload data to mainframe from solaris.
I would appreciate if anyone can let me know the equivalent commands in sftp for the ones mentioned above.
Thank you.
bornon2303