Forum Discussion
12 Replies
- jason_steindorfNew Contributor III
I added the 'sftp://…
but I am receiving the error
and I tried it without the port also
- snkrvishNew Contributor II
Dear Folks,
Could you please explain that what value you have given in this url.
sftp://example.com/folder/file.csv
- snkrvishNew Contributor II
Hi,
I have given file location in file write like below
Sftp://username@hostname:port/to_pos_dev/emp.csv
After that getting same error as mentioned in a new contributor III.
Please suggest how we can resolve it.
- pmancevskiNew Contributor III
Hi @jason.steindorf,
You can use “Basic Auth” account, and also you can use “File Writer” snap.
About root directory:
Thanks,
Pero M. - jason_steindorfNew Contributor III
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
Is the syntax wrong ??
- pmancevskiNew Contributor III
Hi,
You want to create directory? If yes, you have “create directory if not present” - just check it.
Thanks,
Pero M.
- jason_steindorfNew Contributor III
If possible can we do a zoom to straighten this out
- jason_steindorfNew Contributor III
Im just tyring to put it in the root directory, but that was checked already
- jason_steindorfNew Contributor III
What is the format to write to the sftp account
ie //host/filename
ie //host:port/filename
ie host:port/filename- pmancevskiNew Contributor III
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+WriterThanks,
Pero M.
- jason_steindorfNew Contributor III
Could we set up a quick zoom call?
- jason_steindorfNew Contributor III
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