You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2007/03/20 20:57:34 UTC

[jira] Created: (SM-889) Add possibility to rename files after FTP upload

Add possibility to rename files after FTP upload
------------------------------------------------

                 Key: SM-889
                 URL: https://issues.apache.org/activemq/browse/SM-889
             Project: ServiceMix
          Issue Type: Improvement
          Components: servicemix-ftp
    Affects Versions: 3.1
            Reporter: Gert Vanthienen
            Priority: Minor
             Fix For: 3.1.1, 3.2


Add the possibility to upload files to the FTP server using another suffix (e.g. .part) and rename the file after the upload is completed.  This way, it is possible for another process to determine when file upload has finished.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-889) Add possibility to rename files after FTP upload

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen updated SM-889:
-------------------------------

    Attachment: SM-889.patch

This patch allows users to specify an attribute uploadSuffix="..." on the <ftp:sender /> endpoint.  This suffix will be appended to the file name during upload.  Upon completion, the file will be renamed to the correct name.

This attribute only works if a name has been specified for upload, otherwise it is ignored.

The patch also tries to solve a problem I have encountered with IIS/FTP.  If no data was actually transferred to the server (e.g. because of an already existing file name), the call to client.completePendingCommand() sometimes appeared to take a very long time (waiting for some kind of time-out).  With this patch, this call will only be issued if an OutputStream has actually been acquired.

> Add possibility to rename files after FTP upload
> ------------------------------------------------
>
>                 Key: SM-889
>                 URL: https://issues.apache.org/activemq/browse/SM-889
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-ftp
>    Affects Versions: 3.1
>            Reporter: Gert Vanthienen
>            Priority: Minor
>             Fix For: 3.1.1, 3.2
>
>         Attachments: SM-889.patch
>
>
> Add the possibility to upload files to the FTP server using another suffix (e.g. .part) and rename the file after the upload is completed.  This way, it is possible for another process to determine when file upload has finished.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-889) Add possibility to rename files after FTP upload

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SM-889:
-------------------------------

    Patch Info: [Patch Available]

> Add possibility to rename files after FTP upload
> ------------------------------------------------
>
>                 Key: SM-889
>                 URL: https://issues.apache.org/activemq/browse/SM-889
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-ftp
>    Affects Versions: 3.1
>            Reporter: Gert Vanthienen
>            Priority: Minor
>             Fix For: 3.1.1, 3.2
>
>         Attachments: SM-889.patch
>
>
> Add the possibility to upload files to the FTP server using another suffix (e.g. .part) and rename the file after the upload is completed.  This way, it is possible for another process to determine when file upload has finished.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SM-889) Add possibility to rename files after FTP upload

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SM-889.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.2)
         Assignee: Guillaume Nodet

URL: http://svn.apache.org/viewvc?view=rev&rev=522868


> Add possibility to rename files after FTP upload
> ------------------------------------------------
>
>                 Key: SM-889
>                 URL: https://issues.apache.org/activemq/browse/SM-889
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-ftp
>    Affects Versions: 3.1
>            Reporter: Gert Vanthienen
>         Assigned To: Guillaume Nodet
>            Priority: Minor
>             Fix For: 3.1.1
>
>         Attachments: SM-889.patch
>
>
> Add the possibility to upload files to the FTP server using another suffix (e.g. .part) and rename the file after the upload is completed.  This way, it is possible for another process to determine when file upload has finished.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.