Where I get download files that I click?

digitalmagician

Новичок
Регистрация
16.05.2012
Сообщения
21
Благодарностей
2
Баллы
3
Where is default download directory folder? After I download all files using chromium (beta), I can't find files in /Trash or directory I set "Download directory" I set on project directory folder.
96334
 

Вложения

Katana

Client
Регистрация
28.03.2021
Сообщения
81
Благодарностей
7
Баллы
8
what type of file do you want to save? if it's an image you have to use "image processing" and use the same save path as your dowload directory.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 237
Благодарностей
5 847
Баллы
113
Check the folder - AppData\Local\Temp
However, you should be able to control with action block Browser>Settings>Download directory
 

digitalmagician

Новичок
Регистрация
16.05.2012
Сообщения
21
Благодарностей
2
Баллы
3
Work with CEF browser only, if I select chromium(Beta) it does't work. PDF files I wish to save it. How I use C# to download a file?
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 237
Благодарностей
5 847
Баллы
113

digitalmagician

Новичок
Регистрация
16.05.2012
Сообщения
21
Благодарностей
2
Баллы
3
Thanks for reply. I get the error log, do I need to install C# first before able to use it or Zennoposter have standalone library for C# code?

Compiling code of Error in action "CS0246" "The type or namespace name 'WebClient' could not be found (are you missing a using directive or an assembly reference?)". [Row: 1; Column: 1]
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 237
Благодарностей
5 847
Баллы
113
Thanks for reply. I get the error log, do I need to install C# first before able to use it or Zennoposter have standalone library for C# code?

Compiling code of Error in action "CS0246" "The type or namespace name 'WebClient' could not be found (are you missing a using directive or an assembly reference?)". [Row: 1; Column: 1]
C#:
System.Net.WebClient webClient = new System.Net.WebClient();
webClient.DownloadFile(project.Variables["link_to_file"].Value, downloadPath);
 

cherubin

Client
Регистрация
06.06.2016
Сообщения
92
Благодарностей
6
Баллы
8

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)