For Example: snippet of the code fname=gets.to_s sftp.download!("/Users/#{fname}", ".")
It gives me download.rb error with no such file(2) under on_open. But the same works when i am mentioning the full path directly on the path. Its not working only when i am doing string interpolation by getting the userinput. Please suggest with examples..