Skip to content

Latest commit

 

History

History

1-file-connector

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Copy file

  1. Download file connector from WSO2 Store.
  2. Upload file connector into the ESB.
  3. Enable file connector from the connector list.
  4. Create a file test.xml to read as in "/home/in/test.xml"
  5. Create a folder to copy files "/home/out/"
  6. Add file_copy_connector.xml into the proxy service.
  7. Evoke the service with
    curl -H 'Accept: application/json' -X GET https://localhost:8243/services/file_copy_connector

Read file

  1. Download file connector from WSO2 Store.
  2. Upload file connector into the ESB.
  3. Enable file connector from the connector list.
  4. Create a file test.xml to read as in "/home/in/test.xml"
  5. Add file_read_connector.xml into the proxy service.
  6. Evoke the service with
    curl -H 'Accept: application/json' -X GET https://localhost:8243/services/file_read_connector -k

In case of SSL error while using curl use -k option with curl command