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

The Read/Write Files from Disk Node do not working #9544

Open
try2020-code opened this issue May 30, 2024 · 3 comments
Open

The Read/Write Files from Disk Node do not working #9544

try2020-code opened this issue May 30, 2024 · 3 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@try2020-code
Copy link

Bug Description

i am sure my file path is right , i put it to File(s) Selector ,when i click "test step" ,it do not working and then it show a msg say "Node executed successfully" ,but it do not return any result

image

  1. i am sure the n8n install to my windows pc ,not docker or any vm
  2. i am sure the file file have any permissions

To Reproduce

  1. go add Read/Write Files from Disk and set read type
  2. write a file path ,it type is txt
  3. click the "Test step"
  4. see any result?

Expected behavior

return any result

Operating System

windows

n8n Version

new

Node.js Version

v20.14.0

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Jun 3, 2024

Hey @try2020-code,

It looks like the issue here could be with the path separators, Can you try replacing the \ with / and see if that works?

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Jun 3, 2024
@try2020-code
Copy link
Author

image

hi it looks useful ,but i think it a problem , the path should be '' in win system , i know the '/' in linux but ... can we Identify and fix it?

@Joffcom
Copy link
Member

Joffcom commented Jun 4, 2024

Hey @try2020-code,

Technically Windows will support both \ and / but yeah I agree we should do something in the node to automatically replace these to make life easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants