Ruby linux commands on FTP

How to run linux commands on FTP server using ruby code?

cmd = ‘ls /home/username’

If you want to capture the output of the command into a variable look at Open3

1 Like

Thank you so much!! for giving precious time

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