En Tue, 13 May 2008 18:06:13 -0300, <[EMAIL PROTECTED]> escribió:

On May 13, 3:49 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] writes:
> I have trouble of obtaining the file size of a file because the
> fullpath exceeds 255 characters. I get this message with

WindowsError: [Error 206] The filename or extension is too long: '\\\\?
\\UNC\\LOSSSFS002\\NWE_TECHNICAL\\05. UK\\Schiehallion (204_25a)\
\Amos&Burke_P559\\07. Technical (Subsurface)\\06. Well Planning\\Amos\
\Daily Reports\\Wireline\\final_204_25a_8z\\204_25a_8z\\Run_1A\
\HRLA_SP_DSI_PEX_HNGS_ECRD\\ANCILLARY\\Amos_204_25a-8Z_GR_to_surface_3-
Mar-2008_DSI_HRLA_TLD_MCFL_047PUC.las'

In addition to starting with \\?\UNC\, the path has to be an Unicode string, and already normalized (that is, it cannot contain . nor .. components)

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to