JT said:
I have been having a very wierd FTP problem. If i try to
FTP from a command window,i can login fine but once i try
and LS or DIR it just hangs.
WindowsXP sp1
WSFTP works fine.
Not uncommon.
It's failing to establish the data link.
FTP uses 2 links: command and data.
There are 2 ways to do this: PORT mode and PASV mode.
Command-line FTP uses active (port) mode.
There will be a router or firewall which breaks PORT mode FTP in the path.
Probably at your end.
SW_FTP will probably be configured for passive ( PASV ) mode.
AFAIK, command-line FTP as supplied with XP doesn't support PASV mode.
You can get 3-rd party command-line FTP utils which support PASV mode.
Here's one I found earlier ( which is nice ):
ftp://ftp.gnu.org/gnu/windows/emacs/contrib/ftp-for-win32.zip