Migration fails with error: Unable to access file "C:/inetpub/vhosts/domain.tld\\prn.php" for compression, file doesn't exist or is currently in use

Refers to:

  • Plesk 11.0 for Windows

Created:

2016-11-16 13:15:30 UTC

Modified:

2016-12-21 20:18:12 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration fails with error: Unable to access file "C:/inetpub/vhosts/domain.tld\\prn.php" for compression, file doesn't exist or is currently in use

Symptoms

Migration fails with error:

    Unable to access file "C:/inetpub/vhosts/domain.tld\\prn.txt" for compression, file doesn't exist or is currently in use

If I try to rename this file, I got other error:

    The specified device name is invalid

Cause

Windows does not allow to create files/folders with name CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.These keywords are used by Windows internally and are reserved Keywords. Please see for more information:

http://en.wikipedia.org/wiki/Filename

Resolution

Try to rename this file from command. Example:

    rename \\\\?\\C:\\inetpub\\vhosts\\domain.tld\\httpdocs\\prn.txt text.txt
Have more questions? Submit a request
Please sign in to leave a comment.