|
From: Jamie C. <jca...@we...> - 2006-09-15 23:25:53
|
I'm still working in this one, so it didn't make it into the 1.300 release sorry ..<br /><br />=A0- Jamie<br /><br />On 15/Sep/2006 15:30 Morris Hooten - SES Web Services wrote .. <blockquote type=3D"cite"> Jamie-<br /> <br /> Is this possible in the next release?<br /> <br /> Thanks<br /> <br /> <br /> <br /> <br /> morrish wrote: <blockquote type=3D"cite" cite=3D"https://mail.webmin.com:20000/mailbox/mid...@su..."><br /> <br /> <hr width=3D"90%" size=3D"4" /><br /> <table width=3D"100%" cellspacing=3D"0" cellpadding=3D"0" border=3D"0" class=3D"header-part1"> <tbody> <tr> <td> <div style=3D"display: inline;" class=3D"headerdisplayname">Subject: </div> Re: [Fwd: Re: [webmin-l] Java File Manager Applet]</td> </tr> <tr> <td> <div style=3D"display: inline;" class=3D"headerdisplayname">From: </div> Abhay Dabholkar <a href=3D"_unsafe_link_" class=3D"moz-txt-link-rfc2396E"><Abh...@Su...></a></td> </tr> <tr> <td> <div style=3D"display: inline;" class=3D"headerdisplayname">Date: </div> Wed, 30 Aug 2006 14:05:53 -0500</td> </tr> <tr> <td> <div style=3D"display: inline;" class=3D"headerdisplayname">To: </div> morrish <a href=3D"_unsafe_link_" class=3D"moz-txt-link-rfc2396E"><Mor...@Su...></a></td> </tr> </tbody> </table> <table width=3D"100%" cellspacing=3D"0" cellpadding=3D"0" border=3D"0" class=3D"header-part2"> <tbody> <tr> <td> <div style=3D"display: inline;" class=3D"headerdisplayname">To: </div> morrish <a href=3D"_unsafe_link_" class=3D"moz-txt-link-rfc2396E"><Mor...@Su...></a></td> </tr> </tbody> </table> <br /> hi morris, <br /> <br /> For upload functionality webmin is using upload.cgi.=A0 Infact java is used only for showing directory listing. <br /> <br /> <br /> So here is how it can be done.... I am not good in cgi coding :( otherwise I would have done it. It should be simple. <br /> <br /> It can be easily done by using Ajax from perl. So when user clicks on upload read call on server is reading over http connection. <br /> <br /> Current code is in web-lib-funcs.pl <br /> ____________________________________________________________________________________________ <br /> # transfer data <<this code is web-lib-funcs.pl>> <br /> <br /> local $got; <br /> open(PFILE, $_[2]); <br /> while(read(PFILE, $buf, 1024) > 0) { <br /> =A0=A0=A0=A0=A0=A0=A0 print CON $buf; <br /> =A0=A0=A0=A0=A0=A0=A0 $got +=3D length($buf); <br /> <br /> // change here would be to write data back to browser. I guess u can suggest this to jamie... <br /> // use simple ajax <br /> <br /> =A0=A0=A0=A0=A0=A0=A0 &$cbfunc(3, $got) if ($cbfunc); <br /> =A0=A0=A0=A0=A0=A0=A0 } <br /> close(PFILE); <br /> close(CON); <br /> ____________________________________________________________________________________________ <br /> <br /> I wish it was in java I could have done this with in few hrs.. :( <br /> <br /> <br /> <br /> thanks <br /> abhay dabholkar <br /> <br /> <br /> morrish wrote On 08/30/06 11:42,: <br /> <br /> <blockquote type=3D"cite">Here's another that is a spin off from megaupload. Also free. <br /> <br /> <a href=3D"http://uber-uploader.sourceforge.net/" class=3D"moz-txt-link-freetext">http://uber-uploader.sourceforge.net/</a> <br /> <br /> <br /> Abhay Dabholkar wrote: <br /> <br /> <blockquote type=3D"cite">ok .. I will take a look today ... <br /> I think we should be able to do something with java code... <br /> <br /> abhay <br /> <br /> morrish wrote: <br /> <br /> <blockquote type=3D"cite">Abhay- <br /> <br /> yes the cgi and java files for the <br /> file manager are in the main directory of webmin under the file <br /> directory like /usr/local/webmin-1.290/file and the Multi File module <br /> cgi is under /usr/local/webmin-1.290/updown. <br /> <br /> i found several examples of java source for a upload monitor. <br /> how to implement it within the file manager applet and updown webmin modules <br /> i don't know. <br /> <br /> <br /> <a href=3D"http://www.raditha.com/megaupload/" class=3D"moz-txt-link-freetext">http://www.raditha.com/megaupload/</a> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Abhay Dabholkar wrote: <br /> <br /> <blockquote type=3D"cite">hi morris, <br /> I=A0 am going to download webmin from webmin site today from office.=A0 Do you know if they provide java source files in downloads?? <br /> <br /> thanks <br /> abhay <br /> <br /> <br /> Morris Hooten - SES Web Services wrote: <br /> <br /> <blockquote type=3D"cite">no rush <br /> <br /> <br /> Abhay Dabholkar wrote: <br /> <br /> <blockquote type=3D"cite">hi morri, <br /> I will check as soon as I get out of this cwp thing... cwp is taking my lot of time :( <br /> <br /> abhay <br /> <br /> <br /> Morris Hooten - SES Web Services wrote On 08/25/06 14:56,: <br /> <br /> <blockquote type=3D"cite"><br /> <br /> ------------------------------------------------------------------------ <br /> <br /> Subject: <br /> Re: [webmin-l] Java File Manager Applet <br /> From: <br /> Morris Hooten - SES Web Services <a href=3D"_unsafe_link_" class=3D"moz-txt-link-rfc2396E"><Mor...@Su...></a> <br /> Date: <br /> Fri, 25 Aug 2006 13:53:33 -0600 <br /> To: <br /> <a href=3D"_unsafe_link_" class=3D"moz-txt-link-abbreviated">jca...@we...</a> <br /> <br /> To: <br /> <a href=3D"_unsafe_link_" class=3D"moz-txt-link-abbreviated">jca...@we...</a> <br /> <br /> <br /> Jamie- <br /> <br /> I've included megaupload which includes the source in pearl up java. <br /> <br /> Please take a look to see what you think. I think it would be a nice feature to both modules. <br /> <br /> Thanks <br /> <br /> <a href=3D"http://www.raditha.com/megaupload/" class=3D"moz-txt-link-freetext">http://www.raditha.com/megaupload/</a> <br /> <br /> <a href=3D"http://sourceforge.net/projects/megaupload/" class=3D"moz-txt-link-freetext">http://sourceforge.net/projects/megaupload/</a> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Jamie Cameron wrote: <br /> <br /> <blockquote type=3D"cite">Yes, it would be nice to show some kind of progress meter .. <br /> Do you know of any example Java code that can do this? <br /> <br /> =A0- Jamie <br /> <br /> On 23/Aug/2006 14:59 Morris Hooten - SES Web Services wrote .. <br /> <br /> <blockquote type=3D"cite">ok, this is the issue. the updown module and file manager applet <br /> work great but what if you want to upload a larger file say 100mg or larger. <br /> how do you know if the connection is still live after 15 min. or how much time is left, or <br /> how fast the connection is? what if it drop connection after 15 min and the user is behind a proxy server <br /> etc? <br /> <br /> <br /> <br /> <br /> Jamie Cameron wrote On 08/23/06 15:55,: <br /> <br /> <blockquote type=3D"cite">On 23/Aug/2006 13:41 Morris Hooten - SES Web Services wrote .. <br /> =A0 <br /> <br /> <blockquote type=3D"cite">Is there any plans to upgrade the file manager applet anytime in the future to allow for better features of uploading and downloading files such as: <br /> <br /> Features like Intelligent Multi-Part Downloading, Automatic Error Recovery, uploading status, etc. <br /> =A0 </blockquote> <br /> <br /> <br /> <br /> <br /> <br /> <br /> This isn't planned at the moment, as I am just using the browser's file <br /> upload input which doesn't support any fancy operations. <br /> <br /> - Jamie <br /> <br /> ------------------------------------------------------------------------- <br /> Using Tomcat but need to do more? Need to support web services, security? <br /> Get stuff done quickly with pre-integrated technology to make your job easier <br /> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo <br /> <a href=3D"http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642" class=3D"moz-txt-link-freetext">http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642</a> <br /> - <br /> Forwarded by the Webmin mailing list at <a href=3D"_unsafe_link_" class=3D"moz-txt-link-abbreviated">web...@li...</a> <br /> To remove yourself from this list, go to <br /> <a href=3D"http://lists.sourceforge.net/lists/listinfo/webadmin-list" class=3D"moz-txt-link-freetext">http://lists.sourceforge.net/lists/listinfo/webadmin-list</a> <br /> =A0 <br /> <br /> </blockquote> <br /> --=A0<br /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <br /> Morris Hooten <br /> SES Web Services=A0=A0 Technology Enabled Learning ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <br /> Phone:=A0=A0=A0 303-272-9366 (x79366) <br /> e-mail:=A0=A0 <a href=3D"_unsafe_link_" class=3D"moz-txt-link-abbreviated">mor...@su...</a> <br /> =A0 </blockquote> <br /> <br /> <br /> <br /> <br /> <br /> <br /> ------------------------------------------------------------------------ <br /> <br /> ------------------------------------------------------------------------- <br /> Using Tomcat but need to do more? Need to support web services, security? <br /> Get stuff done quickly with pre-integrated technology to make your job easier <br /> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo <br /> <a href=3D"http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642" class=3D"moz-txt-link-freetext">http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642</a> <br /> =A0 <br /> <br /> ------------------------------------------------------------------------ <br /> <br /> - <br /> Forwarded by the Webmin mailing list at <a href=3D"_unsafe_link_" class=3D"moz-txt-link-abbreviated">web...@li...</a> <br /> To remove yourself from this list, go to <br /> <a href=3D"http://lists.sourceforge.net/lists/listinfo/webadmin-list" class=3D"moz-txt-link-freetext">http://lists.sourceforge.net/lists/listinfo/webadmin-list</a> <br /> =A0 <br /> <br /> </blockquote> <br /> </blockquote> </blockquote> <br /> </blockquote> <br /> <br /> </blockquote> <br /> </blockquote> <br /> <br /> </blockquote> <br /> </blockquote> </blockquote> <br /> </blockquote><br /> |