The Apache FTP Server is where I started :-)
Made me wonder whether I couldn't write a servlet that delegated to it.
Or whether someone else hadn't already done it.

I have a website on which I now also want to host a blog.
I'm using BlogSpot for the blog but want to publish to my own host, which
requires an FTP Server.
So since I already run Tomcat for the webserver I thought I could simplify
my machine's config and conserve resources by running the FTP server within
Tomcat.

I'm sure it is reasonably common to want to host both an FTP and  HTTP
server.
Has no-one combined both within Tomcat before?
Whats the consensus on how to best proceed?

William


----- Original Message ----- 
From: "Cees van de Griend" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, October 24, 2004 9:19 PM
Subject: Re: Can Tomcat be configured to be an FTP Server?
>
> Yes, in theory you are right, but practical you have to write a
> ServletContainer which is FTP aware; not a simple task as FTP is not a
simple
> protocol.
>
> Take a look at a new Apache project: FtpServer at
> http://incubator.apache.org/projects/ftpserver/.
>
> What are you trying to do?
>
> It is possible to use Tomcat for uploading/downloading of files. Maybe the
> WebDAV protocol (on top of the HTTP protocol) is enough for your demands.
>
> Why do you want to run the 2 servers in 1 JVM?
>
> It makes more sense to separate the two services in different JVM's. Even
if
> you are able to create a FtpContainer, the implementation would run in a
> different thread and more realisticly in a different JVM which is started
by
> the mail process. I expect there is little gain to combine the two
services
> in one JVM, not for resource usage.
> It is only needed if you need the two services to interact directly with
each
> order and even then is is more easy to use a communication or messaging
> protocol like JMS.
>
> With kind regards,
> Cees.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to