fixed winscp script

This commit is contained in:
Joseph Lenox 2017-04-04 22:20:33 -05:00
parent 21aa301729
commit 37f0468fdd

View File

@ -8,5 +8,5 @@ Param(
[string]$KEY, [string]$KEY,
[string]$FILE [string]$FILE
) )
UUSER=$env:UPLOAD_USER Set-Variable -Name "UUSER" -Value "$env:UPLOAD_USER"
winscp.exe scp://$UUSER@dl.slic3r.org:$DIR/ /hostkey=* /privatekey=$KEY /upload $FILES winscp.exe /command sftp://$UUSER@dl.slic3r.org:$DIR/ /hostkey=* /privatekey=$KEY /upload "put $FILE"