How to list files in FTP prompt pagewise in solaris?

Hi,
I have a solaris system with only ftp access.Need to get the list of files page wise display..
Also would like to redirect output of "ls" command to a text file in same directory.
Can anyone suggest me the sollution for this?

Rakesh

try this:

$more file
ftp -v -n -i IP >file_log<< fin
user USER PASS
ls DIRECTORY
bye
fin
-------------------------
change:
IP= ip connection
USER=user connection
PASS=pass for the user
DIRECTORY

in file_log you can read the list

Thanks for the quick reply with sollution..this will deffintly resolve my problem for some extent.