X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Fcsv-import-from-shell.sh;h=e8a1991c2be5052cea3fcf23daa65c2e65ed26d3;hb=061f4d6d32ed95055114582ede45e8387b302a53;hp=277e8fcdc8bf39cb4c05c8cbf2b75dbe2978ae9f;hpb=1f3fea6c844add4f42c4e5ee22dcb688867876a2;p=kivitendo-erp.git diff --git a/scripts/csv-import-from-shell.sh b/scripts/csv-import-from-shell.sh old mode 100644 new mode 100755 index 277e8fcdc..e8a1991c2 --- a/scripts/csv-import-from-shell.sh +++ b/scripts/csv-import-from-shell.sh @@ -14,6 +14,7 @@ # ---- Logindaten und URL anpassen: ---- login=MyLxOfficeUserName password=MySecretPassword +client_id=ClientDatabaseID url='https://localhost/kivitendo-erp/controller.pl' function fail { @@ -133,6 +134,7 @@ function do_curl { -F 'settings.shoparticle_if_missing=0' \ -F "{AUTH}login=${login}" \ -F "{AUTH}password=${password}" \ + -F "{AUTH}client_id=${client_id}" \ -F "file=@${file}" \ ${url} }