Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-182

Usage of FTP with heterogeneous FTP server (possibility of using Ascii file type)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • None
    • Mainframe BULL GCOS8

    Description

      Using VFS with ftpServer on Mainframe Bull. I need the posibility to set the file type to Ascii. The navigation in the directory and the filesystem work properly but the accessing of a data file is not possible.

      I saw that the FtpClienFactory allways set the file type to binary, is it possible to give an external parameter, ..

      FtpClienFactory :

      ....
      // Set binary mode
      if (!client.setFileType(FTP.BINARY_FILE_TYPE))

      { throw new FileSystemException("vfs.provider.ftp/set-binary.error", hostname); }

      ...

      Christian Bastin.

      Attachments

        1. vfs-182_allow_ascii_file_type.diff
          3 kB
          Magnus Axelsson
        2. vfs-182_allow_ascii_file_type_v2.diff
          3 kB
          Andreas Persson

        Activity

          People

            ggregory Gary D. Gregory
            christian.bastin Christian Bastin
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: