JSI Tip 10143. You cannot access a WebDAV Web folder from Windows XP?

When you use a drive letter mapped to a WebDAV Web folder, you receive Disk is not formatted. When you use a UNC path, you receive \\server\webfolder\folder is not accessible. When you use the command prompt, you receive File Not Found.

This behavior will occur on any Service Pack for the 32-bit edition, or on the x64 edition, if the collective size of all file attributes in a folder exceeds 1 MB, approximately 1,000 bytes per file.

I have scripted WebDAVlimit.bat to alter the maximum number of files that can be stored in a WebDAV Web folder.

The syntax for using WebDAVlimit.bat is:

WebDAVlimit NumberOfFiles

Where NumberOfFiles ranges between 1000 and 999999.

WebDAVlimit.bat contains:

@echo off
setlocal
if \{%1\}

\{\} goto ERR if \{%1\}

\{0\} goto ERR set OK=%1 call :quiet>nul 2>&1 if "%OK%" NEQ "%numb%" goto ERR set /a numb=%1 if %numb% LSS 1000 goto ERR if %numb% GTR 999999 goto ERR set /a numb=%numb% * 1000 @echo reg add HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters /V FileAttributesLimitInBytes /T REG_DWORD /F /D %numb% reg add HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters /V FileAttributesLimitInBytes /T REG_DWORD /F /D %numb% net stop webclient net start webclient endlocal goto :EOF :ERR @echo Syntax: WebDAVlimit FileLimit (1000 - 999999). endlocal goto :EOF :quiet set /a numb=%OK%



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish