DtvLong dal_gfi_get_fil (cli, srv)

Copies an ASCII or binary file from the client to the server.

Input Parameters Significance
char *cli client file name
char *srv server file name [0 = client file name]

Output Parameters Significance
none -

Return Code Significance
0 all ok
sonst IPC return code from <ipcerr.h>
-1 no graphical interface initialized
-2 RPC buffer overrun
-3 error while opening the server file

The maximum record width allowed for the ASCII-file to be transmitted is 256 characters.

In order to transmit binary files the binary mode can be set via dal_gfi_bin_fil prior to calling dal_gfi_put_fil. After the transmission the system is always automatically reset to ASCII mode.

Empty files (size of 0 bytes)are never copied.

Note! 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.