0

I am implementing the functionality to upload CSV files on the Apache-age browser to generate graphs. However, the query for generating nodes or edges from CSV files requires the local path to the CSV files. Web browsers do not provide access to the local file system path for security reasons.

load_labels_from_file('<graph name>', 
                      '<label name>',
                      '<file path>', 
                      false)

Is there an alternative way to execute this query in Apache-age without the need to access the local file path, or another approach in JavaScript to achieve this objective?

Kamlesh Kumar
  • 351
  • 1
  • 7

1 Answers1

0

This tutorial will help you upload and then read files from your local machine using input tutorial's link. But I think a better way to do this is to use an api call to get your data.