Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1139

January 18th, 2012 00:00

Fail to download file if filename with German char (e.g. ä)

Hi all,

I used AtmosFox to upload a file with filename has German char (e.g. ä).

it's ok to upload but fail to get metadata or download the file.

I also tried to use java api to download but it failed too.

is Atmos support other charset?

Thanks.

281 Posts

January 19th, 2012 08:00

Hi Justy,

You can always check the version of an Atmos system by calling getServiceInformation().  Atmosonline is running 1.3.4.

I found the Unicode path encoding error was because Java's URI.toURL() wasn't encoding paths correctly.  I made a fix and uploaded a new beta 2.0.0.b01 Java package, please download and try it: http://code.google.com/p/atmos-java/downloads/list

281 Posts

January 18th, 2012 07:00

Hi Justy,

What version of Atmos are you connecting to?  Is this a public provider like AT&T or private Atmos?  There have been a couple issues in the past with Unicode filenames that have been resolved.  Also, when using the Java API, you should use EsuRestApiApache for the best Unicode support.  The built-in Java HTTP classes used by the regular EsuRestApi have their own issues with certain characters.

3 Posts

January 18th, 2012 23:00

Thanks Jason.

After I do some more test, I found that It's working with python wrapper so it's not ATMOS server's problem.

it should be the problem of Java wrapper (using 1.4.0,29) AtmosFox and Simple Object Browser problem.

Tested EsuRestApiApache with same problem.

BTW, I'm not sure what's the version. I'm using accesspoint.atmosonline.com.

3 Posts

January 19th, 2012 19:00

Thanks again Jason. I tested the 2.0.0.b01 and it's working great.

No Events found!

Top