Back to Top

Windows friendly file names

7 posts / 0 new
Last post
kamtsa1
Offline
Last seen: 10 years 5 months ago
Joined: 02/13/2011 - 03:23
Windows friendly file names

With the Armstrong and Getty 910 feed DC store file names that have pathes like this one

d:\doggCatcher\EpisodeEnclosures\55\Armstrong_and_Getty_012511_H2_1295971961_4175.QUERYARGS.CPROG=PCAST&MARKET=SANFRANCISCO-CA&NG_FORMAT=&SITE_ID=664&STATION_ID=KNEW-AM&PCAST_AUTHOR=910AM&PCAST_CAT=News__26_Politics&PCAST_TITLE=Armstrong_and_Getty_via_910_AM.mp3

when using the phone as a Windows USB disk.

These paths are invalid in windows (too long per http://msdn.microsoft.com/en-us/library/aa365247(v=vs.85).aspx#maxpath ) which causes my scripts to fail.

Will it be possible to make the file paths more Windows friendly?

FunkTrooper
Offline
Last seen: 3 days 6 hours ago
Joined: 01/02/2010 - 08:11
It's not DoggCatcher that's

It's not DoggCatcher that's to blame for making that filename so ridiculously long. DoggCatcher stores the audio files using the same name that the server provides. Normally, the names are very short. But this one.... wow, I've never seen a filename like that before. It's like a URL's query string... but with a .mp3 extension. If you ask me, that's a mistake on the part of the publisher of that podcast. I'd pester them and get them to fix it. (Or pester Microsoft to fix that absurd path length limit, but in reality, they won't do anything)

I suppose DoggCatcher could provide an option to trim the length of filenames which are excessively long....

eric
Offline
Last seen: 1 year 6 months ago
Joined: 11/06/2008 - 22:02
Filenames

It's just as funktrooper says. I've got an issue to let users customize the filenames but it hasn't happened because DC figures out if the file has already been downloaded based on the filename provided by the publisher. If I change the filenames that DC uses then it will make everyone's existing files appear missing.

Thanks for posting.

kamtsa1
Offline
Last seen: 10 years 5 months ago
Joined: 02/13/2011 - 03:23
Eric, if you worry about the

Eric, if you worry about the transition period (you can warn user when enabling this feature), you can lookup the file by both the long name and the new name.

@FunkTrooper, it is not about blaming, it is about making thing work ;-)

JNavas
Offline
Last seen: 9 years 4 months ago
Joined: 11/08/2010 - 10:59
Use short file names

It's a matter of responsibility, not blame, and this is an issue for which DC is not responsible. The direct solution is to use 8.3 short file name aliases, for which there are tools in Windows, including scripting tools and command-line tools (e.g., "dir /x").

FunkTrooper
Offline
Last seen: 3 days 6 hours ago
Joined: 01/02/2010 - 08:11
the 8.3 trick

I had no idea you could enter the folder names in 8.3 format to get around that silly length restriction. thanks for the tip, that's much appreciated :)

sam63
Offline
Last seen: 7 years 9 months ago
Joined: 01/24/2014 - 04:16
Long Path Tool

For such problems, you can use long path tool, it really works good.