I am trying to write CSV file using SFTP write .I have given the path in the working directory.Test connection is success. But still it throws error like
Message : Exception occurred while trying to change working directory to /abc/xyz/....
Element : file_list_exampleFlow/processors/2/processors/5 @ file_list_example:file_list_example.xml:59 (Write)
Element XML : <sftp:write doc:name="Write" doc:id="6342add8-97ea-4f33-a737-0b63eec33fdb" config-ref="SFTP_Config" path="#vars.file_name" mode="CREATE_NEW"></sftp:write>
Error type : MULE:UNKNOWN
Please suggest.
upgrade your sftp connector to 1.3.4. it worked for me
<dependency>
<groupId>org.mule.connectors</groupId>
<artifactId>mule-sftp-connector</artifactId>
<version>1.3.4</version>
<classifier>mule-plugin</classifier>
</dependency>