USing FTP to load ISO files
dear community memebers,
i am using VMware to try oracle VM. i was using FTP to upload an ISO File of enterprise linux through the VM manager console, my problem is that the speed is too low since the system is using the internet to upload the file to the vmware server.
I know it might not be related to oracle VM but i thought that may be someone have faced the same problem
Alison,
you said we can download ISO files into Oracle vm server. how we can download ISO files. I couldn't see any browser(IE or FIREFOX) in my environment.
my virtural environment is followings;
I installed oracle vm server on vmware workstation 6.
I am following oracle instructions "Installing and Configuring Oracle Enterprise Linux 5 with Oracle Database 11g Release 1 as a Paravirtualized Machine (PVM) on an Oracle VM Server"
after installation of vm server, how we can import oracle linux 5 iso files..
would you help me?
thanks
Similar Messages
-
Using sqlldr to load XML files and the file name ? or access the file name
I can use sqlldr to load the XML files when I declare the target table of XMLTYPE, but I need to load the filename and a sequence also with the XML in a table so we can mark wether the file passed validation or not.
something like ....
Create table test1
lobfn varchar(200),
load_number number,
XML_COL XMLTYPE
--------------- here is my sqlldr command
sqlldr xml_user/xml_user load_test1.ctl
LOAD DATA
INFILE *
INTO TABLE test1
append
xmltype(XML_COL)
lobfn FILLER char TERMINATED by ',',
XML_COL LOBFILE(lobfn) TERMINATED BY EOF
BEGINDATA
filename1.xml
filename2.xml
filename64.xml
sqlldr comes back and says "commit point reached - logical record count 64
but when I select count(*) from test1; it returns 0 rows.
and when I
SELECT X.* FROM tst1 P2,
XMLTable ( '//XMLRoot//APPLICATION'
PASSING P2.XML_COL
COLUMNS
"LASTNAME" CHAR(31) PATH 'LASTNAME',
"FIRSTNAME" CHAR(31) PATH 'FIRSTNAME'
) AS X;
It tells me invalid identifier ,
Do I need to use a function to get the XML_COL as a object_value ???
But when I create the table like
create table test1 of XMLTYPE;
and use sqlldr it works, but I dont have the file name, or dont know how to access it ??
and I can use
SELECT X.* FROM tst1 P2,
XMLTable ( '//XMLRoot//APPLICATION'
PASSING P2.object_value
COLUMNS
"LASTNAME" CHAR(31) PATH 'LASTNAME',
"FIRSTNAME" CHAR(31) PATH 'FIRSTNAME'
) AS X;BTW
Here's a trivial example of what you appear to be trying to do..
C:\xdb\otn\sqlLoader>sqlplus scott/tiger @createTable
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Aug 2 22:08:10 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> DROP TABLE TEST_TABLE
2 /
Table dropped.
SQL> CREATE TABLE TEST_TABLE
2 (
3 filename VARCHAR2(32),
4 file_content xmltype
5 )
6 /
Table created.
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
C:\xdb\otn\sqlLoader>type sqlldr.ctl
LOAD DATA
INFILE 'filelist.txt'
INTO TABLE TEST_TABLE
FIELDS TERMINATED BY ','
FILENAME CHAR(32),
FILE_CONTENT LOBFILE(FILENAME) TERMINATED BY EOF
C:\xdb\otn\sqlLoader>type filelist.txt
testcase1.xml
testcase2.xml
C:\xdb\otn\sqlLoader>type testcase1.xml
<foo/>
C:\xdb\otn\sqlLoader>type testcase1.xml
<foo/>
C:\xdb\otn\sqlLoader>sqlldr userid=SCOTT/TIGER control=sqlldr.ctl log=sqlldr.log -direct
SQL*Loader: Release 10.2.0.2.0 - Production on Wed Aug 2 22:08:11 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Load completed - logical record count 2.
C:\xdb\otn\sqlLoader>sqlplus scott/tiger
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Aug 2 22:08:18 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from TEST_TABLE
2 /
FILENAME
FILE_CONTENT
testcase1.xml
<foo/>
testcase2.xml
<baa/>
SQL>
If you are interested in the 11g beta program please contact me directory at
markDOTdrakeAToracleDOTcom -
Using ftp to upload a file to Content Database
Hi Experts,
I am looking to upload the file to the Content DB using FTP.
Can any one let me know if there is any API for doing this and also if there any way to upload the attributes(META data) after uploading the file using FTP.
I have a tried already uploading the file using web services API now looking for FTP Upload.
Thanks
AhamedA quick search at google reveals there are plenty of FTP libraries available for the various mainstream programming languages (Java, C, C++ etc).
However, FTP has a very basic command set. (MKDIR, GET, PUT, DEL etc).
So you are not going to be able to perform more advanced document management tasks (such as lock a document, check-in, check-out, modify metadata, modify security, search, sort etc) through standard FTP commands.
In terms of setting metadata through FTP, you could potentially store the various processing instructions required in some type of XML file (or equivalent) and upload this XML file to the repository. A custom event handler could be created that listens for DOCUMENT_CREATED events, and then attempts to process the XML files and perform the various instructions contained within by calling the appropriate in-process Content DB FDK API.
It's ugly, but possible.
cheers
Matt. -
Loaded .iso file, big mistake?
As I was out of blank media/no large enough flash drive, I loaded an .iso file into my 'notes' folder and now I cannot get my ipod to sync up and open with iTunes, or play/access any files. When I go into the 'Notes' folder or try to access a song/podcast, the ipod freezes. Is there anything I can do short of going to an Apple store?
Try resetting it while it is connected to your computer and see if Windows recognizes it. If you can see it in Device Manager right click on it, select Disk Management and then format.
If you don't want to attempt this make a Genius Bar appointment. -
Using importTextData to load text files
I have been having a real issue trying to load data from text files (tab delimited text file) into my form.
It works fine if I use importTextData() with no parameters and it prompts for the file name, then the row, but if I try and pass the path and row it comes back with a -2 result "User Cancelled Row Select".
My path is formatted as so: "/C/temp/importfile.txt"
It has to do with the path somehow... otherwise my file would not load properly when browsed.
And before people let me know I can import my information via an XML file, yes I know, but for this task, is not an option.
The end goal is to have a fixed drop-down on the form and depending on which item they select, Acrobat will load a text file into various controls.
I have attached my sample if someone wants to take a look.
Any help people can give is greatly appreciated.
PaulMy example was not very good. I replaced it with a new (see attached).
Previously I found my problem to be the header row in the text file was not formatted properly. ie. rather than have "task" as the column header it had to be frmProgressCard[0].frmTasks[0].tblTasks[0].rowTask[0].task[0]
That does not work any longer.
I save all the work in LiveCycle as Adobe Dynamic XML Form and then open it in Acrobat Pro to test, but still will not load my data. Returns with "invalid row" error.
So I think the problem is that first row that is suppose to link up with the text fields in the form, but I can't seem to find the proper format.
The help file only says to put in the field names, ie. "task", but that does not work.
Thanks
Paul -
Getting remote file using FTP Server Issue in OSB
Hi Guys,
I have configured a FTP server on my local system and I created a proxy service to get file from ftp location to some other location but it fails . I used ftp protocol for getting file
and my ftp location is D:\host\ftp and it has another folder called osb . I used ftp as protocol and EndPointURI is ftp://localhost/. It fails to get files and shows error message like
com.bea.wli.sb.transports.TransportException: <user:osb>Unable to list files for
directory: .
at com.bea.wli.sb.transports.ftp.connector.FTPWorkPartitioningAgent.exec
ute(FTPWorkPartitioningAgent.java:218)
In case of Business Service, writing a file to ftp location (i.e ftp://localhost/ means D:\host\ftp\osb) working.
I used service account for both proxy,BS to connect . osb is username and same as password.
Can Any one please suggest me How to solve this issue?
Thanks,
Srinivas.
Edited by: 863597 on May 22, 2012 1:06 AMHi Vijay Thank you,
Can we do the pooling directly using FTP protocol like JMS protocol in OSB with out using FTP JCA Adapter.I did in such a way but it fails. For pooling files the mentioned endpoint uri is as ftp://localhost/ and it actual path is D:\host\ftp and ftp has another folder called osb here i have to get the files from this osb Can any one suggest me if there is any problem with the ftp protocol end point.
Thank You,
Srinivas. -
How to load jar files from remote location
Hi all,
I am trying to load jar files from remote server, from a servlet which is running on OC4j.
For doing this,First I am getting ClassLoader by using ClassLoader.getSystemClassLoader() and then type casting it to URLClassLoader.
But by doing it I am getting ClassCastException,because oc4j returns oracle.classloader.PolicyClassLoader instead of java.net.ClassLoader.
Appreciate if anyone can tell me how to load remote jar files using oracle.classloader.PolicyClassLoader .
Thanks
HarishHi,
I suppose you know about this, but just in case.
I have used jnpl to load jar files from remote location.
Rowan -
How to burn a .iso file to a DVD
i want to burn a windows 7 home premium.iso file to a DVD but i have only an imac at home and no windows computer , what software should i use to burn an .iso file to a DVD in an imac?
I would use Burn from app store
it's free -
Hi,
I�m trying to load a file through ftp using the folowing code:
File file = new File("ftp//user:password@serever/directory/doc.txt");
but it doesn?t work.
Can you help me?
Thanks.Here is the code I am using.
import sun.net.ftp.*;
FtpClient client = new FtpClient();
client.openServer("Your IP Address");
client.login("user", "password");
InputStream inputStream = client.get("theFileName");
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
String line;
do
line = reader.readLine();
} while (line != null); -
Using a .iso File for Installing Windows
Before you get any ideas- I DID purchase Windows legally. The disk wouldn't work/load in my computer for some odd reason, but I wrote a .iso file of it, and that seems to work.
I can't find a way to use a .iso in Boot Camp Assistant. I burned a disc out of the .iso, but I can't find "Start Installation." Assistance? Thanks so much!From earlier thread:
We had to download a free iso burning program for Mac (we used SimplyBurns Mac). That program runs you through the necessary steps to properly burn the iso file you need. After doing so, Bootcamp recognized the installation file and everything worked as it should.
https://discussions.apple.com/thread/3410900?start=45&tstart=0
http://simplyburns.en.softonic.com/mac -
Files with .a extension using ftp transport
Hi.
Am using ftp adapter in osb to read .txt files(e.g. abcd.txt) from ftp location, process the body/text() in OSB and then place the incoming file to an outbound folder.
the flow is like ftp-> Proxy Service->Business Service->outbound ftp
the service works fine where then is less load or the no. of incoming files is less.
However,sometimes the outbound folder contains the files with .a extension at the end.(e.g. abcd.txt.a)
Can someone tell me the rootcause of these .a file creation and the scenarios in which the .a files are created.
Also,please tell me what are these .a files meant for?
How,can I eliminate this while configuring the services using ftp transport.
Thanks in adavanceI had this recently with a variety of FTP servers, FileZilla, Microsoft etc.
For me, it happened when the file already exists in the destination and I was expecting the destination file to be overwritten. My application would generate the same filename, say FileA.txt and expect that to be overwritten, but with OSB 10gR3 I would get files with .a stuck on the end.
This functionality changed between ALSB and OSB and I had a patch developed to restore the ALSB functionality.
I spent ages looking at it, and debugging FTP commands and going from memory, I'm pretty certain that the FTP adapter doesn't implement the correct FTP spec for the RNFR command according to the RFC in the case where a file already exists - it doesn't handle overwrite.
Hope that may help.
Pete -
I was running Foxfire 3.6.9 and wanted to use FTP Program add-on and it did not appear to load but appeared but then would be installed but not run or appear under tools. So I deleted Foxfire 3.6.9 and down loaded to 3.5.9 so it could get FTP and it is doing the same could not install. Even after I registered my copy. The last time I used this program it showed up under tools and worked great. any suggestions on whats going on and how I can get around this?.by ralphd3g
Delete the files extensions.* (extensions.rdf, extensions.cache, extensions.ini) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry.
See "Corrupt extension files": http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
If you see disabled extensions that are not compatible on the next start in "Tools > Add-ons > Extensions" then click the "Find Updates" button to do a compatibility check. -
Hi,
I was wondering if it is possible to load XML file from FTP address directly to XMLType Table?
Can someone help me?
For example I have ftp site "ftp://test" and on this site I have file "file.xml"
and I would like to load "file.xml" to table "xml_tab" ?
I tried to use "load_xml" procedure and set DIRECTORY "xml_dir" to 'ftp://test' but I get this error
exec load_xml(p_dir=>'XML_DIR', p_filename=>'file.xml');
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
The network path was not found.
ORA-06512: at "SYS.DBMS_LOB", line 504
ORA-06512: at "P.LOAD_XML", line 8
ORA-06512: at line 1
Procedure looks like this:
(p_dir IN VARCHAR2,
p_filename IN VARCHAR2) AS
l_bfile BFILE := BFILENAME(p_dir, p_filename);
l_clob CLOB;
BEGIN
DBMS_LOB.createtemporary (l_clob, TRUE);
DBMS_LOB.fileopen(l_bfile, DBMS_LOB.file_readonly);
DBMS_LOB.loadfromfile(l_clob, l_bfile, DBMS_LOB.getlength(l_bfile));
DBMS_LOB.fileclose(l_bfile);
INSERT INTO xml_tab (
id,
filename,
xml
VALUES (
xml_tab_seq.NEXTVAL,
p_filename,
XMLTYPE.createXML(l_clob)
COMMIT;
DBMS_LOB.freetemporary (l_clob);
END;
I have tried also with this
select xdburitype('ftp://test/file.xml').getCLob() from dual;
but i get error
ERROR:
ORA-31001: Invalid resource handle or path name "ftp://test/file.xml"
Can you pleeeeeeas show me a way to do this, thanks ???This will not work.. Ypu cannot use FTP to 'PULL' a document into the database. (Yes I know there's a placeholder for an FTPURITYPE() but it was never implemented).
However you can use an FTP client to PUSH content into the XML DB repository. If the content is schema based XML associated with a known (registered) XML schema the content of the file will automatically be stored in the default table associated with the root element of the file. If the content is not associated with an known XML schema you can then use xdburitype to read the resource that was created when the document was uploaded into the repository -
Help needed for file processing using FTP
Hi All,
I am new to ODI tool and currently we are implementing one project in ODI. Could you please, any one help me on the following requirement... how to implement it?
Scenario:
i) I need to pick a file from remote host 'outbox' dir using FTP process, and place into local 'temp' dir. (I can do it with odiFTPGet tool)
ii) Change the file as per target business requirement.??? ( this step challenging me)
for ex:
if source file name : <project name>_<source ID>_<transaction name>_<unique id>.txt
target name should be : 1234_<transaction name>_<sysdate in yyyyMMddhhmmss>_<unique id>_2345.txt ( here 1234 and 2345 are hard coded values)
iii) Later move to local 'temp' to local 'outbox' dir. ( I can do it with odiFileMove tool)
iv) After successful process move the file from remote 'outbox' to remote 'archive' dir ??? (again this is challenging me).
For this my questions are:
1) How to get file name into a variable ( In one of the post , it says we need to create data model and data stores, and interface to get the file names into a file. apart from is there any easy way i can implement it in package it self?)
2) How to tokenize a long string ( i.e., need to tokenize the source file to get <unique id> and <transaction name> and map to target file name)
3) How to define implementation for Java in user function?? do we need to use class declarations and import statements?? I need a sample user function in Java.
4) How to move/rename a file in remote server?? ( need to move file from remote 'outbox' server to remote archive' dir)
5) If any step in package fails, How to get the error msg into a variable which i can use for sending mail and raise a ticket in remedy?? ( I will pass that variable to as content to mail and remedy ticket)
6) How to handle list type data (string list) by variables in ODI?? (As we can define single variable not as list.)
I am sorry to ask all my queries I a single post. But I need to solutions for all to implement this in my project.
Thanks in advance. Appreciate early response.
Regards,
Kiran.NCan any one share your thoughts for my request.
Thanks in advance.
Regards,
Kiran -
Transfering .csv file from SAP to NON-SAP using FTP connection
Dear All,
I am able to place the .CSV file successfully to other system using FTP connection, but when i open the file I could see the gaps between each record. I mean 1st line with the 1st record and 2nd line having a GAP and 3rd line with the 2nd record and so ..on as shown below
1 1/1/2009 0 41000027
2 1/1/2009 0 41000027
3 1/1/2009 0 41000027
I have declared an internal table as below
TYPES: BEGIN OF ty_charlist,
line(5000) type c,
END OF ty_charlist.
DATA: w_charlist TYPE ty_charlist,
t_charlist TYPE TABLE OF ty_charlist.
And concatenating each field seperated by ','
CONCATENATE res1 res2 res3 res4 res5 res6 res7 res8 res9 res10 res11 res12 res13 res14 res15 res16 res17 res18 res19 res20 res21 res22 res23 res24 res25 res26 res27 res28 res29 res30 res31 res32 res33 res34 res35 res36 res37 res38 res39
INTO w_charlist-line SEPARATED BY ','.
APPEND w_charlist TO t_charlist.
Now T_CHARLIST contains 50 records which needs to be placed on other system. I can see 50 records but gap is coming
Here res1, res2 and so on are declared as TYPE STRING..
Please do help me this issue
Thanks
PravaHello dprava ,
Try to be assisted with these examples .
1. [http://wiki.sdn.sap.com/wiki/display/ABAP/FTPfiletransferinBackground]
2. [Reg: FTP Connection; - SAP examples programs
Thank you,
Boaz
Maybe you are looking for
-
HELP! itunes...i need help!
OK. New to this chat and much of the apple stuff so please be patient. I have been using different ipods and itunes for years. got a nano few years ago and built up a library on an hp laptop. i got a couple giftcards in november/december of 2008. i u
-
WRVS4400Nv2 router and WAP4410N access point
WRVS4400Nv2 Love it! More Bars In More Places! Yahoo and never cuts out...nice job guys worth the money!!!! bugs 1. Can't find how to set it to use https for access of the admin panel, very puzzling WAP4410N bugs 1. WMACFilter.htm&unit=0&vap=0 > Wire
-
"The movie could not be sent to QuickTime"
I am unable to export from iMovie as a QuickTime movie because when I attempt to "Share" an iMovie project as a QuickTime movie, at the very end of the data compression process, the export is cancelled and this message appears: "The movie could not b
-
Wait until command execution effects actually take place
Hello everybody. I am new to Azure and I have been working with power shell for a short time. During my work, I have noticed that many operations like Update-AzureVM or Stop-AzureVM return before the requested changes have finished being applied. Fur
-
What color of iPod nano 7th gen. should I choose?
Hello, I want to buy a new iPod nano 7th generation and I have a problem with choosing a color.Which color would you choose? Or what is the best? (even for you) Or what color di you choose? Thank you, DZetko