Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Unable to access file "C:/inetpub/vhosts/domain.tld\\prn.php" for compression  (Read 1925 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
Migration fails with error,
Code: [Select]
    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:
Code: [Select]
    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:

Resolution

Try to rename this file from command. Example:
Code: [Select]
    rename \\?\C:\inetpub\vhosts\domain.tld\httpdocs\prn.txt text.txt