Merge branch 'SP-91-position-migration' of bitbucket.org:bluetradesys/spark into SP-91-position-migration

This commit is contained in:
Pedro Pinto committed 2019-08-02 14:45:58 -04:00
commit 1bb4ce91cf
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ void begin_sftp_download(
std::array<char,128> buffer;
std::string cmd = fmt::format("sshpass -p {} scp -o ConnectTimeout={} {}:{} {}", password, timeout, url, file_name, temp);
std::string cmd = fmt::format("sshpass -p {} sftp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ConnectTimeout={} {}:{} {}", password, timeout, url, file_name, temp);
FILE* pipe = popen(cmd.c_str(), "r");
LOG(Gen,Diag,"Downloading remote file using command: '{}'", cmd);