commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NET-571) Hang on running 'setFileTransferMode(FTP.BLOCK_TRANSFER_MODE)' against IIS ftp server on Windows
Date Mon, 06 Feb 2017 17:51:41 GMT

     [ https://issues.apache.org/jira/browse/NET-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated NET-571:
---------------------
    Priority: Major  (was: Blocker)

> Hang on running 'setFileTransferMode(FTP.BLOCK_TRANSFER_MODE)' against IIS ftp server
on Windows
> ------------------------------------------------------------------------------------------------
>
>                 Key: NET-571
>                 URL: https://issues.apache.org/jira/browse/NET-571
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>            Reporter: sam liu
>
> The test codes is:
> {code}
> FTPClient client = null;
> client = new FTPClient();
> client.connect(host, port);
> int reply = client.getReplyCode();
> if (client.login(user, password)) {
>     	          client.setFileTransferMode(FTP.BLOCK_TRANSFER_MODE);
> 		  client.setFileType(FTP.BINARY_FILE_TYPE);
> 		  client.setBufferSize(DEFAULT_BUFFER_SIZE);
> ... ...
> }
> {code}
> It passed against FileZilla FTP server installed on Windows7, but it will hang on the
line 'client.setFileTransferMode(FTP.BLOCK_TRANSFER_MODE);' against IIS ftp server installed
on the same Window7 OS.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message