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