Answer the question
In order to leave comments, you need to log in
How to send and then receive node js files?
There is an application on the server (linux), it converts the image into different formats, works on NODE JS, the essence of the application is to put the file in the folder with the application, execute the command, take the files from the folder.
How can this be linked to the site? Those. uploaded the file, waited for the conversion process to finish, downloaded the file.
Tell me the algorithm of action, I know how to upload a file, but how to send a command for execution, how to understand that the process is over? How is the interaction with server applications through the web interface generally built?
PS The site is powered by PHP (Drupal).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question