[Rails] Establish SFTP connection

2010-10-30 Thread Srinidhi
Hi , I am trying to connect to a SFTP server on my machine running using WinSSHD. The port on which it is running is 22. I am unable to make a connection to this port using ruby Net:sftp and Net:SSH libraries. Here are both the codes: ==

[Rails] Re: Running consecutive DOS commands in Ruby

2010-09-02 Thread Srinidhi
Hello Everyone, I have a situation where i have to invoke command line tools like putty_sftp and OpenSSH from ruby script for automation, as out application handles sftp uploads through these tools. So the problem is i can single DOS command in ruby and store the output(using system( ),exec( )),

[Rails] Re:HTTP download

2010-08-20 Thread Srinidhi
The application i am working requires me to upload and download a any type of file. I am using net:HTTP for upload part. The code looks somethijng like this. This works perfectly fine. uri = URI.parse($URL) http = Net::HTTP.new(uri.host, uri.port) resp,$pay

[Rails] Hi

2010-08-20 Thread Srinidhi
I am Test Engg ar GXS india. Working on ruby framework for automation. I need help regarding my questions on ruby. Hence want to join the group -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrai