mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 10:01:57 +08:00
fixed winscp script
This commit is contained in:
parent
21aa301729
commit
37f0468fdd
@ -8,5 +8,5 @@ Param(
|
||||
[string]$KEY,
|
||||
[string]$FILE
|
||||
)
|
||||
UUSER=$env:UPLOAD_USER
|
||||
winscp.exe scp://$UUSER@dl.slic3r.org:$DIR/ /hostkey=* /privatekey=$KEY /upload $FILES
|
||||
Set-Variable -Name "UUSER" -Value "$env:UPLOAD_USER"
|
||||
winscp.exe /command sftp://$UUSER@dl.slic3r.org:$DIR/ /hostkey=* /privatekey=$KEY /upload "put $FILE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user