This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- FileService copyFile failing
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2012
02:01 AM
FileService copyFile failing
The copyFile method of FileService fails if the path contains space.
"; severity = 0>
at com.installshield.wizard.platform.win32.Win32FileServiceImpl.win32CopyFile
at com.installshield.wizard.platform.win32.Win32FileServiceImpl.copyFile<127>
Do we have a workaround or any documentation on this?
I am using IA 2009127>
at com.installshield.wizard.platform.win32.Win32FileServiceImpl.win32CopyFile
at com.installshield.wizard.platform.win32.Win32FileServiceImpl.copyFile<127>
Do we have a workaround or any documentation on this?
I am using IA 2009127>
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2012
10:32 PM
Anybody can help?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2012
01:50 AM
Can you share some light in what you're attempting to do? Thanks!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2012
08:39 AM
I am trying to copy few files using this service. The paths of source and destination that I pass as an argument to this method contain spaces.
For e.g,
Source => C:\Program Files(86)\Some Name With Space\filename.img
Destination =>C:\Program Files(86)\Some Other Name With Space\filename.img
When I try this it is not able to copy and fails with the mentioned error, but if i pass names without spaces then it succeeds.
Below is the code,
FileService fservice = (FileService) ip.getService(FileService.class);
fservice.copyFile(sourceFile, destinationFile, true);
For e.g,
Source => C:\Program Files(86)\Some Name With Space\filename.img
Destination =>C:\Program Files(86)\Some Other Name With Space\filename.img
When I try this it is not able to copy and fails with the mentioned error, but if i pass names without spaces then it succeeds.
Below is the code,
FileService fservice = (FileService) ip.getService(FileService.class);
fservice.copyFile(sourceFile, destinationFile, true);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2012
02:14 PM
Hi Vlad, let me know if you want me to elaborate more.
Anybody has any clue on this?
Anybody has any clue on this?