Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

mschick

Posts

1

Joined

Thu Feb 11, 2010 10:42 pm

dirDetails throws FTPException when a file does not exist

by mschick » Thu Feb 11, 2010 11:12 pm

Using the dirDetails command with a fileName as argument, throws an exception when the file doesn't exist (replyCode 450 (proFTPD) and wu-FTP (550)).
Looking at the source code, I was wondering, wether the aim of the developpers was, NOT to throw an exception and just return an empty file list ?
[/u]
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: dirDetails throws FTPException when a file does not exis

by support2 » Fri Feb 12, 2010 9:09 am

The aim is to throw an exception if it doesn't exist.

Who is online

Users browsing this forum: No registered users and 113 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign