• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 384
  • Last Modified:

mule http transport

Hi,
 I have a swing client and need to upload a file to the server.I dont want to use the servlet instead want to use the mule framework HTTP transport and place that in a .What could be the solutiuon?.Some sample examples will be of greeat help.Thanks
0
prashubk
Asked:
prashubk
  • 4
  • 3
1 Solution
 
CEHJCommented:
You would probably at least use the mule ftp transport for that, not http. You'd need to check their docs
0
 
objectsCommented:
why would you want to use ftp?
http is far easier to implement from the client side
HttpClient would handle the job for you
http://hc.apache.org/httpclient-3.x/
0
 
prashubkAuthor Commented:
Hi CEHJ,

             Do you have any code examples.Not sure how to achieve using mule.I'm not sure how to send request from client in order to invoke ftp transport.Can you please give some code examples.Thanks
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
CEHJCommented:
>>why would you want to use ftp?

Err .. because ftp is designed for sending files?

If it implements scp, so much the better. That's the industry standard for sending files

>>Do you have any code examples.

I would guess you'd find some in the download.
0
 
prashubkAuthor Commented:
Hi CEHJ,
       
               I tried google. In fact there are no code examples.All the sites i visited are having theory aspect of it but no code as such.I want a sample code to understand and do the stuff at my end.Appreciate any help on this
               
0
 
CEHJCommented:
Did you download the public api?
0
 
prashubkAuthor Commented:
Hi CEHJ,

                      http://www.jarvana.com/jarvana/view/org/mule/mule-core/2.0.0-RC1/mule-core-2.0.0-RC1-javadoc.jar!/index.html 

  i have the api from here
0
 
CEHJCommented:
:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now