You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "ub0005 (via GitHub)" <gi...@apache.org> on 2023/03/07 01:02:11 UTC

[GitHub] [airavata-mft] ub0005 commented on issue #87: MFT Copy command shows wrong count of files while making transfer

ub0005 commented on issue #87:
URL: https://github.com/apache/airavata-mft/issues/87#issuecomment-1457303451

   while using the MFT cp command it always shows the total number of files to be transferred as (count of total files + 1)
   This is because while flattening the directories it's adding the source and destination directories as one endpoint.
   
   example: 
   [sourcePath: "source/"
   destinationPath: "destination/source"
   , sourcePath: "source/testfile.1"
   destinationPath: "destination/testfile.1"
   , sourcePath: "source/testfile.2"
   destinationPath: "destination/testfile.2"
   , sourcePath: "source/testfile.3"
   destinationPath: "destination/testfile.3"
   , sourcePath: "source/testfile.4"
   destinationPath: "destination/testfile.4"
   , sourcePath: "source/testfile.5"
   destinationPath: "destination/testfile.5"
   ]
   
   Because of this the failed count always shows 1 in the terminal as well as in the logs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org