• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

smtp,ftp protocol in Tomcat

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can we use smtp,ftp protocol in Tomcat?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you talking about a servlet making SMTP/FTP connections, or are you talking about accessing Tomcat via SMTP/FTP instead of HTTP?

If the former, then the answer is yes. You can use the JavaMail API for making SMTP connections, and the Jakarta Commons Net library for FTP connections.

If the latter, then this is only theoretically possible. This FAQ page has more detail about why that is so.
[ December 07, 2006: Message edited by: Ulf Dittmer ]
 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JUpload

Upload multiple files to the webserver. Using standard HTTP protocol and supporting PHP,ASP,JSP,IIS,Apache,Tomcat,ColdFusion. Features secure HTTP, proxy support, image preview, file transfer resuming, progress bar and more.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Neerav Narielwala,

This sounds more like an ad for a product than a answer to the original poster's question.

To answer the original question:
Tomcat is not an FTP or SMTP server but (as Ulf has mentioned) there is nothing stopping an application developer from using the various libraries available to add an FTP Client or SMTP client to their own webapps.
 
reply
    Bookmark Topic Watch Topic
  • New Topic