#

# LogiView

## Command 'file_put'

| Use this command to copy a file from the server to the client computer.
| As problems might occur with certain operating systems, we would recommend to use the FileServer instead of this function.
| With the default setting of the server timeout and normal ISDN transfer rate in the network you can transfer files up to size of about 20 MB without any risk. But please note that the transfer time generally depends on the performance of the participating computers, on the quality of your network connections, and on the setting of the server timeout. Transmission will be cancelled, whenever the server timeout has been reached.
| ### Syntax:
| file_put({STR_EXPR},{STR_EXPR},{"/BIN"|"/ASC"})
| ### I/O parameters:
| {STR_EXPR} | server path
| {STR_EXPR} | client path
| {"/BIN"|"/ASC"} |
/BIN | copy file in binary mode
/ASC | copy file in ASCII mode
| - |
| ### Return value:
| - |
| ### Example:
| Declaration of Variables
    10 file_put("MyFile.tmp","c:\Temp\MyFile.tmp","/BIN")
| Result:
| The "MyFile.tmp" is copied from the current directory of the server to the "c:\Temp" directory of the client computer. The file is copied in binary mode.
| Functions and commands: File Interface