You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Philipp Brügger (JIRA)" <ji...@apache.org> on 2015/04/14 14:43:12 UTC

[jira] [Commented] (VFS-474) FTP Connection isn't closed, when FtpFileObject is closed

    [ https://issues.apache.org/jira/browse/VFS-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494049#comment-14494049 ] 

Philipp Brügger commented on VFS-474:
-------------------------------------

Closing a FTPFileObject does not mean to close the connection to the server too. The FileSystem could be used in another FileObject too. This ticket should be rejected.

> FTP Connection isn't closed, when FtpFileObject is closed
> ---------------------------------------------------------
>
>                 Key: VFS-474
>                 URL: https://issues.apache.org/jira/browse/VFS-474
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Simon Olofsson
>              Labels: PatchAvailable
>             Fix For: 2.1
>
>         Attachments: VFS-474.patch
>
>
> When a FtpFileObject is closed with the close() method, the Connection to the FTP Server is still open. The Connection is never closed.
> Attached is a Patch, which closes the FtpFileSystem in FtpFileObject#doDetach().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)