Implementing ftp using Javascript

后端 未结 5 1083
故里飘歌
故里飘歌 2021-01-12 18:46

I dont understand why cant javascript make ftp calls?. Why do we have to make such a request using server?

Even Browsers have ability to authenticate and browse a ft

5条回答
  •  爱一瞬间的悲伤
    2021-01-12 19:08

    Here are some links I came across, most seem to point you in the direction of writing server-side code to manipulate the FTP and then pass it to the user using javascript.

    • https://github.com/sergi/jsftp
    • https://gallery.technet.microsoft.com/scriptcenter/FTP-File-Manager-via-ca3a4260
    • Download file from FTP via Javascript

    Browser Compatibility?

    • Chrome webRequest for extensions
    • Firefox XMLHttpRequest

提交回复
热议问题