WebSocket and FTP possible?

980 views
Skip to first unread message

André Fiedler

unread,
Jun 4, 2010, 5:10:15 PM6/4/10
to mootool...@googlegroups.com
One question before i investigate some time in this. Is it possible to implement the FTP using the new WebSocket feature? Would be great for online code editors aso.

greetings André

André Fiedler

unread,
Jun 4, 2010, 6:00:43 PM6/4/10
to mootool...@googlegroups.com
Hm, ok... it seems not possible. WebSocket is using port 81, no way to use port 21. :(
This:

var socket = new WebSocket("ws://ftp.secureftp-test.com:21");

throws:

"WebSocket port 21 blocked"

Is there really no way to talk to an FTP Server through JS? I don´t want to use Flash or Java Applet or the microsoft thing.


2010/6/4 André Fiedler <fiedle...@googlemail.com>
Reply all
Reply to author
Forward
0 new messages