Skip to content Skip to sidebar Skip to footer

Implement Timeout In Windows Filecopy

I want to copy a list of files on windows using python. When doing that manually, I see timeouts in some files, therefore the copy process fails. I need a way to implement the time

Solution 1:

Instead of CopyFile, use CopyFileEx which provides an interface that supports cancellation.


Post a Comment for "Implement Timeout In Windows Filecopy"