STCH#51457 -- SAP xml export SFTP
svn path=/Website/branches/v2017.3/; revision=38441
This commit is contained in:
0
CUST/STCH/export/SAP/Backup/.gitignore
vendored
Normal file
0
CUST/STCH/export/SAP/Backup/.gitignore
vendored
Normal file
@@ -1,6 +1,6 @@
|
||||
REM GEN_EXPORT_SAP.BAT
|
||||
REM
|
||||
REM BLCC
|
||||
REM STCH
|
||||
REM
|
||||
REM Exporteert opdrachten en kosten t.b.v. SAP
|
||||
REM
|
||||
@@ -14,11 +14,12 @@ REM (c) 2016 Facilitor B.V.
|
||||
REM
|
||||
|
||||
REM ================================================== cleanup
|
||||
copy .\SAP\*.csv .\SAP\BACKUP
|
||||
del .\SAP\*.csv
|
||||
copy .\SAP\*.xml .\SAP\BACKUP
|
||||
del .\SAP\*.xml
|
||||
|
||||
REM ================================================== create exportfile(s)
|
||||
CALL ..\..\..\utils\gen_export\gen_export.bat SAP
|
||||
CALL ..\..\..\utils\gen_export\gen_export.bat SAP_XML
|
||||
|
||||
REM ================================================== transfer file to STCH ftp
|
||||
ftp.exe -ni -s:ftp_stch2sap.scr
|
||||
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
|
||||
2
CUST/STCH/export/sftp_ord2sap.scr
Normal file
2
CUST/STCH/export/sftp_ord2sap.scr
Normal file
@@ -0,0 +1,2 @@
|
||||
mput SAP\*.xml
|
||||
bye
|
||||
Reference in New Issue
Block a user