SFTP, write file to root

I have an SFTP account that I can connect to

image

I want to save a file to their root directory

image

What type of account is needed to create this? And how would I write to the root directory?

Thanks

Hi @jason.steindorf,

You can use “Basic Auth” account, and also you can use “File Writer” snap.

About root directory:
image

Thanks,
Pero M.

I created a Basic Auth account, but the file is not writing to it.

The File Writer looks like this

And the filename resolves to

image

Is the syntax wrong ??

If possible can we do a zoom to straighten this out

Hi,

You want to create directory? If yes, you have “create directory if not present” - just check it.

Thanks,
Pero M.

Im just tyring to put it in the root directory, but that was checked already

What is the format to write to the sftp account

ie //host/filename
ie //host:port/filename
ie host:port/filename

Hi,

In the previous example you missed at the beginning “sftp://”

“sftp://example.com/folder/file.csv”

Also if you need some additional information about file writer snap, you can check on following link:
https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438927/File+Writer

Thanks,
Pero M.

I added the 'sftp://…

but I am receiving the error

image

and I tried it without the port also

Could we set up a quick zoom call?

Thank you @pmancevski pmancevski

So I was unable to write to the root directory but I WAS able to write to a sub directory

Thanks again, I very much appreciate your assistance on this