[SOLVED] xfce4 automounting problem on usb dev with utf8 encoded files

I have problem of auto mounting usb external drive contains utf8 encoded files under xfce4.
Using hal and dbus for usb device detection.
Heard that I need to add iocharset=utf8 under fstab or hal fdi configure files and tried them all but didn't work
usb devices with vfat always got mounted with default charset.
I found out that exo-mount is the one doing the actual mounting and that it is the one that cannot take all extra mounting options such as iocharset etc.
Have tried gnome to mount this hard drive and works find with nautilus option that let me set various mount options for each harddrive.
Is there any way to replace exo-mount with some other alternative mounting tools that work with thunar?
Any workaround will be helpful as long as I can mount my usb drives with prefer charset so that I don't have to guess all ???marked files.
Heard that xubuntu replaced that exo-mount with gnome-mount to handle drives with extra mount options such as iocharset.
but I am pretty new to configuring things and couldn't find the step by step instruction for this so please provide the complete solution.
Link to the pages that explain workaround would be nice as well.
Thanks in advance!
Last edited by axca (2007-10-17 18:24:50)

Found the patch for exo-mount so that it takes additional mount options HAL suggests.
https://bugzilla.altlinux.org/attachmen … ction=diff
Now my usb drive can be mounted with the proper charset.
Hope this patch helps others with similar situation as well!
Last edited by axca (2007-10-15 15:41:47)

Similar Messages

  • [SOLVED] How to automatically mount USB drives with custom mount point

    edit:
    Original title was : 'Unable to mount USB disk via /etc/rc.local', but got changed since the /etc/rc.local problem isn't relevant for me anymore.
    Hello,
    Since I am new to this forum, I'll start off with this :
    Thanks to archlinux, its founder and all its contributors, cause this is the operating system (flavour) that annoys me the least.
    The root problem :
    I want to automount USB storage devices to other places than /media/ and without the need for programs that depend on gnome and the like. As I tried some stuff with hald and such, I didn't really get to a nice and easy to configure solution. Any hints in that direction are always welcome.
    For now, automount of known USB storages devices during boot, will do.
    So the things I tried and didnt work :
    1.
    Provide the disk info to /etc/fstab (via the disks UUID and 'auto' filesystem)
    Add 'mount /mountpoint' to /etc/rc.local
    Result : the mount command in rc.local says '... specify filesystem'
    However, after boot, running /etc/rc.local mounts the USB disks correctly.
    2.
    Provide the disk info to /etc/fstab (via the disks UUID and the correct filesystem)
    Add 'mount /mountpoint' to /etc/rc.local
    Result : pc doesn't get through boot process and gives me the 'ctrl-d to reboot or root passwd for maintenance'
    3.
    Provide no disk info in /etc/fstab
    Add the full mount line to /etc/rc.local (mount -t fs /dev/disks/by-uuid/MyUUID /MyMountpoint )
    Result : don't remember the output of the mount execution, but well, it didn't mount
    However, after boot, running /etc/rc.local mounts the USB disks correctly.
    Is there something that isn't loaded at the time of rc.local execution that I need for mounting of USB devices ? Or why else is this failing ?
    Regards,
    BasiK
    Last edited by BasiK (2009-08-28 07:22:50)

    Thanks for the hint hunterthomson, but the pc I will be using it on, is an own-built HTPC/home file server, so there is no way I want to use a graphical file manager to get the usb disks mounted.
    I tried to figure out a little about udev rules, and I got to do what I wanted to do, so thx for pointing me in that direction Mr.Elendig.
    Btw, I am indeed also using auto-sleep/park disks, but this udev way works perfectly.
    I added two rules files to /etc/udev/rules.d/ :
    The first for a known usb disk (with its volume uuid), with a named mountpoint under my media dir /symbiosis/ :
    [basik@plox ~]$ cat /etc/udev/rules.d/80-usb-utopia.rules
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a",SYMLINK+="usb-%n", GROUP="storage", NAME="%k"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a",RUN+="/bin/mkdir -p /symbiosis/utopia"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /symbiosis/utopia", OPTIONS="last_rule"
    ACTION=="remove", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a", RUN+="/bin/umount -l /symbiosis/utopia", OPTIONS="last_rule"
    The second for unknown usb disks, to mount under the same dir. This is simply taken from the archwiki http://wiki.archlinux.org/index.php/Ude … .26_Tricks
    Make sure these rules are executed after the ones for specific usb disks.
    [basik@plox ~]$ cat /etc/udev/rules.d/usb-disks.rules
    KERNEL=="sd[a-z]", NAME="%k", SYMLINK+="usb%m", GROUP="storage", OPTIONS="last_rule"
    ACTION=="add", KERNEL=="sd[a-z][0-9]", SYMLINK+="usb%n", GROUP="storage", NAME="%k"
    ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mkdir -p /symbiosis/usb%n"
    ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /symbiosis/usb%n", OPTIONS="last_rule"
    ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /symbiosis/usb%n"
    ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /symbiosis/usb%n", OPTIONS="last_rule"
    These may not be the nicest looking udev rules, but it works for what I wanted to do with it.

  • Major problems using Keynote 09 with Keynote 08 files

    Keynote 09 seems to have been let out into the wild a bit too early. I have encountered several major problems when using it on older KN08 files. From the Scroll bar in outline view, to almost every movie or sound file being corrupted and requiring a "reinsert," to an annoyingly common problem with images losing their formatting. It seems that the new file format in KN09 does not play well with KN08 (this was not the case with any of the previous version upgrades).
    I have contacted Apple and shared these problems with them. I have removed KN09 from all my machines and have reverted back to KN08. Hopefully a future patch will correct this file corruption problem

    I have contacted Apple and shared these problems with them. I have removed KN09 from all my machines and have reverted back to KN08. Hopefully a future patch will correct this file corruption problem
    Your presentations sound like they are much more involved and memory intensive than mine. I only have a couple with movies/sound and those are quite short. So far (knock on wood) I've not had any of your problems. However, as a matter of course I always create a backup file before starting to edit an old important file with a new program. Keep us posted.

  • Problems exporting to PDF with AI placed files

    I have a 24 page document with placed illustrator files. When I go to export to PDF it takes hours to export. When I change all the placed images to JPG it exports fine. Anyone know why this is happening. I thought the whole point of the newer versions of InDesign was you were able to use native Adobe files.
    What are the best file types to place in InDesign?

    If would help to know versions and OS. ALWAYS tell us the version(s) of program(s) you are using, what OS, and the version of that OS. Some people overdo it with model and  speed of CPU, RAM, video card, monitor size, hard drive space, make and model of car, and shoe size. Don’t need any of that crap.

  • XML output with UTF8 Encoding scheme

    In external partner wants that we provide him an XML file with data, encoded in UTF8 format.
    Using the SQL/XML functions I can construct the XML with the structure (shcema) he asks for.
    But how can I guarantee that my XML-output is in UTF8, because our oracle database has been built in the default character set WE8ISO8859PI.
    I suppose it is not enough to add in front off my document: <?xml version="1.0" encoding="UTF8"?> ?

    Jan,
    You may want to check on metalink for WE8iso8859P1 to see if it is a subset of UTF8. There are some documents on metalink that discuss the UTF8 character set and ways to pull differenct character sets and conversion from the database depending on what is stored in the database, or changing the database character set to UTF8.
    Have you tried a test extract to see if the characters are correct?

  • Problem mounting usb stick with ISO installed on it [SOLVED]

    I'm experiencing a weird problem regarding mounting usb sticks. Archlinux stopped auto-mounting usb sticks on my machine, but only those that contains an operating system.  Empty or data usb sticks mount without problem.
    A few weeks or month ago, I don't remember exactly, still everything was all right, but due to updates(?) usb sticks won't auto mount any more.
    I have two arch partitions none of them mount usb sticks anymore with operating systems on them.
    Today, I wanted to test a new operating system and write it on my usb stick, and of course I couldn't because arch didn't mount it. Luckily, on my other partitions a few old distos are still installed – I don't use them anymore for years- I booted them up and they mounted the usb stick without problem; it seems only the up-to-date system have problem handling the usb sticks. I have two Arch system installed on two different partitions, Gnome 3 and Enlightenment, both system are up to date.
    Here are some info:
    [mak@myhost ~]$ dmesg | grep -E "sd[a-z]"
    [ 1.369732] sd 2:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/111 GiB)
    [ 1.369819] sd 2:0:0:0: [sda] Write Protect is off
    [ 1.369821] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 1.369872] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 1.369924] sd 3:0:0:0: [sdb] 625142448 512-byte logical blocks: (320 GB/298 GiB)
    [ 1.369982] sd 3:0:0:0: [sdb] Write Protect is off
    [ 1.369985] sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
    [ 1.370070] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 1.371642] sda: sda1 sda2 sda3 sda4 sda5 sda6
    [ 1.372298] sd 2:0:0:0: [sda] Attached SCSI disk
    [ 1.429438] sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8 sdb9
    [ 1.430159] sd 3:0:0:0: [sdb] Attached SCSI disk
    [ 2.244580] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.348031] systemd[1]: Expecting device dev-sdb8.device...
    [ 2.362842] EXT4-fs (sda5): re-mounted. Opts: discard,data=ordered
    [ 3.358252] Adding 2097148k swap on /dev/sdb8. Priority:-1 extents:1 across:2097148k FS
    [ 5.458907] EXT4-fs (sda5): re-mounted. Opts: discard,data=ordered,commit=0
    [ 52.120360] sd 6:0:0:0: [sdc] 15679488 512-byte logical blocks: (8.02 GB/7.47 GiB)
    [ 52.121310] sd 6:0:0:0: [sdc] Write Protect is off
    [ 52.121319] sd 6:0:0:0: [sdc] Mode Sense: 43 00 00 00
    [ 52.122191] sd 6:0:0:0: [sdc] No Caching mode page present
    [ 52.122199] sd 6:0:0:0: [sdc] Assuming drive cache: write through
    [ 52.125825] sd 6:0:0:0: [sdc] No Caching mode page present
    [ 52.125838] sd 6:0:0:0: [sdc] Assuming drive cache: write through
    [ 52.126999] sdc: sdc1 sdc2
    [ 52.131071] sd 6:0:0:0: [sdc] No Caching mode page present
    [ 52.131084] sd 6:0:0:0: [sdc] Assuming drive cache: write through
    [ 52.131093] sd 6:0:0:0: [sdc] Attached SCSI removable disk
    [mak@myhost ~]$
    [root@myhost mak]# fdisk -l
    WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
    Disk /dev/sda: 120.0 GB, 120034123776 bytes, 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: gpt
    # Start End Size Type Name
    1 2048 18431 8M BIOS boot parti BIOS boot
    2 18432 56641478 27G Linux filesyste sda2
    3 56641536 113264582 27G Linux filesyste sda3
    4 113264640 169887686 27G Linux filesyste sda4
    5 169887744 226510790 27G Linux filesyste sda5
    6 226510848 234441614 3.8G Linux filesyste Spare
    WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
    Disk /dev/sdb: 320.1 GB, 320072933376 bytes, 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: gpt
    # Start End Size Type Name
    1 2048 18431 8M BIOS boot parti Bios boot
    2 18432 54544383 26G Microsoft basic Partition 2
    3 54544384 109070335 26G Linux filesyste Partition 3
    4 109070336 163596287 26G Microsoft basic
    5 163596288 218122239 26G EFI System Partition 5
    6 218122240 272647630 26G Microsoft basic Partition 6
    7 272648192 327174143 26G Linux filesyste Partition 7
    8 327174144 331368447 2G Linux swap Swap
    9 331368448 625142414 140.1G Linux filesyste Storage
    Disk /dev/sdc: 8027 MB, 8027897856 bytes, 15679488 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0x5fadc669
    Device Boot Start End Blocks Id System
    /dev/sdc1 * 0 4040703 2020352 0 Empty
    /dev/sdc2 4036 38595 17280 ef EFI (FAT-12/16/32)
    Disk /dev/sdc1: 2068 MB, 2068840448 bytes, 4040704 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0x5fadc669
    Device Boot Start End Blocks Id System
    /dev/sdc1p1 * 0 4040703 2020352 0 Empty
    /dev/sdc1p2 4036 38595 17280 ef EFI (FAT-12/16/32)
    [root@myhost mak]#
    [root@myhost mak]# blkid -o list -c /dev/null
    device fs_type label mount point UUID
    /dev/sda1 (not mounted)
    /dev/sda2 ext4 (not mounted) 0a76a275-1798-495b-aa27-732626029de2
    /dev/sda3 ext4 (not mounted) 0e9363ef-3791-409c-8db9-393385007689
    /dev/sda4 ext4 (not mounted) 8f043c02-8b56-4689-a0ee-ed34ccc6f21f
    /dev/sda5 ext4 / 82699b0e-8fe9-41e2-be13-65c798ed8a73
    /dev/sda6 ext4 (not mounted) 3eaab6bf-2d05-4a7b-a6f7-8675e5f18723
    /dev/sdb1 (not mounted)
    /dev/sdb2 ext4 (not mounted) 17069311-9f14-4430-8298-be48194eb874
    /dev/sdb3 ext4 (not mounted) 2e3b383d-3fa7-40df-b52d-c5d07caf252e
    /dev/sdb4 ext4 (not mounted) 9d9b0656-d4ca-4efa-b6f8-1797bd4ead1f
    /dev/sdb5 ext4 (not mounted) 05abf58a-ae6e-4377-9b3d-d6bacd92226d
    /dev/sdb6 ext4 (not mounted) 8d7c6d55-dc47-471f-84f6-aae8864dfdd7
    /dev/sdb7 ext4 (not mounted) b2155741-8f88-4063-bd1b-39b210004b17
    /dev/sdb8 swap <swap> 97cf7cdf-299c-4e0d-a438-c8b79766699c
    /dev/sdb9 ext4 (not mounted) 426648fd-98f5-4fb0-9114-bdbdfea9047c
    /dev/sdc1 udf Sabayon GNOME (not mounted) 2013-07-29-13-08-13-27
    /dev/sdc2 vfat (not mounted) CF68-C2B6
    [root@myhost mak]#
    Thanks for the help.
    jmak
    Last edited by jmak (2013-08-14 00:12:54)

    cfr wrote:
    What is sdc1p? Is that another USB stick? It seems to have an equally weird partition map.
    By the way, you can't create an Arch USB bootable in EFI mode with dd. Obviously don't know about sabayon.
    EDIT: Did you dd to the disk or to a partition? What command exactly did you use? Because it almost looks as if you did something like dd once and create one thing and then dd over the top of one of the partition so you've got a partition which itself has a partition map. Not sure that's possible but it sure looks weird.
    I would wipe the key and start over.
    I don't know what is that. It is a partition on the same usb stick, it was the “dd” that made that partition automatically, I guess. When I burn images into usb, I always use this command:
    # dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx && sync
    I used this when burned Sabayon and it works perfectly.
    The problem is that Arch can't auto-mount its own installation usb either. I put the arch install usb in and I get the following output:
    [root@myhost mak]# blkid -o list -c /dev/null
    device fs_type label mount point UUID
    /dev/sda1 (not mounted)
    /dev/sda2 ext4 (not mounted) 0a76a275-1798-495b-aa27-732626029de2
    /dev/sda3 ext4 (not mounted) 0e9363ef-3791-409c-8db9-393385007689
    /dev/sda4 ext4 (not mounted) 8f043c02-8b56-4689-a0ee-ed34ccc6f21f
    /dev/sda5 ext4 / 82699b0e-8fe9-41e2-be13-65c798ed8a73
    /dev/sda6 ext4 (not mounted) 3eaab6bf-2d05-4a7b-a6f7-8675e5f18723
    /dev/sdb1 (not mounted)
    /dev/sdb2 ext4 (not mounted) 17069311-9f14-4430-8298-be48194eb874
    /dev/sdb3 ext4 (not mounted) 2e3b383d-3fa7-40df-b52d-c5d07caf252e
    /dev/sdb4 ext4 (not mounted) 9d9b0656-d4ca-4efa-b6f8-1797bd4ead1f
    /dev/sdb5 ext4 (not mounted) 05abf58a-ae6e-4377-9b3d-d6bacd92226d
    /dev/sdb6 ext4 (not mounted) 8d7c6d55-dc47-471f-84f6-aae8864dfdd7
    /dev/sdb7 ext4 (not mounted) b2155741-8f88-4063-bd1b-39b210004b17
    /dev/sdb8 swap <swap> 97cf7cdf-299c-4e0d-a438-c8b79766699c
    /dev/sdb9 ext4 /run/media/mak/426648fd-98f5-4fb0-9114-bdbdfea9047c 426648fd-98f5-4fb0-9114-bdbdfea9047c
    /dev/sdc1 iso9660 ARCH_201305 (not mounted) 2013-05-01-07-12-33-00
    [root@myhost mak]#
    It doesn't appear in nautilus side panel.
    Last edited by jmak (2013-08-13 02:44:45)

  • [SOLVED] xfce4 / Thunar problems moving files between folders

    In XFCE4 I open THUNAR file manager, I am browsing DOCUMENTS.  If I move one file from DOCUMENTS, to ../PICTURES (by dragging it),
    it will move it.  However, when I now browse PICTURES, I don't see the file I moved. Unless I click the REFRESH Icon in Thunar.
    This started happening with very recent updates.
    [UPDATE:] Solved after upgrading thunar (1.6.6-2 -> 1.6.7-1)
    Last edited by Kilzool (2015-04-21 11:16:50)

    You should report this at the upstream bug tracker. The Xfce developers are likely not reading this forum.
    I could reproduce this bug with these steps:
    1. Open two Thunar windows (Documents and Pictures folder)
    2. Move a file from one folder to the other by using drag'n'drop
    The result is that the file is moved but it is still shown in Thunar until a manual refresh.
    EDIT: This is already fixed by this commit so Thunar 1.6.7 should work fine.
    Last edited by Radioactiveman (2015-03-23 13:46:53)

  • Re: How do solve volume adjust problem on background music with voice

    I have using Captivate 6,i have facing in adjust volume on  background music with voice when drag play bar and using backward,forward buttons in preview.

    Hey there,
    And welcome to Apple Discussions.
    If your iPod, is a 30 GB model, then it is a 5th generation iPod. This information can be found here: [Identifying iPod Models|http://support.apple.com/kb/HT1353]
    There are a few ways you could go about solving this issue. The first thing is to enable Sound Check on your iPod, which can be found under *Main Menu -> Settings -> Sound Check*. Next, be sure the option is also enabled in iTunes. The setting is in iTunes preferences Playback pane. Place a check next to the box for *Sound Check*.
    Another option is to adjust the overall volume of the song in iTunes, and then sync the updated changes to your iPod. To do this, locate the song(s) in iTunes, right->click and choose *Get Info* from the menu. From there, head over to the Options tab. Move the slider up and down depending on whether you want to bring the overall volume up or down and then hit Ok when you are finished. Lastly, sync your iPod to update the changes made to the altered songs. See if that helps.
    There are also excellent 3rd party applications that can adjust the songs overall volume. One can be found [HERE|http://mp3gain.sourceforge.net>.
    Hope this helps.
    B-rock

  • [SOLVED] xfce4-terminal doesn't tab-autocomplete with sudo commands

    Wondering if this is a limitation of xfce4-terminal or something that can be enabled.
    In xfce4-terminal, if I type pac and press tab key, it autocompletes to pacman. If I type sudo pac and press tab, it won't autocomplete. The same is true when trying to complete anything after starting with sudo as the first word of the command. Paths resolve fine though after sudo, just not program names or commands.
    Fixable?
    Last edited by nLinked (2013-08-03 20:45:00)

    Thank you so much
    I went for the option to add it in my ~/.bashrc file instead of installing the bash-completion package. Rebooted and it works!

  • Problem using a library with an EAR file (ServletNotFoundException)

    Hello
    I'm trying to use a library (J2EE library project) an associated it to an Enterprise Application Project.
    The application was built using the Spring MVC framework.
    When I did deploy I got the following warning:
    Apr 25, 2006 9:44:17 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [004]Finished Deployment
    And when I try to run the application  I got the following error:
    404 Not Found
    The request cannot be processed.
    Details:   com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException: Cannot load the requested servlet [data-entryLib/servlet/data-entry].  The ID of this error is
    Exception id: [00306E5DA8D2004E00000068000052550004124234F31271].
    The application run properly when I use the jars file in the WEB-INF/lib folder.
    I have been reading some recomendations in this forum, but nobody tell me how to solve this problem
    Thanks
    Adriana.

    Hi Rajesh
    Thanks for your answer.
    Yes, I deployed the .sda file, add the jars file in the archive server/provider.xml and I checked this: (Problem with EAR referencing a library DC)
    The type of reference that I gave in the EAR file was in the archive application-j2EE-engine.xml:
    <reference
        reference-type="hard">
        <reference-target
          provider-name="sap.com"
        target-type="library">LibreriaDataEntry</reference-target>
    </reference>
    <provider-name>sap.com</provider-name>
       <fail-over-enable
       mode="disable"/>
    Thanks
    Adriana

  • Problems mounting USB thumb drives and transferring files

    My iMac 24" (10.5.4) won't recognize a USB thumb drive (even if plugged directly into computer, not hub) unless I restart. Then when I try to transfer large number of files back or forth from thumb drive, it won't complete the transfer, gets hung up.
    None of these problems with my Intel MacBook (also 10.5.4).

    You might try reformatting the usb drive using Disk Utility. Use MacOS Extended(Journaled). That might help.
    lenn

  • Problem on windows xp with downloaded zip file

    Hi,
    I have written a JSP to download file which is as follows
    try
    response.setContentType("application/download");
    response.setHeader("Content-Disposition","attachment;filename=<FileName>");
    int iRead;
    FileInputStream stream = null;
    try
    File f = new File(<FilePath>);
    stream = new FileInputStream(f);
    while ((iRead = stream.read()) != -1)
    out.write(iRead);
    out.flush();
    finally
    if (stream != null)
    stream.close();
    catch(Exception e)
    //out.println("Exception : "+e);
    After downloading zip file, could not extract files on windows XP by using any tool or built-in extractor i.e. compressed(zipped)folders (error: compressed folder invalid or corrupted).
    But this works on win2k or win98
    How can i work with it or can anyone tell me a solution to handle such a problem.
    Thanks in advance.
    Rajesh
    [email protected]

    This could be a problem with the built-in ZIP program in Win XP - it's possible that the ZIP you are downloading (uploading?) is simply incompatible with the XP program. In Win 98 & 2000, you would have to use your own ZIP program, e.g. Winzip, and that can handle more formats that the XP program.
    Try installing the same ZIP program that you have on w98/2k on your XP machine, and see if you can open the uploaded file using it.

  • Problems in Frame 1 with External HTML files

    I am having an issue with loading two external html files within
    my website.
    I have a case study page with a
    dynamic textbox and a scrollbar attached to it.
    I have another page "news" that
    contains another dynamic textbox with a scrollbar attached to
    it.
    I created two .txt files with my
    information for both pages.
    Working in Flash CS3 with
    Actionscript 2.0 at 30fps.
    My problem is this:
    I can go to my news page and the .txt file will be visible,
    but once I go to the other case study page and reveal that .txt
    file, I go back to the news page and the .txt file is no longer
    visible. Only a nonworking scrollbar is displayed with no text and
    nothing else.
    I believe I need to do something different in Frame 1's
    Actioncode. I just don't know how to get the other .txt file to
    work along with the other. I will be adding more .txt files in
    dynamic textboxes later and I really need to resolve this issue so
    I am able to add them with no problems. Appreciate anyone's help
    immediately if you can.
    Here is the temporary website link so you can test and see my
    problem. Don't forget to go the the news button first in the
    navbar. Then go to the case studies link and find the MAX Cat
    Packaging and view that .txt file, then go back and you will see my
    problem.
    Click Here to
    Visit Site

    well I made a separate layer and placed the symbol with the
    text box and scrollbar attached. That was the only thing on the
    layer as you mentioned to separate it. I don't see how I could
    separate the scrollbar from it as it is needed. So I made some
    keframes, selected the textbox inside the symbol and added the code
    you told me to add:
    caseStudyMC._visible=false; In the other frames where I
    needed it visible I added the code:
    caseStudyMC._visible=true;
    When I tested the movie. I didn't see the text but I saw the
    scroll bar still and the text still failled to appear after viewing
    the MC Case study text.
    Is the code supposed to go in Frame1? What do I do with the
    scroll bar image? I tried to Make it all disappear using the alpha
    at 0, but it still didn't work.
    thanks for all your help. hope you understand what I
    wrote.

  • Java application doesn't work with utf8 encoding in linux?

    I use Linux OS and local i18n resource file for Java internalization. Below is my source code. The Frame title can be internalized without any problem, but the button text can't be shown correctly. What is the problem with my code? It works fine in Windows XP.
    Locale locale = new Locale("zh", "CN");
              Locale.setDefault(locale);
              ResourceBundle rb = ResourceBundle.getBundle("ui/demo/i18n/ui_demo",locale);
              System.out.println(rb.getString("OK"));
              JFrame frame = new JFrame("");
              frame.setTitle(rb.getString("OK"));
              JButton button = new JButton(rb.getString("OK"));
              frame.add(button);
              frame.setSize(100, 100);
              frame.setVisible(true);

    masijade. wrote:
    What is the default encoding of the system, and what character encoding is used in the file?
    If they are both the same, no problem, if not, then you're going to have to do some converting.
    Edit: of course, I thought that Java used "?" for unknown characters. So, the "black boxes", might also, possibly, be font problems.
    Both of these are only educated guesses, don't take them as Gospel (and, in all likelyhood, they are probably both at least slightly off-base).thanks for this information. But if the problem is OS encoding, why the Frame title can be shown correctly?

  • CSV fomrat with  ANSI encoding file Crystal report

    Hi All
    We are using Business Object XI Release 2  web intelligence/Crystal report to configrure the report send to client
    if I configure Character-seperated values format for crystal report template it generate the CSV file in UTF-8 encoding
    how to generate character-seperated values format file for crystal report in ANSI encoding
    Thanks
    Rajesh Pandey

    Hi
    Bryan Thanks for your help. i am thinking to create an independent Java or C++ program to change the file from UTF-8 to ANSI char set
    and shchedule to run  to change csv file char set before mail it to client by BO
    In this design how we can get the event by BO that file has been created and yet to send by email or FTP
    I can see two type of event
    Event to Wait for
    Event to Trigger on complition
    if i create two event
    CSV_UTF8_CREATED - will be fire by BO once BO create file and yet to send email
    CSV_ANSI_CREATED - will be fire by program once it convert from UTF_8 to ANSI
    please guide if its possible to create such event and fire by BO on file creation and yet to send to destination
    Thanks
    Rajesh Pandey

Maybe you are looking for

  • Data Manager Package status Abort

    Hi Expert, I have an excel DM with three parameter, while running DM it get Abort, there is no Log details, inside the log the package status is success, but the same script i run it through UJKT, its running perfectly and its getting correct values.

  • How do I set Firefox v. 3.6.13 to automatically change paramenter so that I can see the entire width of a webpage?

    Many websites are wider than the screen. I have to use a scrollbar to move right and left to view the page. I've used Firefox forever and never had this problem until recently

  • Variable in Query

    Hi In one of my query I want to calulate the values based on price in material master (standard price & moving average price). I am getting these values in query using replacement path variables. Problem is that user want a selection for this price.

  • Loading Missing data

    Hi folks, We are with BW 3.x.  One of the Info Sources (2LIS_11_VAITM) which has sales orders information is fed from SAP R/3 through IDocs, it uses delta machanism. One day we had an issue due to password (user ALEREMOTE), the dataload to BW failed

  • View pictures that are placed in folders

    We just bought an Airport Capsule where I have stored all our pictures. I copied them from our PC, so they follow the traditional way of managing content. I have a folder for each year and then different activities in sub folders. We also have an App