Implementing ftp using Javascript

后端 未结 5 1134
故里飘歌
故里飘歌 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 18:48

    its very difficult to FTP data(BIGfile) to backup server without using HTTP protocol in a web application.

    Lets say, S1-( Client Browser ), S2-(code container server), S3-(Files Backup server) and we want to upload 2gb file from s1 using FTP.

    use case diagram

    This can be done by "JavaApplet" . we can embed uploader applet in webapplication. This applet will run inside browser sand box.
    go through link

    sample code for ftp using applet

    provided you have to enable java on your browser.

提交回复
热议问题