30 June 2014

Taking Advantage of FTP with To-Increase Connectivity Studio

Taking Advantage of FTP with To-Increase Connectivity Studio

Taking Advantage of FTP with To-Increase Connectivity Studio

Ancient in internet years and mostly forgotten by consumers, File Transfer Protocol (FTP) is still widely used in business environments. For instance, system managers rely on FTP to move files for Electronic Data Interchange (EDI) or website integrations. By using To-Increase Connectivity Studio you can easily connect with FTP and take advantage of this technology. In today’s post, I’ll show you how.

FTP Basics

FTP is a standard network protocol to transfer files over the internet. FTP uses two channels between the client and the server: The command channel and the data channel. These channels are in fact separate TCP connections. You can run FTP in active or passive mode, which determines how the command and data connections are established.

In active mode, the FTP client establishes the command channel and the FTP server establishes the data channel. However, there is a chance that the port on the FTP client will be blocked by the firewall and no connection can be established. Passive mode solves this by establishing both channels from the FTP client. In that case, the FTP client tells the server which port should be used for the data channel. In other words, in passive mode the FTP client is more secure and the FTP server is less secure. The image below summarizes the differences between active and passive FTP modes. The passive mode is commonly used. However, Connectivity Studio supports both modes out-of-the-box.


How to Perform FTP Configuration in Connectivity Studio

In Connectivity Studio you can transfer files with FTP by using the FTP file action on the Windows folder connector.

TIP: Before you configure an FTP file action, verify that you can access the FTP server from the Application Object Server (AOS).

Follow these steps to configure a FTP file action in Connectivity Studio:

  1. Open Business Integration Solutions and connectivity Studio Connectors.
  2. Click Connector in the New group to create a new connector.
  3. Click Header view in the Show group.
  4. In the File action FastTab click New and choose FTP. This will add a FTP file action.
  5. Select In for incoming files and Out for outgoing files in the Direction field.
  6. Enter a File name in the File name field. — TIP: You can use matching patterns, for example order*.xml.
  7. Enter an FTP address or IP address in the Server field.
  8. Enter 21 in the Port field. — NOTE: Port 21 is just a convention for FTP. You can specify other port numbers as well.
  9. Enter or select a Folder in the Folder field.
  10. Select Passive or Active mode in the Type field.
  11. Enter User name and Password.

The inbound file action copies the files to the work folder and removes the file from the FTP server to avoid duplicates.


Reviewing History

After running a message you can find and verify the FTP file action in the Connectivity Studio history.


Watch this blog for more practical how-to ideas to help you in your work. If you have questions or would like to know more about Connectivity Studio, please contact us.

Talk to our expert to know more about FTP with Connectivity Studio

Pieter de Jong,
Pieter de Jong,
Business and Application Integration Specialist Pieter translates the business requirements of the industries and companies To-Increase serves into functionality in our Business Integration Solutions for Microsoft Dynamics AX. His specialized skills include model-driven development, Javascript, Java, HTML, XML, Visual Studio, and Eclipse. Before Pieter joined the team at To-Increase, he spent a career of close to 20 years as a software engineer and developer at Baan Info Systems and in other companies.

Also interesting