I have a basic batch file that connects to an FTP server, and saves the list off all the csv files as a txt file on my laptop.  

Later, I will want to download all the files on that list (using each line of the txt file as the input to a batch file), and also 'move' each file on the FTP server to a different folder on the FTP server.

`List.txt` contains:

```
 A.csv
 B.csv
 C.csv
 etc...

```

Batch file uses `List.txt` as the input:

1. Connect to the FTP server
2. Then for each line of List.txt
3. GET filename
4. REN filename /otherfolder/filename
5. close the connection

I can connect to the FTP server, but when I try to use the `for /f %%i` in the batch it executes it outside the FTP shell.

```
Open example.com
user
password
binary
for /f %%i in "List.txt" do get %%i
disconnect
bye

```