So here is what I have done already:
I have a file called abc.txt which contains list of files. I am using abc.txt to move those files to a folder, tar that folder and finally I download the tar to my local PC from my server, which is running GNU/Linux.
Here are the steps in list form:
- abc.txt (listed files) -> folder
- Folder -> folder.tar
- folder.tar -> local PC.
If abc.txt contains 2 files, for example:
I need to download those files from abc.txt separately and directly to the local PC.
Since ftp or sftp need the file name to download it, how can I read that from abc.txt?