Solved!
That solved my problem, I can't believe I missed that :D
Thank you for your help!
Thank you for your help!
"put ""d:\Google Drive\Visual Studio\Project\FS2FS\WebAPI\Publish\*.*"" /" ^
File or folder 'd:API.deps.json' does not exist.
System Error. Code: 2.
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="d:\Google Drive\Visual Studio\Project\FS2FS\WebAPI\WinScpLog\WinSCP.log" /ini=nul ^
/command ^
"open ftp://[Server_Info]/ -rawsettings ProxyPort=0" ^
"put ""d:/Google Drive/Visual Studio/Project/FS2FS/WebAPI/Publish/*.*"" /" ^
"exit"
set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error
)
exit /b %WINSCP_RESULT%