D djljzenno Client Регистрация 26.12.2013 Сообщения 43 Благодарностей 2 Баллы 8 19.02.2016 #1 Hello, I am trying to unzip files to a certain location that I download as they are downloaded and then archive the zip to another location. I am unable to find any examples of this on the forum. Thanks!
Hello, I am trying to unzip files to a certain location that I download as they are downloaded and then archive the zip to another location. I am unable to find any examples of this on the forum. Thanks!
VladZen Administrator Команда форума Регистрация 05.11.2014 Сообщения 22 453 Благодарностей 5 913 Баллы 113 20.02.2016 #2 Код: var zipPath = project.Variables["path1"].Value; // path to archive file var extractPath = project.Variables["path2"].Value; //path to extract directory System.IO.Compression.ZipFile.ExtractToDirectory(zipPath, extractPath); Реакции: winlingt, zombie, jcknick и еще 2
Код: var zipPath = project.Variables["path1"].Value; // path to archive file var extractPath = project.Variables["path2"].Value; //path to extract directory System.IO.Compression.ZipFile.ExtractToDirectory(zipPath, extractPath);
J jcknick Client Регистрация 10.05.2013 Сообщения 154 Благодарностей 9 Баллы 18 13.09.2017 #3 Tried and failed. In fact the project is failing to restart when I add the C# block with this code inside. Also tried to follow this video - same results - Help Btw, I'm trying to do it on localserver, if it matters. Последнее редактирование: 13.09.2017
Tried and failed. In fact the project is failing to restart when I add the C# block with this code inside. Also tried to follow this video - same results - Help Btw, I'm trying to do it on localserver, if it matters.
EtaLasquera Client Регистрация 02.01.2017 Сообщения 526 Благодарностей 112 Баллы 43 13.09.2017 #4 Use this project in project, maybe help you. Output path = Path Zip = Zip file complete path As example Zip = C:\Temp\Zipfile.zip Output path = C:\Users\Administrator\Desktop Вложения Unzip.xmlz 9,8 КБ Просмотры: 246 Реакции: LightWood
Use this project in project, maybe help you. Output path = Path Zip = Zip file complete path As example Zip = C:\Temp\Zipfile.zip Output path = C:\Users\Administrator\Desktop
LightWood Moderator Регистрация 04.11.2010 Сообщения 2 382 Благодарностей 917 Баллы 113 21.09.2017 #5 jcknick сказал(а): Tried and failed. In fact the project is failing to restart when I add the C# block with this code inside. Also tried to follow this video - same results - Help Btw, I'm trying to do it on localserver, if it matters. Нажмите, чтобы раскрыть... look at logs next time and give to us a screenshot of logs. Logs should contain details of error information
jcknick сказал(а): Tried and failed. In fact the project is failing to restart when I add the C# block with this code inside. Also tried to follow this video - same results - Help Btw, I'm trying to do it on localserver, if it matters. Нажмите, чтобы раскрыть... look at logs next time and give to us a screenshot of logs. Logs should contain details of error information
J jcknick Client Регистрация 10.05.2013 Сообщения 154 Благодарностей 9 Баллы 18 29.09.2017 #6 Thanks guys
LightWood Moderator Регистрация 04.11.2010 Сообщения 2 382 Благодарностей 917 Баллы 113 02.10.2017 #7 jcknick сказал(а): Thanks guys Нажмите, чтобы раскрыть... welcome
winlingt Client Регистрация 21.10.2021 Сообщения 9 Благодарностей 2 Баллы 3 04.01.2022 #8 you may want to check all ref needed for that to run