Unable to Transfer Large Files Using WebDAV

Updated Oct 7, 2022

Reported In

Software

  • LabVIEW

Issue Details

I am using WebDAV to transfer large file (greater than 50MB), however the session fails. How can I transfer large file using WebDAV?

Solution

Following are the solutions -

1. Increasing Transfer Limit -

The default maximum file size that you can transfer to Windows 7 using the WebDAV is 50MB. If you try to transfer a file larger than this, you may see: Error 0x800700DF: The file size exceeds the limit allowed and cannot be saved.You can transfer files larger than this by editing the registry key in Windows. Modify the following Registry Entry in bytes:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
DWORD: FileSizeLimitInBytes 
Default is 50000000 bytes.

Attention: Do not edit the Windows registry unless you are confident about doing so. For safety reasons, its recommended to have a backup of the registry.


2. Use FTP to Transfer Files

Alternatively, you could use the FTP(which is being deprecated). To understand more about using the FTP refer to knowledge base How Can I Use LabVIEW to FTP Files to and from My Real-Time Target?  or the search of inbuilt examples using the NI Example Finder .

Additional Information

For more information using the WebDAV refer to Using WebDAV to Transfer Files to Real-Time Target .