transfer files widow to Linux
Ashish Kumar
February 14, 2020
riveriq_copytoedge.bat
@echo off
set timestamp=%DATE:/=-%_%TIME::=-%
C:\"Program Files (x86)"\WinSCP\WinSCP /script="E: iveriqrtifactscopytoedgeconfig iveriq_copytoedge.txt" /log="E: iveriqloggingcopytoedgeconfig%timestamp%.log"
riveriq_copytoedge.txt
# Being intended for interactive session, we are not enabling batch mode
# Connect
open sftp://testuser:password123@testserver.riveriq.com/
# Synchronize paths provided via environment variables
synchronize remote E: iveriq estsourcedatacleansedDataconfig /data/home/riveriq/testsource/data/cleanseddata/config
# Exit WinSCP
exit
0 Comments
Be first to comment on this post.