try the following:


ftp <ipaddress> <portnumber>