Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-108

Add upload monitoring to sftp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.5.0
    • 1.1.0
    • None

    Description

      We have sshd integrated into our application and sftp is working fine. One of the requirements is to initiate some action when a file upload it complete. I have made this work by implementing handleClose in my SshFile implementation and performing the action if createOutputStream had been called previously. This seems a bit ugly though; it might be nicer if there was some plug in mechanism to monitor file transfers.

      Ideally the monitor would be able to distinguish between a successful upload and a cancelled one (via ctrl-c at the client), but a quick perusal of the sftp stuff seems to inidicate that this is not possible.

      Attachments

        Issue Links

          Activity

            People

              lgoldstein Lyor Goldstein
              richard.evans@datanomic.com Richard Evans
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m