Monday, August 27, 2012

Does a FTP-upload via Java by JavaScript exist?

Does a FTP-upload via Java by JavaScript exist?

I have following scenario: A silverlight-plugin records some audio and stores this in a byte[] which I'd like to upload to FTP. Unfortunately FTP-upload in Silverlight is pain in the a**, as I'd need to implement sockets.
So I though, well ...

enter image description here

So, does there exist a Java-Applet which does that job and is open-source? Ah, and ... yes ... only real (S)FTP would be ideal, as I'll try to upload laaaaarge files ... oh, and yes ... any HTML5-specific funky-stuff is (unfortunately) not possible ... thanks!

Answers & Comments...

Answer: 1

Please understand that Applet and JavaScript are client-side . You still have to use server-side scripts to perform FTP operations. Probably JSP / Servlet has to be used in your case.

by : Shivan Raptorhttp://stackoverflow.com/users/188331

Answer: 2

I've decided to implement ftp-access on my own. See sharpLightFtp for progress!

by : Andreas Niedermairhttp://stackoverflow.com/users/57508




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog