How can I upload a file in an FTP server using javascript?

Issue

This Content is from Stack Overflow. Question asked by Marileni

I want to upload a file to an FTP server.

I’m using Angular but after some research I realized that Angular has no way to upload files to FTP. So I tried to follow this code but I didn’t have any success because ‘new FtpConnection()’ is not recognized by javascript.

Is there any other valid code to upload a file to FTP via javascript or do I need to upload the file to FTP via the backend? (I use c# in backend)



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?