From: Vijit on
Folks,

I have been trying to access an internal ftp site. My goal is to
simply read a few files off the ftp site. All I am doing currently is
f = ftp('host','username','password')
dir(f)

This errors out in the 'dir' command. A little poking around in the
iofun\@ftp\dir.m revealed that this piece of code
remoteFileList=ftp.listFiles(str);
returns null where certain filenames are supposed to be. So if it
errors out at 'i' then
char(remoteFileList(i-1).getName); &
char(remoteFileList(i+1).getName); look perfectly alright
but, char(remoteFileList(i).getName); is empty...
However, in the ftp sever, there is a file at location 'i'

Whenever I remove the offending file ('i') another one shows up. I do
not see anything wrong with these offending file(s).

Now the twist. The code I am attempting to execute works on every
WinXP machine in my office. However, it does not work on the one
Win2000 machine that I am trying to execute it on.

I can do various workarounds (urlread etc..., but I am not completely
satisfied with those). This is not rocket science; it should not be so
difficult to figure out. Any ideas?

TIA
Vijit