# SFTP Connect doesn't expand varaibles?

**URL:** https://www.finalbuilder.com/forums/t/sftp-connect-doesnt-expand-varaibles/3058
**Category:** Bugs
**Created:** [January 6, 2009, 6:09am UTC](https://www.finalbuilder.com/forums/t/sftp-connect-doesnt-expand-varaibles/3058 "2009-01-06T06:09:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![softperfect](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/b5ac83/32.png) [@softperfect](https://www.finalbuilder.com/forums/u/softperfect)
#### Post date: [January 6, 2009, 6:09am UTC](https://www.finalbuilder.com/forums/t/sftp-connect-doesnt-expand-varaibles/3058/1 "2009-01-06T06:09:33Z")

</div>

Due to security measures I prefer not to enter the password directly in the SFTP Connect action, but instead define a variable, query the password from a user, and then make a SFTP connection.   
  
 Althought this approach worked well with FTP Connect, this is not the case with SFTP Connect. I have a variable named %ServPass%, assign the password to it and then specify the variable in the password field.   
  
 This works perfectly with FTP, but not SFTP. If I type the real password instead of the variable in the SFTP’s password field, it works well, so this is not a network issue.   
  
 Please advise.   
  
 P.S. Almost ready to buy your great product

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [January 6, 2009, 7:10am UTC](https://www.finalbuilder.com/forums/t/sftp-connect-doesnt-expand-varaibles/3058/2 "2009-01-06T07:10:02Z")

</div>

Thanks for the report, I just checked in a fix, I’ll post here when a build is available with the fix(probably tomorrow).
