Hi All,
I need to get directory content into output file using FTP.
remote system: abc.com
remote directory: print/dir1/
To accomplish this I used following FTP command.
1. FTP abc.com
2. LS /print/dir1/ > /qsh.lib/my-lib.lib/output.txt
On my LS command above giving error but if I use this in QSHELL like following then it works.
LS /print/dir1/ > /qsh.lib/my-lib.lib/qddssrc.file/output.mbr
If I use QSHELL then how to connect with remote system because LS command works here.
I need to get directory content into output file using FTP.
remote system: abc.com
remote directory: print/dir1/
To accomplish this I used following FTP command.
1. FTP abc.com
2. LS /print/dir1/ > /qsh.lib/my-lib.lib/output.txt
On my LS command above giving error but if I use this in QSHELL like following then it works.
LS /print/dir1/ > /qsh.lib/my-lib.lib/qddssrc.file/output.mbr
If I use QSHELL then how to connect with remote system because LS command works here.
Comment