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