Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-361

Provide more information on command execution to Ftplets - especially file created in STOU

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.4
    • None
    • Ftplets
    • None

    Description

      To monitor file uploads, I can configure an Ftplet and override onUploadEnd and onUploadUniqueEnd in DefaultFtplet. However I cannot find a way to determine the real file that was written in the upload.

      For a non-unique upload I can get the argument and resolve it against the working directory in the file system view; but this seems unnecessarily complex and does not for for unique uploads (STOU) because the random file name is not available.

      Browsing the code I can see the file observer stuff, but these are non-public APIs and there can be only one observer at a time whilst I can have many independent Ftplets implementing the onUpload APIs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            richard.evans@datanomic.com Richard Evans
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: