I have a file that has records like
What I am trying to do is to basically replace wget because we are losing access to ftp.
What I need is to create a file like
What I eventually will do is to use mkdir -p to build the complete directory structure and then sftp the actual data into those directories.
I tried using lftp with mirror, but it doesn't quite get me there.