login about faq

We're using Tectia v6.01. I cant use a password file to skip the interactive pw prompt. We're not using keys (must we?). We want a non-interactive login using a password file.

This is documented as: --password= PASSWORD | file://PASSWORDFILE | extprog://PROGRAM

I"ve used every permutation of escaped/non-escaped password file path, but I still get errors:

"File (null) couldn't be read. File does not exists." (and no that's not a typo)

Example: >sftpg3 --password=file://"D:~TectiaSSH_Volume~upcs_fg~.ps" username@host#port

sftpg3 --password=file://"D~:~TectiaSSH_Volume~upcs_fg~.ps" ... sftpg3 --password=file://"D:~TectiaSSH_Volume~upcs_fg.ps" ... sftpg3 --password=file://"D:TectiaSSH_Volumeupcs_fg.ps" ... sftpg3 --password=file://D:TectiaSSH_Volumeupcs_fg.ps ... sftpg3 --password="file~:~/~/D~:~TectiaSSH_Volume~upcs_fg~.ps" ...

etc etc etc

None of these work, some are being tried out of desperation. I've read all the doc 50 times. I don't understand why it says the filename is "<null>". Is there a server setting that could be preventing a password file from being used? It's also very unclear whether all the doc re: escaping special chars in filenames being specified for transfer also applies to filenames being used as password filenames.

Please provide the correct syntax, thank you.

asked Oct 07 '11 at 01:00

inquiring_user's gravatar image


To connect to a server using password file you should use command like this:

sftpg3 --password=file://C:/tmp/password.ps user@server
Make sure that you use "/" after ":".

Also only current user must have permission to access the password file.


answered Oct 17 '11 at 12:49

Dmitryp's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 07 '11 at 01:00

Seen: 5,208 times

Last updated: Oct 17 '11 at 12:49

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.