SlideShare a Scribd company logo
FTP Connector
PRUDHVI
FTP Connector
• The FTP Connector implements a file transport channel so that your Mule
application can exchange files with an external FTP server. You can
configure FTP as an inbound endpoint (which receives files) or outbound
endpoint (which writes files to the FTP server)
PRUDHVI
Configuration
FTP endpoint configuration consists of two stages:
• Decide where you want to place the FTP endpoint within your Mule flow, then drag it from the palette to the
appropriate place in the sequence of building blocks that make up your Mule flow.
• If you place the FTP endpoint at the beginning of the flow, it acts as an inbound endpoint (such as, message
source), triggering the flow whenever it receives a file. (You can also use the Composite Source scope to
wrap the FTP endpoint along with other, similar endpoints (such as SFTP, File, or UDP) so that your flow
can receive files through multiple transport channels).
• If you place the FTP building block in the middle or at the end of the flow, it serves as an outbound
endpoint, transferring files out of the flow to the connected file system (such as, the FTP server).
• Configure the FTP endpoint by providing values for the fields on the various tabs in the properties editor,
which you open by clicking the FTP endpoint icon on the Message Flow canvas.
PRUDHVI
The tabs on the FTP
PRUDHVI
Advanced Tab
PRUDHVI
Transformers Tab
PRUDHVI
Features
• oll a directory on a remote FTP server for new files
• Retrieve files an FTP server
• Transfer binary or text files
• Filter files at the endpoint based on filename wildcards
• Filter files at the endpoint based on Mule expressions
• Upload and store files on an FTP server
• Rename output files based on Mule expressions
• Streaming for transferring large files
• Support for reconnection strategies
PRUDHVI
Example Flow
<mule xmlns="http://"
xmlns:xsi="http://www.w3.org/2001/XMLSchewww.mulesoft.org/schema/mule/corema-instance"
xmlns:ftp="http://www.mulesoft.org/schema/mule/ftp"
xmlns:file="http://www.mulesoft.org/schema/mule/file" xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-
file.xsd http://www.mulesoft.org/schema/mule/ftp
http://www.mulesoft.org/schema/mule/ftp/current/mule-ftp.xsd">
<flow name="ftp2file">
<ftp:inbound-endpoint host="localhost" port="21" path="/" user="theUser"
password="secret"/>
<file:outbound-endpoint path="/some/directory" outputPattern="#[header:originalFilename]"/>
</flow>
</mule>
PRUDHVI
Thank You
PRUDHVI

More Related Content

PDF
FTP Connector With Mule ESB
PPTX
SMTP MULE
PPTX
Basic example using file connector in anypoint studio
PPTX
Sftp connector
PDF
Composite Source With Mule ESB
PPTX
FTP Client and Server | Computer Science
PPTX
MuleSoft ESB Sending email using hmailserver
PPTX
File Transfer Protocol - FTP
FTP Connector With Mule ESB
SMTP MULE
Basic example using file connector in anypoint studio
Sftp connector
Composite Source With Mule ESB
FTP Client and Server | Computer Science
MuleSoft ESB Sending email using hmailserver
File Transfer Protocol - FTP

What's hot (20)

PPTX
Ftp server
PPTX
File transfer protocol (ftp)
PPTX
Shipping your logs to elk from mule app/cloudhub part 2
PDF
Ftp server
PPTX
PPTX
File transfer protocol (ftp) in application
PPT
Using an FTP client - Client server computing
PPTX
PPTX
File Transfer Protocol
PPTX
File transfer protocol
PPTX
File Transfer Protocol
PPTX
HTTP Basic
PPSX
File Transfer Protocol
PDF
Ftp (file transfer protocol)
PDF
FTP Conflict troubleshooting & MINI-LINK TN FTP
PPTX
Application layer
PPTX
PPTX
An overview of ftp
PPTX
SquirrelMail for webmail
Ftp server
File transfer protocol (ftp)
Shipping your logs to elk from mule app/cloudhub part 2
Ftp server
File transfer protocol (ftp) in application
Using an FTP client - Client server computing
File Transfer Protocol
File transfer protocol
File Transfer Protocol
HTTP Basic
File Transfer Protocol
Ftp (file transfer protocol)
FTP Conflict troubleshooting & MINI-LINK TN FTP
Application layer
An overview of ftp
SquirrelMail for webmail
Ad

Viewers also liked (9)

ODP
Mule Complete Training
PPTX
Basic auth implementation using raml in mule
PPTX
Mule JMS Transport
PPTX
Consuming raml
PPT
RAML - The architecture
PPT
PPTX
Scatter gather flow in mule
PPT
Losses in optical fiber
PPTX
Muleesbobjecttojson
Mule Complete Training
Basic auth implementation using raml in mule
Mule JMS Transport
Consuming raml
RAML - The architecture
Scatter gather flow in mule
Losses in optical fiber
Muleesbobjecttojson
Ad

Similar to Ftp connector (20)

PPTX
Ftp connector
PPTX
File connector
PPTX
Fpt connector
PPT
Mule esb-connectors
PPTX
Sftp connector
PPTX
File connector
PPTX
File Connector
PPTX
Mulesoft file connector
PPT
ftp.07f.ppt
PPT
Mule esb presentation 2015
PDF
Global Scale ESB with Mule
PPTX
Working with components
PPTX
File Upload with RESP API
PPTX
Web Dev Research
PPTX
Anypoint connectors
PDF
02 basics
PPTX
Mule connectors-part 1
PPTX
Srilekha mule esb
PPTX
File connector mule
PPTX
Mule ftp connector
Ftp connector
File connector
Fpt connector
Mule esb-connectors
Sftp connector
File connector
File Connector
Mulesoft file connector
ftp.07f.ppt
Mule esb presentation 2015
Global Scale ESB with Mule
Working with components
File Upload with RESP API
Web Dev Research
Anypoint connectors
02 basics
Mule connectors-part 1
Srilekha mule esb
File connector mule
Mule ftp connector

More from prudhvivreddy (18)

PPTX
About Mule execution units
PPTX
About mule transformers
PPTX
About jms
PPTX
Webservices
PPTX
Generating the mule flow as html document
PPTX
Imap connector
PPTX
Hdfs connector
PPTX
Ajax connector
PPTX
Basic example using vm component
PPTX
Basic example using until successful component
PPTX
Basic example using message properties component
PPTX
Basic example using for each component
PPTX
Basic example using database component
PPTX
Basic example using choice component
PPTX
Basic example using quartz component in anypoint studio
PPTX
Mule fundamentals
PPTX
Salesforce connector Example
PPTX
Munit junit test case
About Mule execution units
About mule transformers
About jms
Webservices
Generating the mule flow as html document
Imap connector
Hdfs connector
Ajax connector
Basic example using vm component
Basic example using until successful component
Basic example using message properties component
Basic example using for each component
Basic example using database component
Basic example using choice component
Basic example using quartz component in anypoint studio
Mule fundamentals
Salesforce connector Example
Munit junit test case

Recently uploaded (20)

PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Classroom Observation Tools for Teachers
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Institutional Correction lecture only . . .
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
RMMM.pdf make it easy to upload and study
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Pre independence Education in Inndia.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Business Ethics Teaching Materials for college
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Cell Types and Its function , kingdom of life
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Classroom Observation Tools for Teachers
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Microbial diseases, their pathogenesis and prophylaxis
Abdominal Access Techniques with Prof. Dr. R K Mishra
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Institutional Correction lecture only . . .
Anesthesia in Laparoscopic Surgery in India
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
VCE English Exam - Section C Student Revision Booklet
RMMM.pdf make it easy to upload and study
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pre independence Education in Inndia.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Final Presentation General Medicine 03-08-2024.pptx
Business Ethics Teaching Materials for college
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Cell Types and Its function , kingdom of life

Ftp connector

  • 2. FTP Connector • The FTP Connector implements a file transport channel so that your Mule application can exchange files with an external FTP server. You can configure FTP as an inbound endpoint (which receives files) or outbound endpoint (which writes files to the FTP server) PRUDHVI
  • 3. Configuration FTP endpoint configuration consists of two stages: • Decide where you want to place the FTP endpoint within your Mule flow, then drag it from the palette to the appropriate place in the sequence of building blocks that make up your Mule flow. • If you place the FTP endpoint at the beginning of the flow, it acts as an inbound endpoint (such as, message source), triggering the flow whenever it receives a file. (You can also use the Composite Source scope to wrap the FTP endpoint along with other, similar endpoints (such as SFTP, File, or UDP) so that your flow can receive files through multiple transport channels). • If you place the FTP building block in the middle or at the end of the flow, it serves as an outbound endpoint, transferring files out of the flow to the connected file system (such as, the FTP server). • Configure the FTP endpoint by providing values for the fields on the various tabs in the properties editor, which you open by clicking the FTP endpoint icon on the Message Flow canvas. PRUDHVI
  • 4. The tabs on the FTP PRUDHVI
  • 7. Features • oll a directory on a remote FTP server for new files • Retrieve files an FTP server • Transfer binary or text files • Filter files at the endpoint based on filename wildcards • Filter files at the endpoint based on Mule expressions • Upload and store files on an FTP server • Rename output files based on Mule expressions • Streaming for transferring large files • Support for reconnection strategies PRUDHVI
  • 8. Example Flow <mule xmlns="http://" xmlns:xsi="http://www.w3.org/2001/XMLSchewww.mulesoft.org/schema/mule/corema-instance" xmlns:ftp="http://www.mulesoft.org/schema/mule/ftp" xmlns:file="http://www.mulesoft.org/schema/mule/file" xsi:schemaLocation=" http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule- file.xsd http://www.mulesoft.org/schema/mule/ftp http://www.mulesoft.org/schema/mule/ftp/current/mule-ftp.xsd"> <flow name="ftp2file"> <ftp:inbound-endpoint host="localhost" port="21" path="/" user="theUser" password="secret"/> <file:outbound-endpoint path="/some/directory" outputPattern="#[header:originalFilename]"/> </flow> </mule> PRUDHVI