How to move a downloaded file to another folder

fmp

Новичок
Регистрация
23.11.2022
Сообщения
2
Благодарностей
0
Баллы
1
Hi

I am new to this forum :-)
I am getting crazy with a problem which is probably simple to solve, that's why I need your help.

First I set the Download directory to a specific folder (let's say E:\download) using the Browser/Settings function. It is OK.
After wards I download a file from a website using the GET function.
This file is downloaded to the E:\Download folder : still OK so far !

Then, I want both to change the name of the file and move it to another folder (let's say F:\Files).
nom_fichier_initial is the name of the file when it is downloaded
nom_fichier is the new name I want

99887


The change of name is OK.
But my problem is that the renamed file is moved to a "default" folder : E:\Logiciels\EN\ZennoPoster Pro V7\7.7.2.0\Progs
This folder is not good for me because I will download many files and the disk where Zennoposter is installed is too small.

I have tried many things but I don't know how to specify the actual new path (new folder) where I want to move the file.

Thank you very much for your help !

fmp
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 415
Благодарностей
5 900
Баллы
113
When you move a file, you should specify full output path, not only new filename.
i.e.
File path - E:\downloads\old_filename
New path - F:\Files\new_filename
 

fmp

Новичок
Регистрация
23.11.2022
Сообщения
2
Благодарностей
0
Баллы
1
Hi
Thank you very much for your reply.
Actually I tried putting the folder path before the new_filename variable, but it did not work.
I tried another way now, and it works ! :-)
Have a nice day

fmp
 

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