Hi, Here are piece of code
// Sess HttpSessionState pSession = context.Session; String zUnique = (String)pSession.SessionID+"_"+DateTime.Now.Ticks.ToString(); imageObj pImg = pMap.draw(); //I'm generating swf files String zImageName = "carto_"+zUnique+".swf"; pImg.save(@"/srv/www/tmp/"+zImageName, null); ... I'm generating one swf file by layer The first layer file is created in the tmp directory with teh good name the others ones are created but in the site directory with a truncated filename. After that the site get down regards Xavier -----Message d'origine----- De : Szekeres Tamás [mailto:[EMAIL PROTECTED] Envoyé : mardi 2 mai 2006 11:38 À : [EMAIL PROTECTED] Cc : [email protected] Objet : Re: Mapserver image filename length Hi, I can see a 128 byte limitation for the filename length for swf, and the current implementation is not safe for multithreading that may be changed in the future. Are you using back slashes in your filename. Do you have any additional error messages? Could you post a code fragment to reproduce this issue? Best Regards Tamas Szekeres On Tue, 2 May 2006 10:08:47 +0200, Xavier Mauclaire <[EMAIL PROTECTED]> wrote: > >HI >I'm developping a mapscript web server under .net and Mono. I generate swf >files using ming library and i had the folowing problem with image filename. > > >the output filename prfix is defined as String zUnique = >(String)pSession.SessionID+"_"+DateTime.Now.Ticks.ToString(); > > which is about 60 cars long > >Under .net all works fine but under linux files are not welle created and >more the site get down (oups !!) > >I'd like to know if this limit est due to Mono or Mapscript and if limit >there is which is its value > >regards > > > ____________________________________________________________________________ ___ A legjobb akciós utazások oldala, ahol most rengeteg nyeremény vár Rád: http://ad.adverticum.net/b/cl,1,6022,99401,161631/click.prm __________ Information NOD32 1.1516 (20060501) __________ Ce message a ete verifie par NOD32 Antivirus System. http://www.nod32.com
