a „oeŪć @sąddlZddlZdd„Ze ”Ze ed”dZe ed”dZeeeƒe edƒZ e   dd”e   ”e eddƒZ e   d d”e   ”e ed dƒZ e   d d”e   ”d ed eZ ejeeee dejdddS)éNc Cs$t|ƒt||||||||ƒtjS)N)ŚprintŚ win32fileZPROGRESS_CONTINUE) Z TotalFileSizeZTotalBytesTransferredZ StreamSizeZStreamBytesTransferredZ StreamNumberZCallbackReasonZ SourceFileZDestinationFileŚData©rś7C:\Program Files\Certbot\pkgs\win32\Demos\CopyFileEx.pyŚProgressRoutines ų rZcfeŚwzxxxxxxxxxxxxxxxx i€z :stream_yzyyyyyyyyyyyyyyyy z :stream_zzzzzzzzzzzzzzzzzz zCopying z to F)rZCancelZ CopyFlagsZ Transaction)Zwin32apirrZ GetTempPathZtemp_dirZGetTempFileNameŚfsrcŚfdstrŚopenŚfŚwriteŚcloseZoperation_descZ CopyFileExZCOPY_FILE_RESTARTABLErrrrŚs2  ł