Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Configuration property sheet of File Transmitter is shown in the figure below.

Image RemovedImage Added
Figure 1: Sample FileTransmitter Configuration

Attributes

The table below provides description descriptions for the properties in the CPS.

Property

Description

Chunk size

Number of bytes of Numberofbytesof the source file to be sent in each packet.

Info
iconfalse
titleDefault Value:

100000

Source Directory

The directory from where the FileTransmitter picks the files to be transmitted.

Start timeout

Transmitter sends a Start packet to know the existence of receiver(s). This timeout is the time (in milliseconds) to wait before resending a Start packet.

Info
iconfalse
titleDefault Value:

30000

Packets per update

Number of packets to be sent Numberofpacketstobesent before saving the transfer state to disk.

Info
iconfalse
titleDefault Value:

100

Status on Percentage Increase

Maximum increase in percentage Maximumincreaseinpercentage completion before the FileTransmitter sends another status report.

Info
iconfalse
titleDefault Value:

50

Status on Packets Transmitted Count

Maximum increase in the Maximumincreaseinthe number of chunks sent before the FileTransmitter sends another status report.

Info
iconfalse
titleDefault Value:

1000

Status on Delay Interval

Maximum delay, in milliseconds, before the FileTransmitter sends another status report.

Info
iconfalse
titleDefault Value:

60000

Delay before retransmission

Delay, in milliseconds, after which the FileTransmitter calculates the file status from the receiver and sends retransmissions.

Info
iconfalse
titleDefault Value:

60000

The configuration can be validated using the Validate button. Note that this button doesn't does not check the existence of the source directory. Successful The successful result of the Validate operation appears as below.


Figure 2: Validating the configuration

Expert Properties

Enable the Expert Properties view to configure these properties.

Warning
 Expert properties are meant for advanced users; use with caution.

Image Added
Figure 3: Sample FileTransmitter Configuration

The table below provides descriptions for the Expert properties in CPS.

Property

Description

Pre Processing XSL Configuration

Pre Processing XSL configuration can be used to transform request message before processing it. Click the ellipses button against the property to configure the properties.

Refer to the Pre/Post Processing XSL Configuration section under the Common Configurations page for details regarding Pre Processing XSL configuration and Post Processing XSL configuration (below).

Post Processing XSL Configuration 

Post Processing XSL configuration can be used to transform the response message before sending it to the output port.

Process Message Based on Property

The property helps components to skip certain messages from processing.

Refer to the Process Message Based On a Property section under the Common Configurations page.

Threadpool Configuration

This property is used when there is a need to process messages in parallel within the component, still maintaining the sequence from the external perspective. 

Refer to the Threadpool Configuration section under the Common Configurations page.

FileTransmitter Ports

Input Ports

  • Command - Accepts the commands.
  • Acknowledgement - Receives acknowledgments from the connected FileReceiver component.

...

Send Sample.txt o destDir\
Send Sample1.txt O destDir\Sample2.txt
Send Sample1.txt destDir\subDir\Sample2.txt

 

Note
  1. [o/O] represents that the file should be overwritten.
  2. Overwrite bit and Destination directory are optional. Absence of Destination directory puts the file in the default destination directory configured in FileReceiver.
  3. In case a Transmitter is transmitting files to a Receiver present on a different type of Operating system, specifying an absolute path for the DestinationDirectory may not work. In such situations, relative path names should be specified (which is appended to the Destination directory configured in Receiver)

...

Below figure shows the event process where a FileTransmitter accepts commands from the Feeder and transmits the files to FileReceiver upon request.


Figure 34: Event process showing the File Transfer components

...

Below figure shows the sample input from the Feeder.


Figure 45: Sample input from the Feeder

...

Below figure shows the status messages sent by the FileTransmitter component.


Figure 56: Status messages sent by the FileTransmitter component

...

Requesting a report on the current state of FileTransmitter. In this scenario, 1000 send requests are being sent as shown below and then a Status command is sent as shown in the Sample Input to know the files which need data to be resent, the files that are yet to be sent and the current state of transfer (paused/in progress).


Figure 67: Information dialog box

Sample Input


Figure 78: Sample input

Sample Output


Figure 89: Sample output

Anchor
_Toc309031909
_Toc309031909
Useful Tips

...

Adaptavist ThemeBuilder EngineAtlassian Confluence