diff --git a/CUST/STCH/export/SAP/Backup/.gitignore b/CUST/STCH/export/SAP/Backup/.gitignore new file mode 100644 index 0000000000..e69de29bb2 diff --git a/CUST/STCH/export/gen_export_sap.bat b/CUST/STCH/export/gen_export_sap.bat index 1b2ad7dc89..0680f553ac 100644 --- a/CUST/STCH/export/gen_export_sap.bat +++ b/CUST/STCH/export/gen_export_sap.bat @@ -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 \ No newline at end of file +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 \ No newline at end of file diff --git a/CUST/STCH/export/sftp_ord2sap.scr b/CUST/STCH/export/sftp_ord2sap.scr new file mode 100644 index 0000000000..1fbb8cfc65 --- /dev/null +++ b/CUST/STCH/export/sftp_ord2sap.scr @@ -0,0 +1,2 @@ +mput SAP\*.xml +bye