NET::Sftp in ruby not allowing string interpolation

Unable to use string interpolation as the directory input inside sftp
start session. receiving no such file error but even the file exists.

how to pass userinput as a file name everytime to sftp ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs