Copy file from directory to another directory
I need to copy a file from a directory to another directory, but that file is longer than 2M.
I put the data into a array of bytes and then i passed to a destination directory.
Now i'm using a BufferedOutputStream but, as i have a file whith 2M, and this dont work.
How can i resolve this problem.
Thanks, Luis
I use This, and it works with all kinds of files. I use it for backups with thousands of files and subdirectories.
you can use this like "copyFiles("D:\\Source", "D:\\Destination")
The two directories in the parameter list must exist. Subdirectories will be generated from the method.
I hope this will help you.
private void copyFiles(String fromPath, String toPath)
// copies all files and it�s subdirectories from fromPath to toPath
// fromPath and toPath must exist
if (fromPath != null)
File dir = new File(fromPath);
if (dir.exists() && dir.isDirectory())
File [] fileList = dir.listFiles();
int count = fileList.length;
int i = 0;
while (i < count)
File f = fileList;
i++;
if (f.isFile())
String toFile = toPath + File.separator + f.getName();
copyFile(f.getPath(), toFile);
else
if (f.isDirectory())
File newPath = new File(toPath + File.separator + f.getName());
newPath.mkdirs();
copyFiles(f.getPath(), newPath.getPath());
}// while (i < count
}// if (dir.exists() && dir.isDirectory())
}// if (fromPath != null)
}// copyFiles(String fromPath, String toPath)
private void copyFile(String src, String dest)
// Copies a single File with date and time attributes
long fileTime;
try
FileChannel in = new FileInputStream(src).getChannel();
FileChannel out = new FileOutputStream(dest).getChannel();
File inInfo = new File(src);
fileTime = inInfo.lastModified();
in.transferTo(0, in.size(), out);
in.close();
out.close();
File outInfo = new File(dest);
outInfo.setLastModified(fileTime);
} catch (IOException ioe)
System.out.println("An error occured: " + ioe.getMessage());
Similar Messages
-
How to copy file from server to another machine in network through JSP
Hello!
any body can solve my problem.
i m working in JSP. i want to copy a file from server on which JSP engine is running to another computer in the same network.
i used Java File Object to copy file from one machine to another in network. and its working fine on network. but the problem is when i used the same code in web page there is exception which is Access is Denied. what i should do now.
i m writing the code i m using in my JSP page
String fileToCopy = "C:/oracle/Apache/Apache/htdocs/FAO/FAO_MiddleFrame.jsp";
String destinationDir = "\\\\af09\\c";
File source = new File(fileToCopy);
String fileName1 = source.getName();
if ((!destinationDir.endsWith("\\")) && (!destinationDir.endsWith("/"))) {
destinationDir = destinationDir + "\\";
File destination = new File(destinationDir + fileName1);
if (!destination.exists()) {
if (!destination.createNewFile()) {
//throw new IOException("Unable to create file. May be you don't have permissions.");
byte[] buffer = new byte[1024];
FileInputStream in = new FileInputStream(source);
FileOutputStream outStream = new FileOutputStream(destination);
int bytesRead = 0;
while ((bytesRead = in.read(buffer)) != -1) {
outStream.write(buffer, 0, bytesRead);
out.println("File copied successfully ....");
plz reply me as soon as possible.
i will be very thankful
SaadThats the way it works. Cause servlet contaner doesnot allow other machines in the network to access other than machine which it came from as in case of applets. What you can do is if the other machine is also based on webserver or app server .. you can upload the file as it gets to that page do the process.
I would like to hear more on my comments..
Suggestions ??
Ban -
How to copy files from TC to another TC with ethernet
Hello. I bought a new 3 TB Time Capsule and I need to transfer almost 2 TB in files from my old Time Capsule. Using wireless says it will take more than a week... is there any other option? maybe ethernet? or do you know a faster way to do that? I've searched over the web and found some people talking about ethernet but they didn't explain.
thanksThe copy is always via the computer.. so you want to plug the old TC into the new one by ethernet.. wireless off on the old TC..
Plug the computer into the new TC, wireless off on the computer.
Now copy the files.. this will not be fast due to the double handling of the files, but it will better than wireless by 3-5days. -
Hi, i just want if there is exist any way to disable, turn off, block usb transfer on ipad3 to avoid copy files from ipad to another dispositive?
Any idea?Use an MDM to put the device in supervisory mode. This mean you can only copy via USB to the device that put the device in supervisory mode.
See all the complaints by teachers with Supervised mode on their ipad:
https://discussions.apple.com/message/22153837#22153837
The question would have been better in:
https://discussions.apple.com/community/ipad/ipad_in_the_enterprise
MDM -- moble device management
MDMs
Airwatch, Meraki, MobileIron, Profile Manager on OS X Server, or Zenprise
For a comparison see this page:
http://www.enterpriseios.com/wiki/Comparison_MDM_Providers
Airwatch
http://www.air-watch.com/
Meraki -- A free MDM [ expect lots of email and phone calls about upgrades ]
http://www.meraki.com/products/systems-manager/
https://discussions.apple.com/thread/4067210?tstart=0
Good howto by Sergio Sosa.
https://discussions.apple.com/thread/2594001?start=15&tstart=0
MobileIron
http://www.mobileiron.com/
Profile Manager by Apple
Zenprise
http://www.zenprise.com/ -
Can't copy file from SAP-directory to FTP server
Hello,
I can't copy files from the SAP server to the FTP server. The file is created with OPEN DATASET and CLOSE DATASET commands and is placed in the SAP-directory S:\usr\sap\DEV\DVEBMBGS00\work.
I can see and read the file with transaction al11, so I know it's there.
But the FTP command always gives the same error:
S:\usr\sap\DEV\DVEBMBGS00\work\[FILENAME] errno 22: invalid argument
I can connect to the FTP, but the put command keeps failing. Somehow, the file in the SAP directory can't be read, it seems, even when
Any ideas?
Thanks in advance.
DaveOk, I found out that I have to use SAPFTPA as RFC destination type, instead of SAPFTP, otherwise the folders can't be located.
But with SAPFTPA I can't seem to connect to the FTP server. I've tested the connection with sm59 and it works, but for the FTP it doesn't work. When I use SAPFTP as destination type, it still works.
What can I do?
Thanks. -
How to delete a READ ONLY file from Directory
Hi Friends,
how to delete a READ ONLY file from Directory , file is in my system only.
Please help me .
note: its read only file.
Thank you.
Karthik.hI,
try with this statement.
delete dataset <datasetname>.
this will definitely work.
Regards,
Nagaraj -
Read file from directory, update contents of the each file
hai,
I could not understand how to debug the error i have now.
target
1- read the files from directory // i able ot do this part
2- for each file
for each file read the content & compare with the existing List & update the list // i able to do this part
when i try to combine both parts , i got some following error
run:
E:\java\check\100130.ixf
Error: children[i] (The system cannot find the file specified)
BUILD SUCCESSFUL (total time: 2 seconds)
i can see from the code that children[i] only gives the error when i use that in the second part of the code.
can any one help me on this??
Thanks
Priyan
the original code
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.io.RandomAccessFile;
import java.util.ArrayList;
public class CompareList
public static void main(String[] args){
ArrayList a1 = new ArrayList();
ArrayList a2 = new ArrayList();
a1.add("1");
a1.add("2");
a1.add("3");
a1.add("4");
a1.add("5");
a1.add("6");
a1.add("7");
a1.add("8");
a1.add("9");
a1.add("10");
a1.add("11");
a1.add("12");
a1.add("13");
a1.add("14");
a1.add("15");
a1.add("16");
a1.add("17");
a1.add("18");
a1.add("19");
a1.add("20");
a1.add("21");
a1.add("22");
a1.add("23");
a1.add("24");
a1.add("25");
a1.add("26");
a1.add("27");
a1.add("28");
a1.add("29");
a1.add("30");
a1.add("31");
a1.add("32");
a1.add("33");
a1.add("34");
a1.add("35");
a1.add("36");
a1.add("37");
a1.add("38");
a1.add("39");
a1.add("40");
a1.add("41");
a1.add("42");
a1.add("43");
a1.add("44");
a1.add("45");
a1.add("46");
a1.add("47");
a1.add("48");
a1.add("49");
a1.add("50");
a1.add("51");
a1.add("52");
try{
File dir = new File("E:\\java\\check");
File[] children = dir.listFiles();
if (children == null) {
System.out.println("does not exist or is not a directory");
else {
for (int i = 0; i < children.length; i++) {
System.out.println( children);
FileInputStream fstream = new FileInputStream("children[i]");
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
while ((strLine = br.readLine()) != null) {
String line =strLine.substring(0,2);
// Print the content on the console
//System.out.println(line);
a2.add(line);
} // end of add list2
if (a1.size() > a2.size())
int k = 0;
for (int l = 0; l < a2.size(); l++)
if (!((String)a1.get(l)).equals((String)a2.get(l)))
//System.out.println((String)a2.get(i));
// System.out.println("dd");
k = l;
k++;
for (int l = k; l < a1.size(); l++)
System.out.println((String)a1.get(l));
String str = "children[l]";
File file = new File(str);
RandomAccessFile rand = new RandomAccessFile(file,"rw");
rand.seek(file.length()); //Seek to end of file
rand.writeBytes((String)a1.get(i)); //Write end of file
rand.writeBytes("., 0.");
rand.writeBytes("\n");
}// end of comparing and updating the list2
in.close();
catch (Exception e){//Catch exception if any
System.err.println("Error: " + e.getMessage());thanks for the information.
i tried, the error
like this
run:
E:\java\check\100130.ixf
java.lang.StringIndexOutOfBoundsException: String index out of range: 2
at java.lang.String.substring(String.java:1935)
at CompareList.main(CompareList.java:84)
BUILD SUCCESSFUL (total time: 0 seconds)this comes because in my code i used children[i] as string in the later part
else {
for (int i = 0; i < children.length; i++) {
System.out.println( children);
FileInputStream fstream = new FileInputStream(children[i]);
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
while ((strLine = br.readLine()) != null) {
String line =strLine.substring(0,2);
a2.add(line);
System.out.println(line);
} // end of add list2
if (a1.size() > a2.size())
int k = 0;
for (int l = 0; l < a2.size(); l++)
if (!((String)a1.get(l)).equals((String)a2.get(l)))
//System.out.println((String)a2.get(i));
// System.out.println("dd");
k = l;
k++;
for (int l = k; l < a1.size(); l++)
System.out.println((String)a1.get(l));
String str = "children[l]";
File file = new File(str);
RandomAccessFile rand = new RandomAccessFile(file,"rw");
rand.seek(file.length()); //Seek to end of file
rand.writeBytes((String)a1.get(i)); //Write end of file
rand.writeBytes("., 0.");
rand.writeBytes("\n");
rand.close();
}// end of comparing and updating the list2
in.close();
i stil could not figure out it yet. do u have any clue with this. -
How can i copy files from one external hard disk to another using macbook pro with retina display
How can i copy files from one external hard drive to another using macbook pro with retina display?
That's odd - if you open Disk Utility (Applications->Utilities) and select the disk(s), how are they formatted? If you're only going to be used with your Mac, they should be formatted as "Mac OS Extended (Journaled)".
Clinton -
How do you copy files from one user to another
How do you copy files from one user to another user on the same machine?
open your home folder in finder move file to public, log into other account, click the go tab on the finder menu, select computer, your hard drive (Macintosh HD Default)>Users, the origonal user> public and drag that file to your specified folder.
hope it works
Craig. -
Copying files from one workstation to another only works in one direction
I could copy files from my workstation to another workstation but could not copy files from that workstation to my workstation. There are 2 Cisco switches between these workstations.
I found out that one switch had its workstation ports hard coded to 100Mbps but the uplink ports (on both switches) were set to auto (the uplinks were 1 Gbps ports). This caused the copy problem. Once the w/s ports were set to auto, the problem
went away. I'm just wondering if anyone else has had this problem but found that the solution was something different than what I found?
William FearnI don't think that is possible, to platform specific. You'll need to make the directories accessible without password protection, or use another way of copying the files, such as FTP. There are multiple FTP packages available for java, such as:
http://jakarta.apache.org/commons/net/
(of course that would require setting up some sort of FTP server) -
HOW TO READ MULTIPLE FILES FROM DIRECTORY
i have a directory with 100 .sql insert scripts.i want to read all .sql files from directory and execute the insert script automatically.
Let's suppose you have 3 files: "first.sql", "second.sql" and "third.sql". Create a file named "all.sql" in the same directory, containing this:
@@first.sql
@@second.sql
@@third.sqlRun "all.sql". -
CPU Jul-09 Installation - Error Cannot copy file from 'libjox10.so' to
Hi All, I received this error while I was installing the last CPU on a 10.2.0.4 Oracle Instance running on a HP-UX Itanium System:
Patch 8568398:
Copy Action: Desctination File "/u02/app/oracle/product/10.2/Db_1/lib/libjox10.so" is not writeable.
'oracle.rdbms, 10.2.0.4.0': Cannot copy file from 'libjox10.so' to '/u02/app/oracle/product/10.2/Db_1/lib/libjox10.so'
I checked metalink' site with no similar results found.
Could anybody help me?
Should I run /usr/sbin/slibclean and remove the last patch (Patch 8568398) and then try again?
This is the complete log...
$ opatch version
Invoking OPatch 10.2.0.4.7
OPatch Version: 10.2.0.4.7
OPatch succeeded.
$ sqlplus /nolog
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jul 17 16:29:29 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> conn / as sysdba
Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
$ lsnrctl stop
LSNRCTL for HPUX: Version 10.2.0.4.0 - Production on 17-JUL-2009 16:32:29
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Hostname)(PORT=1521)))
The command completed successfully
$ emctl stop dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://hostname:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
... Stopped.
$unzip p8534387_10204_HPUX-IA64.zip
<...>
$ cd 8534387
$ opatch napply -skip_subset -skip_duplicate
Invoking OPatch 10.2.0.4.7
Oracle Interim Patch Installer version 10.2.0.4.7
Copyright (c) 2009, Oracle Corporation. All rights reserved.
UTIL session
Oracle Home : /u02/app/oracle/product/10.2/Db_1
Central Inventory : /u02/app/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.4.7
OUI version : 10.2.0.4.0
OUI location : /u02/app/oracle/product/10.2/Db_1/oui
Log file location : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch2 009-07-17_16-38-05PM.log
Patch history file: /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch_ history.txt
Invoking utility "napply"
Checking conflict among patches...
Checking if Oracle Home has components required by patches...
Checking skip_duplicate
Checking skip_subset
Checking conflicts against Oracle Home...
OPatch continues with these patches: 7155248 7155249 7155250 7155251 7155252 7155253 7155254 7197583 7375611 7375613 7375617 7609057 7609058 8309587 8309592 8309623 8309632 8309637 8309642 8534387 8568395 8568397 8568398 8568402 8568404 8568405
Do you want to proceed? y
y
User Responded with: Y
Running prerequisite checks...
Prerequisite check "CheckApplicable" failed.
The details are:
Patch 8568398:
Copy Action: Desctination File "/u02/app/oracle/product/10.2/Db_1/lib/libjox10.so" is not writeable.
'oracle.rdbms, 10.2.0.4.0': Cannot copy file from 'libjox10.so' to '/u02/app/oracle/product/10.2/Db_1/lib/libjox10.so'
UtilSession failed: Prerequisite check "CheckApplicable" failed.
$ opatch lsinventory -detail
Invoking OPatch 10.2.0.4.7
Oracle Interim Patch Installer version 10.2.0.4.7
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /u02/app/oracle/product/10.2/Db_1
Central Inventory : /u02/app/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.4.7
OUI version : 10.2.0.4.0
OUI location : /u02/app/oracle/product/10.2/Db_1/oui
Log file location : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch2009-07-17_17-53-30PM.log
Patch history file: /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/lsinv/lsinventory2009-07-17_17-53-30PM.txt
Installed Top-level Products (2):
Oracle Database 10g 10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0
There are 2 products installed in this Oracle Home.
Installed Products (190):
Agent Required Support Files 10.2.0.1.0
Agent Required Support Files Patch 10.2.0.4.0
Assistant Common Files 10.2.0.1.0
Assistant Common Files Patch 10.2.0.4.0
Bali Share 1.1.18.0.0
Buildtools Common Files 10.2.0.1.0
Character Set Migration Utility 10.2.0.1.0
Character Set Migration Utility Patch 10.2.0.4.0
Database Configuration and Upgrade Assistants 10.2.0.1.0
Database Configuration and Upgrade Assistants Patch 10.2.0.4.0
Database SQL Scripts 10.2.0.1.0
Database SQL Scripts Patch 10.2.0.4.0
Database Workspace Manager 10.2.0.1.0
Database Workspace Manager 10.2.0.4.0
DBJAVA Required Support Files 10.2.0.1.0
DBJAVA Required Support Files Patch 10.2.0.4.0
Enterprise Edition Options 10.2.0.1.0
Enterprise Manager Agent Core 10.2.0.1.0
Enterprise Manager Agent Core Patch 10.2.0.4.0a
Enterprise Manager Agent DB 10.2.0.1.0
Enterprise Manager Agent DB 10.2.0.4.0
Enterprise Manager Baseline 10.2.0.1.0
Enterprise Manager Baseline 10.2.0.4.0
Enterprise Manager Common Core Patch 10.2.0.4.0a
Enterprise Manager Common Files 10.2.0.1.0
Enterprise Manager Minimal Integration 10.2.0.1.0
Enterprise Manager plugin Common Files 10.2.0.1.0
Enterprise Manager plugin Common Files 10.2.0.1.0
Enterprise Manager plugin Common Files Patch 10.2.0.4.0
Enterprise Manager Repository Core 10.2.0.1.0
Enterprise Manager Repository Core patch 10.2.0.4.0a
Enterprise Manager Repository DB 10.2.0.1.0
Enterprise Manager Repository DB 10.2.0.4.0
Generic Connectivity Common Files 10.2.0.1.0
Generic Connectivity Common Files Patch 10.2.0.4.0
HAS Common Files 10.2.0.1.0
HAS Common Files Patch 10.2.0.4.0
HAS Files for DB 10.2.0.1.0
HAS Files for DB Patch 10.2.0.4.0
Installation Common Files 10.2.0.1.0
Installation Common Files Patch 10.2.0.4.0
Installer SDK Component 10.2.0.4.0
iSQL*Plus 10.2.0.1.0
iSQL*Plus 10.2.0.4.0
Java Runtime Environment 1.4.2.14.0
JDBC Common Files 10.2.0.1.0
JDBC Common Files 10.2.0.4.0
LDAP Required Support Files 10.2.0.1.0
LDAP Required Support Files Patch 10.2.0.4.0
OLAP SQL Scripts 10.2.0.1.0
OLAP SQL Scripts Patch 10.2.0.4.0
Oracle Advanced Security 10.2.0.1.0
Oracle Advanced Security Patch 10.2.0.4.0
Oracle Call Interface (OCI) 10.2.0.1.0
Oracle Call Interface (OCI) Patch 10.2.0.4.0
Oracle Clusterware RDBMS Files 10.2.0.1.0
Oracle Clusterware RDBMS Files Patch 10.2.0.4.0
Oracle Code Editor 1.2.1.0.0I
Oracle Configuration Manager 10.2.7.1.0
Oracle Containers for Java 10.2.0.1.0
Oracle Containers for Java 10.2.0.4.0
Oracle Core Required Support Files 10.2.0.1.0
Oracle Core Required Support Files Patch 10.2.0.4.0
Oracle Data Mining RDBMS Files 10.2.0.1.0
Oracle Data Mining RDBMS Files Patch 10.2.0.4.0
Oracle Database 10g 10.2.0.1.0
Oracle Database 10g 10.2.0.1.0
Oracle Database 10G 32 bit 10.1.0.2.0
Oracle Database 10g interMedia Files 10.2.0.1.0
Oracle Database 10g interMedia Files Patch 10.2.0.4.0
Oracle Database 10g Patch 10.2.0.4.0
Oracle Database 10g Patch 10.2.0.4.0
Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0
Oracle Database User Interface 2.2.13.0.0
Oracle Database Utilities 10.2.0.1.0
Oracle Database Utilities Patch 10.2.0.4.0
Oracle Display Fonts 9.0.2.0.0
Oracle Enterprise Manager Console DB 10.2.0.1.0
Oracle Enterprise Manager Console DB 10.2.0.4.0
Oracle Extended Windowing Toolkit 3.4.38.0.0
Oracle Globalization Support 10.2.0.1.0
Oracle Globalization Support Patch 10.2.0.4.0
Oracle Help For Java 4.2.6.1.0
Oracle Help for the Web 1.1.10.0.0
Oracle Ice Browser 5.2.3.6.0
Oracle interMedia 10.2.0.1.0
Oracle interMedia Annotator 10.2.0.1.0
Oracle interMedia Client Option 10.2.0.1.0
Oracle interMedia Client Option Patch 10.2.0.4.0
Oracle interMedia Java Advanced Imaging 10.2.0.1.0
Oracle interMedia Java Advanced Imaging Patch 10.2.0.4.0
Oracle interMedia Locator 10.2.0.1.0
Oracle interMedia Locator Patch 10.2.0.4.0
Oracle interMedia Locator RDBMS Files 10.2.0.1.0
Oracle interMedia Locator RDBMS Files Patch 10.2.0.4.0
Oracle interMedia Patch 10.2.0.4.0
Oracle Internet Directory Client 10.2.0.1.0
Oracle Internet Directory Client Patch 10.2.0.4.0
Oracle Java Client 10.2.0.1.0
Oracle Java Client Patch 10.2.0.4.0
Oracle JDBC Thin Driver for JDK 1.2 10.2.0.1.0
Oracle JDBC Thin Driver for JDK 1.2 Patch 10.2.0.4.0
Oracle JDBC Thin Driver for JDK 1.4 10.2.0.1.0
Oracle JDBC Thin Driver for JDK 1.4 Patch 10.2.0.4.0
Oracle JDBC/OCI Instant Client 10.2.0.1.0
Oracle JDBC/OCI Instant Client Patch 10.2.0.4.0
Oracle JFC Extended Windowing Toolkit 4.2.33.0.0
Oracle JVM 10.2.0.1.0
Oracle JVM Patch 10.2.0.4.0
Oracle LDAP administration 10.2.0.1.0
Oracle LDAP administration patch 10.2.0.4.0
Oracle Locale Builder 10.2.0.1.0
Oracle Message Gateway Common Files 10.2.0.1.0
Oracle Message Gateway Common Files Patch 10.2.0.4.0
Oracle Net 10.2.0.1.0
Oracle Net Listener 10.2.0.1.0
Oracle Net Listener Patch 10.2.0.4.0
Oracle Net Patch 10.2.0.4.0
Oracle Net Required Support Files 10.2.0.1.0
Oracle Net Required Support Files Patch 10.2.0.4.0
Oracle Net Services 10.2.0.1.0
Oracle Notification Service 9.0.4.0.0
Oracle Notification Service Patch 10.2.0.4.0
Oracle OLAP 10.2.0.1.0
Oracle OLAP API 10.2.0.1.0
Oracle OLAP API Patch 10.2.0.4.0
Oracle OLAP Patch 10.2.0.4.0
Oracle OLAP RDBMS Files 10.2.0.1.0
Oracle OLAP RDBMS Files Patch 10.2.0.4.0
Oracle One-Off Patch Installer 10.2.0.4.0
Oracle Partitioning 10.2.0.1.0
Oracle Partitioning Patch 10.2.0.4.0
Oracle Programmer 10.2.0.1.0
Oracle RAC Required Support Files-HAS 10.2.0.1.0
Oracle RAC Required Support Files-HAS Patch 10.2.0.4.0
Oracle Real Application Testing 10.2.0.4.0
Oracle Recovery Manager 10.2.0.1.0
Oracle Recovery Manager Patch 10.2.0.4.0
Oracle Required Support Files 32 bit 10.2.0.0.0
Oracle Required Support Files 32 bit Patch 10.2.0.4.0
Oracle Spatial 10.2.0.1.0
Oracle Starter Database 10.2.0.1.0
Oracle Starter Database Patch 10.2.0.4.0
Oracle Text 10.2.0.1.0
Oracle Text Patch 10.2.0.4.0
Oracle UIX 2.1.22.0.0
Oracle Universal Installer 10.2.0.4.0
Oracle Wallet Manager 10.2.0.1.0
Oracle Wallet Manager Patch 10.2.0.4.0
Oracle XML Development Kit 10.2.0.1.0
Oracle XML Development Kit Patch 10.2.0.4.0
Parser Generator Required Support Files 10.2.0.1.0
Perl Interpreter 5.8.3.0.1
Perl Interpreter Patch 5.8.3.0.1a
PL/SQL 10.2.0.1.0
PL/SQL 10.2.0.4.0
PL/SQL Embedded Gateway 10.2.0.1.0
PL/SQL Embedded Gateway Patch 10.2.0.4.0
Platform Required Support Files 10.2.0.1.0
Platform Required Support Files 10.2.0.4.0
Precompiler Common Files 10.2.0.1.0
Precompiler Common Files Patch 10.2.0.4.0
Precompiler Required Support Files 10.2.0.1.0
Precompiler Required Support Files Patch 10.2.0.4.0
RDBMS Required Support Files 10.2.0.1.0
RDBMS Required Support Files for Instant Client 10.2.0.1.0
RDBMS Required Support Files for Instant Client Patch 10.2.0.4.0
RDBMS Required Support Files Patch 10.2.0.4.0
regexp 2.1.9.0.0
Required Support Files 10.2.0.1.0
Sample Schema Data 10.2.0.1.0
Sample Schema Data Patch 10.2.0.4.0
Secure Socket Layer 10.2.0.1.0
Secure Socket Layer Patch 10.2.0.4.0
SQL*Plus 10.2.0.1.0
SQL*Plus 10.2.0.4.0
SQL*Plus Required Support Files 10.2.0.1.0
SQL*Plus Required Support Files Patch 10.2.0.4.0
SQLJ Runtime 10.2.0.1.0
SQLJ Runtime Patch 10.2.0.4.0
SSL Required Support Files for InstantClient 10.2.0.1.0
SSL Required Support Files for InstantClient Patch 10.2.0.4.0
Sun JDK 1.4.2.17.0
Sun JDK extensions 9.2.0.1.0
XDK Required Support Files 10.2.0.1.0
XDK Required Support Files Patch 10.2.0.4.0
XML Parser for Java 10.2.0.1.0
XML Parser for Java Patch 10.2.0.4.0
XML Parser for Oracle JVM 10.2.0.1.0
XML Parser for Oracle JVM Patch 10.2.0.4.0
There are 190 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
OPatch succeeded.
$
$ more /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch_history.txt
Date & Time : Fri Jul 17 16:02:17 GMT-03:00 2009
Oracle Home : /u02/app/oracle/product/10.2/Db_1
OPatch Ver. : 10.2.0.4.7
Current Dir : /u02/app/oracle/product/10.2/Db_1
Command : -v
Log File : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch2009-07-17_16-02-17PM.log
Date & Time : Fri Jul 17 16:38:05 GMT-03:00 2009
Oracle Home : /u02/app/oracle/product/10.2/Db_1
OPatch Ver. : 10.2.0.4.7
Current Dir : /home/ora10g/8534387
Command : napply -skip_subset -skip_duplicate
Log File : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch2009-07-17_16-38-05PM.log
Date & Time : Fri Jul 17 17:53:30 GMT-03:00 2009
Oracle Home : /u02/app/oracle/product/10.2/Db_1
OPatch Ver. : 10.2.0.4.7
Current Dir : /home/ora10g/8534387
Command : lsinventory -detail
Log File : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch2009-07-17_17-53-30PM.log
$
Please let me know if you need more info.
Regards, and thanks in advance!
MartinYou were right. It was a permissions issue:
hostname:/root# ls -ltr /u02/app/oracle/product/10.2/Db_1/lib/libjox10.so
-r-xr-xr-x 1 ora10g oinstall 20041728 Apr 23 2008 /u02/app/oracle/product/10.2/Db_1/lib/libjox10.so
Thanks.
damorgan wrote:
"is not writeable." means one of two things.
1. It does not exist.
2. Permissions are not set correctly.
Determining which it is ... that is the first step. -
Problem copying file from MacOSX 10.6.7 to WindosXP shared folder
Hello Group,
I recently switched to mac os and I need to frequently copy files from mac to Windows XP shared network folder. I am getting following error
Quote:
One or more items can’t be copied to “destfolder(in WinXP)” because you don’t have permission to read them. Do you want to copy the items you are allowed to read?
These are the steps I followed:
-> Finder-> Go to server-> SMB: Windows XP IP
-> Open the destination folder in WIndows system
-> Copy files from mac system to Windows system connected as per above steps
I am struggling to copy files. ANy help would really be appreciated.
regards,
RBYou mount the remote windows directory and copy files conveniently.
mount -t cifs -o username=<win user>,password=<win pwd> //winserver/dir /winserver/dir
where <win user> : Remote Windows Login Id
<win pwd>: Windows login pwd
//winserver/dir : Remote windows server and directory, you would like to access. You need to share it before mounting in MAC.
/winserver/dir : Local diectory. You need to create it before mounting.
Let me know if you need more info -
HI
i have to copy file from/to dynamic directory .
in utl_file and dbms_trasfer_file I have to create directory before copy the file ,
there is a way to copy file from and to dynamic directory ?This implies you opening up database server file system which is a HUGE security violation. You will have to grant read/write permission on all database server files. You can't do that using CREATE DIRECTORY, so you will have to set initialization parameter UTL_FILE_DIR=*. Then you can use UTL_FILE package. Or you could use Java. For example, Java File Handler. But again, it is a huge security gap.
SY. -
tell me please when i copy files from downloads it will be a new file with new capacity? i mean if a file is 2 mb, when i copy it it will be new 2mb ?
If you copy it to another folder, e.g., Documents, and you can see it in the Downloads folder then you now have two copies of the file. If you delete one copy, the other stays intact. If you keep both, there is no harm, although the amount of disk space used is twice as big as when you only keep one copy.
Maybe you are looking for
-
I just bought an HP Laserjet 5000N to make printing plates. A friend bought the HP 5000 and used a parallel to UBS cable to connect directly to her printer but she thinks her cable is interferring with running her jobs (too slow a memory). I don't
-
Also I need ndiswrapper support for solaris 10
I have a linksys -G type router and my computer uses a Linksys Wireless-G PCI Adapter with SpeedBooster which works in Linux like mandrake , debian systems like knoppix and kanotix but their are some buggy like debian also that don't let me change th
-
Adobe Camera Raw 8.4 release candidiate and unreadable menus
I have downloaded Camaera Raw 8.4 CC to allow me to see my Fuji XT-1 files. I use Mac OSX 10.92 and Photoshop CC subcription. Once I open a raw file from the camera the options panel goes black and all the menu names disappear leaving just the slider
-
Issue in generic data source creation in BW
Hello all, I am trying to create Data source in BW through TABLE,this time I am getting error messae..... ...."Invalid extract structure template YECMCRDAT of DataSource YECMCRDAT" Message no. R8359 Diagnosis You tried to generate an extract structur
-
When Will Photoshop Elements 12 support Raw files from Nikon D3300
i have just got my Nikon d3300 and now want to edit and clean my images , but cannot find any information about when photoshop elements 12 will be able to do this , any help people.