### FTP Image Logging

To use the FTP Step, you need an FTP server set up on an external device. Omron Microscan recommends using the FileZilla FTP server. Install FileZilla on the repository PC and then continue below.

Precautions for Correct Use: Omron Microscan recommends adding your FTP server as an exception to your system's firewall.

Enter any name you choose, and click Finish. This should allow FileZilla server through the windows firewall.

To configure the FileZilla server after install, click the Edit menu item, then Settings:

Be sure the Listen On These Ports is set to 21. If you don’t plan to not use the Connect Every Cycle option, No Transfer Timeout must be set to 0. Make these changes, then click OK.

Now click IP Bindings and set the IP addresses to which you want to bind this server:

Now configure the users. Click Edit, then Users, then Add:

Click OK, then click on the Password checkbox and add a password for this user.

Now click Shared Folders, then Add. Browse for the folders to give this user access to, then click OK.

As with the Digital Outputs and the String Format Tool, FTP image transfer is available under the Inspection Outputs Tool.

This feature is disabled by default. If you open the editor and click the Enable button, an FTP Output step will be added after the Digital Output steps.

The Input Buffer datum of the FTP Output step is automatically connected to the output buffer. You do not need to make this connection. The editor provides all the settings required to configure the FTP connection.

##### FTP Server

These are the settings required to make a successful connection to the remote FTP server:

- IP Address: The IP address of the FTP server.
- Port: The network port to use. Default is FTP standard 21.
- User Name: The user name for server login.
- Password: The password for server login.
- Path On Server: The path of the destination. The default is \microscan.

##### Transfer Options

These options control when an image is transferred to the server.

- Send Image Condition: Sets the condition that determines whether an image will be transferred or not at the end of a cycle. Default is Every Cycle, but you can also choose to send images only on an inspection failure or pass. There is also a Never option that can be used to disable FTP transfer entirely.

- FTP Rate: Sets the maximum frequency at which images can be transferred. This can be used to prevent an excessive number of image transfers.

- Connect Every Cycle?: By default, a connection is made to the FTP server every time the inspection is started, and disconnected every time the inspection is stopped. If this option is checked, then a connection is made to the server at the start of each cycle, and disconnected after the FTP transfer is complete. Every cycle will include a connect, send, and disconnect.

##### File Options

- Base File Name: The file name for the destination file. The default is the symbolic name for the inspection and buffer. For example, Insp1.Snapshot1. This will be appended with a date/time stamp when running from a PC, or a timestamp that represents time since boot when running on a camera.
  Note 1: If you do not want the TimeStamp to be appended to the file name, precede the file name with an !
  Example: !MyfileName
  Note 2: If you are using a color camera, this name will be appended with -xx8-RawBayerData, where xx is either RG, GR, GB, or BG, depending on the camera type. This will save an 8-bit monochrome Bayer pattern image. Appending this string allows the loading of the image back into the software for viewing in color.

- File Type: .tif or .bmp.

Once fully configured, the editor will look similar to this: