hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ftp encoding issues with different user accounts

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Platform specific issues
View previous topic :: View next topic  
Author Message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Sep 28, 2006 9:19 am    Post subject: Ftp encoding issues with different user accounts Reply with quote

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.
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Sep 28, 2006 9:20 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Thu Oct 05, 2006 8:52 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Platform specific issues All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group