Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-571

Hang on running 'setFileTransferMode(FTP.BLOCK_TRANSFER_MODE)' against IIS ftp server on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • FTP
    • None

    Description

      The test codes is:

      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);
      ... ...
      }
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sam liu sam liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: