This project is read-only.

Filename invalid - Non-Ascii based filenames

Jun 18, 2010 at 10:40 PM

Using the API, I'm getting a "Filename invalid" exception when running the following line of code:

client.PutFile("C:\\Media\\神.txt");

 

I've also tried

client.SetTextEncoding(ETextEncoding.UTF8);

client.PutFile("C:\\Media\\神.txt");

but I still get the same error. Is there another property I need to set?

 

I appreciate all the work you've done with this!

Jul 16, 2010 at 7:56 PM
Hi Brian, you are performing the correct steps. Did you check that your FTP server supports UTF8? The steps you performed are correct. Could you please provide a detailed stack trace? Does the upload work correctly using e.g. Filezilla? Cheers, Alessandro Pilotti [MVP / IIS]