---
title: "How to change the default Initial download size on FKM plug-in View File function?"
description: "The default initial download size on the FKM plug-in View File function controls how much data is retrieved initially. You can change this size by creating a custom command with a specified download size in the XML configuration."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004019985-geneos-how-to-change-the-default-initial-download-size-on-fkm-plug-in-view-file-function/index.html"
---
You can create a custom command and you can set the download size:

![Screenshot](https://docscdn.itrsgroup.com/faq/images/geneos/115004019985-inline-1-mceclip0.png)

An example of the xml is here:

```
<command name="View File v2">
<targets>
<target>/geneos/gateway[(@name=&quot;GATEWAY_9370&quot;)]/directory/probe[(@name=&quot;NP64 LAWIN 6370&quot;)]/managedEntity[(@name=&quot;LAWIN&quot;)]/sampler[(@name=&quot;FKM&quot;)][(@type=&quot;&quot;)]/dataview[(@name=&quot;FKM&quot;)]/rows/row[(@name=&quot;/sbox/home/rgonzales/scripts/fkm.log&quot;)]/cell[(@column=&quot;status&quot;)]</target>
</targets>
<task>
<commands>
<commandRef>
<internalCommand>
<name>/PLUGIN:FKM:viewFile</name>
</internalCommand>
<stopOnError>true</stopOnError>
</commandRef>
</commands>
<args>
<arg>
<targetArgs>
<targetArg>
<commandNumber>1</commandNumber>
<argNumber>2</argNumber>
</targetArg>
</targetArgs>
<userInput>
<description>File Size</description>
<integer>10</integer>
</userInput>
</arg>
</args>
</task>
</command>
```


