Ftp encoding issues with different user accounts

Discuss Mac, Windows, Linux, Unix platform specific issues

Ftp encoding issues with different user accounts

Postby Tech Support » Thu Sep 28, 2006 9:19 am

User Support Request:

First, I started the scheduler with a start-script in /etc/init.d, so the java process was running with user root.

<script>

cd /opt/Hitek7

java -Xrs -cp .:help:jh.jar:mail.jar:activation.jar:net.jar:jakoro.jar:maverick-all.jar:bsh.jar:hitek7.jar com.hitek.engine.Engine &

The problem was that root’s language setting was set to POSIX and files transferred with FTP had wrong filenames (äöü).

Next I installed iso8859-15 locales to the system, added a new user with the home directory as the installation directory of jasftp. Now I start the scheduler still from init but the script makes a “change user”.

<script>

su - ftpadmin -c "java -Xrs -cp .:help:jh.jar:mail.jar:activation.jar:net.jar:jakoro.jar:maverick-all.jar:bsh.jar:hitek7.jar com.hitek.engine.Engine &"

Now it is working. But is this the correct way? Have you any best practices, tipps, howtos about encoding-problems.
Tech Support
Site Admin
 
Posts: 1276
Joined: Thu May 25, 2006 11:12 am

Postby Tech Support » Thu Sep 28, 2006 9:20 am

Unfortunately we have no experience with encoding problems on linux and different user accounts. However, your email on this topic will be usefull to other users and I have added your message to our forum. Hopefully, someone with more expertise on linux will answer this.
Tech Support
Site Admin
 
Posts: 1276
Joined: Thu May 25, 2006 11:12 am

Postby melvin » Thu Oct 05, 2006 8:52 am

Actually, I think this issue could be due to the unresolved Ftp profile encoding bug. We have fixed this issue in 7.15 to be released by Oct 8th.

So, update to 7.15 when it is released. Then in your Ftp profile, Connection tab, select UTF-8 for the encoding.
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california


Return to Platform specific issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron