Anyone know if there is an issue with using Net::FTP to access a MS IIS
driven FTP server?

I'm getting an error that says the server can't find the specified file,
even though the directory in question exists. (See below for debugged
output) Also of note, just to see what was going on I added the lines...

print $ftp->dir;
$ftp->quit;
exit;

...to the script right before the $ftp->cwd($path) call that is failing and
I noticed that none of the directories are showing up in the list, only the
files in the ftp / directory appear.

Here's the output. The lines that don't start with Net::FTP are generated by
print statements in the code:

Connecting to 192.168.0.182...
Net::FTP: Net::FTP(2.56)
Net::FTP:   Exporter(5.562)
Net::FTP:   Net::Cmd(2.18)
Net::FTP:   IO::Socket::INET(1.25)
Net::FTP:     IO::Socket(1.26)
Net::FTP:       IO::Handle(1.21)

Net::FTP=GLOB(0x1a750f8)<<< 220 WWW002 Microsoft FTP Service (Version 5.0).
OK
Logging in...
Net::FTP=GLOB(0x1a750f8)>>> user mjbrooks
Net::FTP=GLOB(0x1a750f8)<<< 331 Password required for mjbrooks.
Net::FTP=GLOB(0x1a750f8)>>> PASS ....
Net::FTP=GLOB(0x1a750f8)<<< 230 User mjbrooks logged in.
OK
Setting session to binary mode...
Net::FTP=GLOB(0x1a750f8)>>> TYPE I
Net::FTP=GLOB(0x1a750f8)<<< 200 Type set to I.
OK
Changing to /wholesite...
Net::FTP=GLOB(0x1a750f8)>>> CWD /wholesite
Net::FTP=GLOB(0x1a750f8)<<< 550 /wholesite: The system cannot find the file
specified.
Net::FTP=GLOB(0x1a750f8)>>> QUIT
Net::FTP=GLOB(0x1a750f8)<<< 221


Reply via email to