---
url: >-
  /flow/guide/scripting-reference/classes/file-connection/filecon.sendviatransport.md
---

# FileCon.SendViaTransport

## Declaration

`property SendViaTransport: boolean;`

### Example

```pascal
procedure OnMapEvent(var Value:Variant);
begin
Dest.FileCon.SendViaTransport := False;
end;
```

## Description

Returns True if the file is anticipating being sent by a transport. This will be True by default for all cases where Dest is a File Definition.

By setting this property to False you can prevent a file sent by a transport, even if there is one configured for the active trading partner against this file connection.
