SciLor's Open Source Forums
http://forum.scilor.com/

Error: System.IO.PathTooLongException
http://forum.scilor.com/viewtopic.php?f=54&t=812
Page 1 of 1

Author:  hiperix [ Fri Aug 05, 2011 8:40 pm ]
Post subject:  Error: System.IO.PathTooLongException

I found a small bug: "Error: System.IO.PathTooLongException - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.".

I think it wold be easy to check the length of the path before creating the file, and if is too long, shorten (and enumerate the files).

If you want, I can submit the code patch.

Edit:
I've added the debug logs

Attachments:
SciLorsGroovesharkApi.log [232.03 KiB]
Downloaded 860 times
SciLorsGrooveDownloader.log [3.15 KiB]
Downloaded 837 times

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/