wso2 / ballerina-integrator

A powerful, simple-to-learn, code-driven approach to programming integrations
https://wso2.com/integration/ballerina-integrator
Apache License 2.0
70 stars 31 forks source link

[File Integration Using Samba]Incorrect file name is printed #730

Open isuruuy429 opened 4 years ago

isuruuy429 commented 4 years ago

Description: Doc: https://ei.docs.wso2.com/en/latest/ballerina-integrator/learn/tutorials/file-based-integrations/file-integration-using-smb/1/

Steps to reproduce

  1. Create a new project by navigating to VSCode Dashboard through selecting the template 'File-Based Integration using SMB'.
  2. Have the configurations in the ballerina.conf file
  3. Build the module and run the jar
  4. Add a text file name 'student.txt' to sambashare

Expected: It should be printed the file name as

Added file path: /student.txt

Actual: It prints as below

Added file path: /student.txt.txt

Affected Product Version: Ballerina Integrator 7.0.1 Ballerina 1.0.2

OS, DB, other environment details and versions:
Windows/ MacOS