# File Transfer (SFTP/SCP) not asking for Credentials

**URL:** https://community.royalapps.com/t/file-transfer-sftp-scp-not-asking-for-credentials/333
**Category:** Royal TS (for Windows)
**Created:** [January 10, 2017, 10:41am UTC](https://community.royalapps.com/t/file-transfer-sftp-scp-not-asking-for-credentials/333 "2017-01-10T10:41:20Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![sven\_b](https://community.royalapps.com/letter_avatar_proxy/v4/letter/s/c4cdca/32.png) [@sven\_b](https://community.royalapps.com/u/sven_b)
#### Post date: [January 10, 2017, 10:41am UTC](https://community.royalapps.com/t/file-transfer-sftp-scp-not-asking-for-credentials/333/1 "2017-01-10T10:41:20Z")

</div>

Hi,

File Transfer works fine if i saved my credentials in a terminal connection (rebex or putty).

But if i don’t save my credentials (i like to manually put in my login+pw everytime i connect to a server) a file transfer fails because of a “incorrect username or password” or “String cannot have zero length”. I tried two methods… _ **Connect with Options** _ and _ **Connect using Template** _.

When i choose _ **Connect with Options** _ there is a option called “Prompt for Credentials”. But it makes no difference if i activate this option or not.

I think this must be a bug!?

---

<div class="post-metadata">

### Author: ![stefan\_koell](https://community.royalapps.com/user_avatar/community.royalapps.com/stefan_koell/32/9_2.png) [@stefan\_koell](https://community.royalapps.com/u/stefan_koell)
#### Post date: [January 12, 2017, 10:20am UTC](https://community.royalapps.com/t/file-transfer-sftp-scp-not-asking-for-credentials/333/2 "2017-01-12T10:20:01Z")

</div>

Hi Sven,

thank you for the feedback. The next release will prompt for credentials automatically if no credentials are specified.

Regards,  
Stefan

---

<div class="post-metadata">

### Author: ![robert\_wolf](https://community.royalapps.com/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@robert\_wolf](https://community.royalapps.com/u/robert_wolf)
#### Post date: [January 13, 2017, 10:25am UTC](https://community.royalapps.com/t/file-transfer-sftp-scp-not-asking-for-credentials/333/3 "2017-01-13T10:25:59Z")

</div>

Hi Stefan,

it would be nice, if prompting for public key passphrase work too. (like putty session)

Regards,  
Robert

---

<div class="post-metadata">

### Author: ![stefan\_koell](https://community.royalapps.com/user_avatar/community.royalapps.com/stefan_koell/32/9_2.png) [@stefan\_koell](https://community.royalapps.com/u/stefan_koell)
#### Post date: [January 13, 2017, 10:28am UTC](https://community.royalapps.com/t/file-transfer-sftp-scp-not-asking-for-credentials/333/4 "2017-01-13T10:28:58Z")

</div>

I agree, Robert. That requires much more effort from our side. Since the original question has been answered/solved, can you create a new feature request for that? That would be very helpful for us to keep track of our backlog.

Thank you,  
Stefan

---

<div class="post-metadata">

### Author: ![sven\_b](https://community.royalapps.com/letter_avatar_proxy/v4/letter/s/c4cdca/32.png) [@sven\_b](https://community.royalapps.com/u/sven_b)
#### Post date: [June 30, 2017, 10:27am UTC](https://community.royalapps.com/t/file-transfer-sftp-scp-not-asking-for-credentials/333/5 "2017-06-30T10:27:53Z")

</div>

Any News? I still have the same problem. ☹

If i choose “connect with options” it makes no difference if i activate the option “prompt for credentials” or not. Everytime i got the error: String cannot have zero length.

My Credential Setting for SSH Connection: “Do not use any Credential”

---

<div class="post-metadata">

### Author: ![stefan\_koell](https://community.royalapps.com/user_avatar/community.royalapps.com/stefan_koell/32/9_2.png) [@stefan\_koell](https://community.royalapps.com/u/stefan_koell)
#### Post date: [June 30, 2017, 11:15am UTC](https://community.royalapps.com/t/file-transfer-sftp-scp-not-asking-for-credentials/333/6 "2017-06-30T11:15:09Z")

</div>

Hi Sven,

can you try the latest beta release:

> [@Royal TS Previous Versions](https://community.royalapps.com/t/royal-ts-previous-versions/232):
>
> Royal TS V7: Royal TS V6 or earlier:

Regards,  
Stefan

---

<div class="post-metadata">

### Author: ![sven\_b](https://community.royalapps.com/letter_avatar_proxy/v4/letter/s/c4cdca/32.png) [@sven\_b](https://community.royalapps.com/u/sven_b)
#### Post date: [July 3, 2017, 8:36am UTC](https://community.royalapps.com/t/file-transfer-sftp-scp-not-asking-for-credentials/333/7 "2017-07-03T08:36:34Z")

</div>

works as expected.

thank you!

---

<div class="post-metadata">

### Author: ![chs\_voks](https://community.royalapps.com/letter_avatar_proxy/v4/letter/c/a587f6/32.png) [@chs\_voks](https://community.royalapps.com/u/chs_voks)
#### Post date: [November 18, 2017, 8:40pm UTC](https://community.royalapps.com/t/file-transfer-sftp-scp-not-asking-for-credentials/333/8 "2017-11-18T20:40:09Z")

</div>

Hello.

Sorry for opening old ticket but I have the same problem on Royal TSX 3.2.4 on macOS 10.13.1
