From: Alice Gheorghiu Date: 2009-05-28T01:05:06+09:00 Subject: Re: Download csv file from secure web site (https Alice Gheorghiu wrote: > Reid Thompson wrote: >> Alice Gheorghiu wrote: >>> directly on my linux server? >>> Any insight/code-example will be deeply appreciated. >>> Thanks so much, -- Alice >> >> can you ssh/scp directly to the secure http site (https) from a command >> line on >> the linux host? > $ scp user_name@secure.http.site:/path/to/file > /path/to/download/to/filename Tried ssh and I am getting error as follows in the ssh command: $ ssh username@https://www.desired_website.com/pageWLinkToReport.php $ ssh: https://www.desired_website.com/pageWLinkToReport.php: Name or service not known >> If so, you should be able to setup a passwordless login for scp and get >> the file >> via a cron'd job using scp (google ssh passwordless login) - not possible yet but maybe - I can ask the data provider to set our account up for automaticdownload? I spoke with both data providers and they cannot help much. Any suggestions of Ruby articles or sample code that may treat a similar problem? Thanks again so very much. -- Posted via http://www.ruby-forum.com/.