cancel
Showing results for 
Search instead for 
Did you mean: 

File Writer not creating new directory

ash42
New Contributor III

Usinf FileWriter snap I am trying to create a new direcorty ‘202303’ and write a file to that location
image
but it is throwing erro
image
however I am able to write a file to the existing directory(If i create a new folder named ‘202302’ manually then it is writing file to it),but its not creating a new folder if its not present.

Also I logged in using the same credentials that i am using here in an ftp application(SecureFx), and there i was able to create a new folder as the logged in User.

Any Idea what could b the issue

5 REPLIES 5

darshthakkar
Valued Contributor

@ash42: Can you enable the “=” decorator and try again? Sharing a screenshot for your references:

image

ash42
New Contributor III

No luck, Same error
image

darshthakkar
Valued Contributor

With these settings, can you write a file to the existing directory?
If yes, may be check with your admin if you’ve rights to create a directory in that location.

The settings look good to me as I’ve been able to create directories with the same.

ash42
New Contributor III

I did connect to the ftp server with the same credentials ,and tried creating a folder manually…I was able to create…Dont know why through snaplogic I am not able to create with same credentials