In this POST, I will provide detailed steps on how to use a FTP adapter in OIC using local FTP created in WINDOWS 10 machine
Steps to create a scheduled integration in OIC using FTP adapter using local WINDOWS FTP. You can go through these links.
Create FTP server using WINDOWS 10 locally: here
Why is an ICS Agent needed: here
- Login to OIC àIntegrationàDesigneràAgentsàCreate Agent Group (Give below New Agent Group -Information)
Agent Group Name |
DhireshWinLocalAgentGroup |
Agent Type |
Connectivity Agent |
Description |
POC purpose |
- Download Connectivity Agent. Save it to C:\OIC\oicAgent\
C:\Windows\system32>cd C:\OIC\oicAgent\oic_connectivity_agent |
- Ensure that the agent is running - OIC àIntegrationàMonitoringàAgentsàMonitor Agents
- Create a FTP Connection : OIC HomeàIntegrationàDesigneràConnectionàCreate New ConnectionàSelect Adapter FTP and select create -
Name |
DHIRESH_LOCAL_FTP |
Role |
Trigger and Invoke |
Description |
POC purpose |
Once Connection is created. Provide the below details –
FTP Server Host Address |
Local IPv4 address identified from Ipconfig |
FTP Server Port |
21 |
SFTP Connection |
No |
Security Policy |
FTP Server Access Policy |
User Name |
Windows Login Id (usually Hotmail id) |
Password |
Windows password |
Agent Group |
DhireshWinLocalAgentGroup (as created in step1) |
Save and test the connection.
- Create a new Scheduled Integration—OIC HomeàIntegrationàDesigneràIntegrationàCreate àScheduled Orchestration. I gave the integration name as DHIRESH_LOCAL_FTP
fileName |
test.txt |
inputDirectory |
/ftpLocalOIC/readDirectory |
outputDirectory |
/ftpLocalOIC/moveDirectory |
|
|
Drag the FTP adapter created above over + sign
Details for Configuring the FTP Adapter
What do you want to call the endpoint |
Move File |
Select Operation |
Move a File |
Directory Path |
/ftpLocalOIC/readDirectory |
File Name |
test.txt |
Target Directory Path |
/ftpLocalOIC/moveDirectory |
Target File Name |
newtest.txt |
Save and then ad the 3 variables. Save the integration. Add filename for tracking. Finally Activate the integration
Activate the integration. Before Submitting the integration -
Submit the integration.
You can see after submitting the scheduled integration the file has moved from one Windows directory to another locally om your machine.
No comments:
Post a Comment