Table Of Contents

Transferring Files from Disk to the Server

Last Modified: April 2, 2019

Send files stored on disk from a client to the server to save, process, or enable access for others.

What to Use

You can find the SystemLink File Transfer and Configuration APIs on the Data Communication palette in LabVIEW.

  • Open Configuration
  • Send

What to Do

On the client, create the following diagram in a VI to send files from disk to the server.

Customize the gray sections for your unique programming goals.

Open Configuration initiates a connection to the file service on the SystemLink server.
Send uses the path you specify to locate the local file you want to upload. It then reads and transmits the data of the file in packets to the file service. The file service then creates the file on the server and writes the packets to the file.


  • If your client disconnects during a file transfer, you need to abort the file transfer and wait for the server to automatically delete the partial file transfer. After the server deletes the partial file transfer, initiate a new file transfer.

    If a partial file transfer does not progress within an hour, the server automatically treats it as an abandoned transfer and deletes it.

  • If your system has unreliable network connections or slow transfer rates, you may need to adjust the packet size for the file transfer. Decrease the packet size input of Send File to a smaller number to prevent timeouts.

    A smaller packet size means more packets are sent, which increases the total time required to transfer the file because more roundtrips must occur between the server and client.

  • If your file transfer times out because your file is large or from memory, use Send Packet to send different packet sizes during the file transfer and to manage when to transfer a packet.
  • If no data is available to send within the one-hour timeout period for file transfers, use Send Packet to send a zero-byte packet to keep the file transfer active.


Search within the programming environment to access the following installed example:
  • Sync File IO

Recently Viewed Topics