The well know data port for FTP is port 20. You can change this by
issuing the PORT command to the host before you issue a STOR or
RETR. I forget the exact syntax for the PORT command, but it's in
the RFC.
example
user wants to stor data:
client: PORT x
server: {200,250} PORT command okay
client: listen on x
client: STOR foo
server: {150,125} Establishing connection {opens a tcp connection to port x}
If you want more info, I'll be glad to help.
Joe Herman