mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 15:08:15 -07:00
Use an sftp uri unique to MCIEA
This commit is contained in:
parent
a5da0fb0c6
commit
cf2b2433e9
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ require 'csv'
|
|||
module Sftp
|
||||
class Directory
|
||||
def self.open(path: '/data/survey_responses/clean', &block)
|
||||
sftptogo_url = ENV['SFTPTOGO_URL']
|
||||
sftptogo_url = ENV['MCIEA_SFTPTOGO_URL']
|
||||
uri = URI.parse(sftptogo_url)
|
||||
Net::SFTP.start(uri.host, uri.user, password: uri.password) do |sftp|
|
||||
sftp.dir.foreach(path) do |entry|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue