No, it is a way to define and later execute tasks to do (one or more) that may be not directly supported in Node Red. Just google, depending on your OS for "batch", "Powershell", "bash", "Shell script", "bat", ".cmd", ...
If you tell which file you want to upload from where, maybe there is a way also in NodeRed.
It is a .fmu file. I want that this .fmu file all the time if I want upload in a folder on my own pc if I click on something at the NodeRed Dashboard. So I want to give this command from NodeRed.
The file is running on the machine not in browser. I should be upload in any folder it doesn't matter in which folder. It isn't a special folder.
For example: I have a file. My partner and I are working on a project and I want to give this file to my project partner and so we want to create something on the NodeRed dashboard where my partner can click on it an the file would upload on his pc.
So you have a file on the machine running node-red and you want to send that to a PC. When you say your partner will click on it do you mean that he/she is showing the dashboard in a browser and wants the file to be sent to the PC running the browser? If so then what you want to do is to download the file to the PC. It is the same as, for example, going to a website and asking to download a document from the website. Upload is when you send a file from the PC running the browser to the server machine (that is the one running node-red in this case).
If you go to the node red flows site and search for Download you will find a number of possibilities, including this one which looks like it does what you want.
[Edit] Why don't you just set up file sharing between the two PCs or use something like Dropbox?
I have a solution somewhere for file upload via http request, and i just added an <a src=requesturl> in a node-red button name field and it is working fine for me( just needed to click exactly on text) i will send it later when i get home.
Yes I have a file on my PC. I am working on it with NodeRed and then I want to send it with NodeRed to my partner to show him directly what I did on the project. We want to upload and show other work without loosing time and with a quickly way to show the other one what I do now.
Okay I will look for a flow, I hope I will find something.
I try to install the package and built something at the dashboard. Now I can choose a file and can upload it but I don't know where the file goes. Do you have any idea?
The file doesn't go anywhere, it is read as a stream of buffer, that you can then write to new file, store it, convert to readable state( if a text file) or do anything you wish...
By definition, 'upload' means to send the file from the PC to the server (as I explained a few posts ago). Do you mean you want to send a file from the node-red server to a completely different PC or to the PC running the dashboard?
Sorry, it still is not entirely clear. How many machines are involved in this? I know there are at least two PCs, call them PC A and PC B. There is a file on PC A that you want to send to PC B.
Questions:
Are both A and B running the node red dashboard in a browser?
Which dashboard do you want to initiate the transfer from, A or B?
Where is the node-red server running? Is that on PC A, B or on an another machine?
We have got to 19 posts in this thread and you still have not told us the basic details of what you are trying to do.