*---------------------------------------------------------------------------------
* UT 02/2008 Borislav Borissov Trouver un nom valide pour enregister le compagnyName
FUNCTION ValidFolderName(lcFolderName)
LOCAL lcBadChars
lcBadChars = [\/:*?"<>|] && Add all chars you want to remove here
lcFolderName = CHRTRAN(lcFolderName,lcBadChars,[])
DO WHILE AT([ ], lcFolderName) # 0 && Remove all double spaces
lcFolderName = STRTRAN(lcFolderName,[ ],[ ])
ENDDO
DO WHILE AT([ ], lcFolderName) # 0 && Remove all double spaces
lcFolderName = STRTRAN(lcFolderName,[ ],[_])
ENDDO
RETURN lcFolderName
But i have still a problem ....:)
"Residence" is not the same that "Résidence" !
What is the caracters not allowed in IE ?
Aie !
What can i do ?
bernhart
>>Borislav,
>>
>>I have still a strange problem.
>>
>>I send a fich on Ftp server. ( it is really on FTP server )
>>
>>
>>www.LesBouleaux.com/Amline/73255388-Résidence A La Belle Fleur/20080203_161138_DATA2_03_11.zip
>>
>>It becomes in internet explorer
>>
>>http://www.lesbouleaux.com/Amline/73255388-Résidence%20A%20La%20Belle%20Fleur/20080203_161138_DATA2_03_11.zip
>>
>>
>>What happend ?
>>
>>Good evening
>>
>>
>>bernhart
>
>%20 is code for CHR(32) - space. That is how HTTP works.
>As Naomi said you could use underscore to replace spaces.