Menu

#8 operation=copyfrominternet protocol=ftp recursive=true does not work

None
closed
None
9
2015-02-13
2015-01-12
Petri Niemi
No

Recursive operation copyfrominternet via FTP is not working correctly.

It fails because SOSVfsFtp method getFileList doesn't get right filenames. GetFileList uses nList method which uses getFilenames with recursive flag. Method getFilenames does not return subfolders and after that fetching those files from internet fails because path is not correct. It's probably the same without jumphost. Sorry that I cannot add stacktrace here. Please fix this asap, because this is quite core functionality. It works fine with SFTP and local.

Discussion

  • Petri Niemi

    Petri Niemi - 2015-01-12

    I have tested this with 1.7.4321 and 1.8-RC1.

     
  • Petri Niemi

    Petri Niemi - 2015-01-12

    I masked my settings file and output. Here they are.

    Initial situation for internet_user@internet_host

    /test_it/test_it_sub/test.it

    Expected outcome to intranet_user@intranet_host

    /test_it/test_it_sub/test.it

    Outcome is that command it jump host fails because it's trying to get a handle for file.

    /test_it/test.it

    Root cause is SOSVfsFtp.java:GetFileList->nList->GetFilenames which doesn't add subfolder to path.

     

    Last edit: Petri Niemi 2015-01-12
  • Oliver Haufe

    Oliver Haufe - 2015-01-12

    Thank you for the hint.
    I saw you found the corresponding ticket https://change.sos-berlin.com/browse/JADE-233
    The fix is planned for release 1.9 (~April 2015).

    With regards
    Oliver

     

    Last edit: Uwe Risse 2015-02-13
  • Uwe Risse

    Uwe Risse - 2015-02-13

    Please follow this on the jira issue
    https://change.sos-berlin.com/browse/JADE-233

     
  • Uwe Risse

    Uwe Risse - 2015-02-13
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB