I created a windows app written in vb.net that uses a shell command to use
ftp to download a file. It works fine. I want to pipe the results of the
ftp to a text file to analyze for errors. I can't get that part to work. If
I do ftp by hand at a command prompt this works:

ftp -i -s:ftpcommands.txt > ftpresults.txt

This uses the commands in ftpcommands.txt to download a file and it pipes
the results from the ftp to ftpresults.txt. When I try to do the same thing
in vb.net code, it doesn't pipe the results to the file. I don't get any
errors or anything. There's just no ftpresults.txt file there. I'm doing
all this in the same directory that works using the command prompt directly.
This is my code in vb.net:

Shell("ftp -i -s:ftpcommands.txt > ftpresults.txt",
AppWinStyle.MinimizedFocus, True)

Any suggestions? Thanks.