CTX113480
Receiver
Receiver for Windows
Connectivity
2016-04-15
2005-06-06
This article provides resolution to Error: Cannot copy (file name):Invalid MS-DOS Function... when using Drive Mapping and Files Larger than 2 GB.

Symptoms or Error

There is a size limitation when copying files from a client mapped drive to the server or vice versa. You might receive the following error message:

"Error: Cannot copy (file name):Invalid MS-DOS Function."


Solution

There is a client-side change to make use of the full 32-bit offset so the application server can at least support 0xFFFFFFFF = 4,294,967,295 bytes. The _llseek API now uses ULONG.

Clients that include change #164259, first introduced with Client/Plug-in/Receiver version 10.150 and later, have the improvement in both client-to-server and server-to-client communication.

Even with the newer client, the application server is now limited to 32-bit offsets with CDM. Therefore, the maximum transferable file size is 4 GB.


Problem Cause

The issue is caused by limitations in the Client Drive Mapping (CDM) as well the Application Programming Interfaces (APIs) used.
For a file write, the application server passes a 32-bit offset. (0xFFFFFFFF).

However, even with that on the client side, the application server uses the _llseek API, which takes LONG (not ULONG) as a parameter. Therefore, the application server is limited to 0x7FFFFFFF = 2,147,483,647 bytes of space. Anything larger than this (>=0x80000000) will pose a problem.


Additional Resources


Applicable Products


 

Join the conversation

Citrix Discussions

Open a case

Citrix Support

特别说明


本文来源为Citrix.com所有,翻译后版权归翻译者所有.如需转载请注明出处.

文档版本


.

广告招租


最新留言


.

广告招租


.