Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VCoDeS] Windows: file system server connector #115

Closed
anupama-pathirage opened this issue Oct 18, 2017 · 3 comments
Closed

[VCoDeS] Windows: file system server connector #115

anupama-pathirage opened this issue Oct 18, 2017 · 3 comments
Labels
module/file Team/DIU Data, IO, and Util packages related issues Type/Bug

Comments

@anupama-pathirage
Copy link
Contributor

Description:
Refer ballerina-platform/ballerina-lang#3025 for more details.

@Maninda Maninda transferred this issue from ballerina-platform/module-ballerina-ftp Oct 23, 2020
@anupama-pathirage anupama-pathirage added the Team/DIU Data, IO, and Util packages related issues label Mar 1, 2021
@Maninda Maninda self-assigned this Jun 17, 2021
@Maninda Maninda removed their assignment Jun 22, 2021
@kalaiyarasiganeshalingam
Copy link
Contributor

You can get the latest directory listener here. I have checked this sample with Windows OS. Directory listener returned the following correct path name:
C:\Users\ashak\OneDrive\Documents\test.bal
But The above BBE print the path with extra slash as log is using additional validation to escape invalid characters. The output of the log:printInfo:
time = 2021-07-02T16:15:40.885+05:30 level = INFO module = "" message = "Modify: C:\\Users\\ashak\\OneDrive\\Documents\\test.bal"
@daneshk @MadhukaHarith92 I think we need to improve the escape invalid character impl according to the OS

@daneshk
Copy link
Member

daneshk commented Jul 9, 2021

@kalaiyarasiganeshalingam this is because the backslash is a special character and we are escaping special characters from the message printing it to console.

@kalaiyarasiganeshalingam
Copy link
Contributor

File listener works fine. Hence, closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/file Team/DIU Data, IO, and Util packages related issues Type/Bug
Projects
None yet
Development

No branches or pull requests

4 participants