STCH#51457 -- Batchfile voor SAP koppeling
svn path=/Website/branches/v2018.1/; revision=39528
This commit is contained in:
@@ -14,12 +14,23 @@ REM (c) 2016 Facilitor B.V.
|
||||
REM
|
||||
|
||||
REM ================================================== cleanup
|
||||
copy .\SAP\*.xml .\SAP\BACKUP
|
||||
del .\SAP\*.xml
|
||||
del .\SAP\BACKUP\*.xml
|
||||
move .\SAP\*.xml .\SAP\BACKUP
|
||||
|
||||
REM ================================================== create exportfile(s)
|
||||
CALL ..\..\..\utils\gen_export\gen_export.bat SAP_XML
|
||||
|
||||
REM ================================================== split exportfile(s)
|
||||
cscript /e:javascript XMLSplit.js
|
||||
|
||||
REM ================================================== transfer file to STCH sftp
|
||||
REM ftp.exe -ni -s:ftp_ord2sap.scr
|
||||
..\..\..\utils\sftp\psftp -l facilitor -pw F@cilt0r2018! 31.11.57.222 -b sftp_ord2sap.scr
|
||||
|
||||
REM ================================================== connect to SAP development or production
|
||||
|
||||
|
||||
REM ======= SAP Development:
|
||||
REM ..\..\..\utils\sftp\psftp -l facilitordev -pw D3VF@cilit0r 31.11.57.195 -b sftp_ord2sap.scr
|
||||
|
||||
|
||||
REM ======= SAP Production:
|
||||
..\..\..\utils\sftp\psftp -l facilitor -pw F@c1lit0r2018! 31.11.57.222 -b sftp_ord2sap.scr
|
||||
Reference in New Issue
Block a user