# LogiView

## Command 'file_get'

| Use this command to copy a file form the client computer to the server.
| As problems have been reported with this function concerning the transfer of larger files and depending on certain AIX operating systems, we 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. With certain AIX versions, the maximum file size was limited to about ~ 80 KB. 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_get({STR_EXPR},{STR_EXPR},{"/BIN"|"/ASC"})
| ### I/O parameters:
| {STR_EXPR} | client path
| {STR_EXPR} | server path
| {"/BIN"|"/ASC"} |
/BIN | copy file in binary mode.
/ASC | copy file in ASCII mode.
| - |
| ### Return value:
| - |
| ### Example:
| Declaration of Variables
    10 file_get("c:\Temp\MyFile.tmp","MyFile.tmp","/BIN")
| Result:
| A copy of the "MyFile.tmp" file in the client computer directory "c:\Temp" is copied to the current server. Since no server path has been specified, the file is copied to the current directory on the server. The file is copied in binary mode.
| Functions and commands: File Interface