found 7zip in C:\Program Files\7-Zip\7z.exe if exist E:\buildsystem\release-1916-gdal-3-6-mapserver-8-0-libs.zip del E:\buildsystem\release-1916-gdal-3-6-mapserver-8-0-libs.zip 7z a -tzip E:\buildsystem\release-1916-gdal-3-6-mapserver-8-0-libs.zip E:\buildsystem\release-1916\lib E:\buildsystem\release-1916\include 7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 Scanning the drive: 1314 folders, 16799 files, 294065483 bytes (281 MiB) Creating archive: E:\buildsystem\release-1916-gdal-3-6-mapserver-8-0-libs.zip Add new data to archive: 1314 folders, 16799 files, 294065483 bytes (281 MiB) Files read from disk: 16799 Archive size: 59657977 bytes (57 MiB) Everything is Ok xcopy /Y E:\buildsystem\release-1916-gdal-3-6-mapserver-8-0-libs.zip C:\Inetpub\wwwroot\sdk\downloads E:\buildsystem\release-1916-gdal-3-6-mapserver-8-0-libs.zip 1 File(s) copied uploadftp "E:\buildsystem\release-1916-gdal-3-6-mapserver-8-0-libs.zip" downloads