Using scp to transfer a .txt file list of files
if you have the text file already created you do the following
cat /location/file.txt | xargs -i scp {} user@server:/location
this will go line by line of the output of the file.txt and run the scp comamand per line; I hope this helps.