Accesing external files in ME

Hi,
I would like to read and write "external" files in a midlet. I mean, I want to be able to create a text file on a PC, transfer it to the phone, and read it (and vice versa).
I know there is JSR-75. I even found an example:
[Java Tips - How to Access Local File Systems from J2ME devices using FileConnection API|http://www.java-tips.org/java-me-tips/midp/how-to-access-local-file-systems-from-j2me-devices-using-fileconnectio-2.html]
It works on Netbeans, but it doesn't work in my phone. The midlet just present a white form and doesn't do anything.
I think the problem is with permissions. The example includes the following "In order to overcome security issues MIDlet needs to include requested file permission in its JAD file under MIDLet-Permission property."
I know how to edit the JAD file in Netbeans. My question is what is the value given to the property? Is there any other way to give permissions to the midlet in order to read and write files?
Thanks
Edited by: King_Guanaco on Feb 16, 2010 8:08 AM

well... using a xml its very fine to implement diferent things
mabe to make a same app whit diferent theme
ex .. changing the xml to load diferents img
my question its... you can use  a load function whit as3 on iphone ....for load a xml file??
thanks guy
lucky on the code!!!

Similar Messages

  • Accesing externally loaded variables

    i would greatly appreciate a pointer or two as i am having a
    painful transition to AS2.0
    an 8k zip test is at: www.cyan-animatica.com/v2/exttest.zip
    //(wasn`t there an option back in macromedia days to attach a
    file?)
    i am having a poblem accesing externally loaded variables :
    A.--------------------------------------------------------------------
    the external .txt has folowing content:
    &a1_0=hello&a1_1=bye&a1_2=whatever
    B.--------------------------------------------------------------------
    loaded on the first frame thus:
    var thumbs:LoadVars = new LoadVars();
    thumbs.onLoad = function(success:Boolean):Void {
    if (success) {
    trace("LoadVars loaded successfully: "+this.loaded);
    } else {
    trace("Error");
    thumbs.load("my_externals.txt");
    C.--------------------------------------------------------------------
    if want to access one of 3 loaded variable hardcoding, this
    works just fine:
    trace(_root.thumbs.a1_1) //bye
    BUT i need to do this based on the mc/buton name that calls
    it:
    on (press) {
    var kk:String = _name;
    trace(_root.thumbs.kk);
    i get UNDEFINED...obviously i am mixing datatypes if not
    worse
    pc win 2000
    flash prof for flash8 player[

    thanks for a prompt reply, blemmo.
    you write:<<to ADD vars to the LoadVars object, it has
    to be referenced correctly
    what i want to do is READ vars from LoadVars object and
    referencing is exactly what is killing me
    sorry bout the lack of clarity. the zip would help
    (www.cyan-animatica.com/v2/exttest.zip)
    i am loading 3 variables into an object var thumbs:LoadVars
    from one external .txt file:
    a1_0=hello
    a1_1=bye
    a1_2=whatever
    i want to see the contens of let us say the second variable
    trace(_root.thumbs.a1_1);
    produces bye , perfectly - this is exactly what i want, but i
    want it based on a constructed reference
    so, i have button in an mc named "a1_1", the button script
    is:
    on (press) {
    var kk:String = _name;
    trace(kk); // produces a1_1
    trace(_root.thumbs.kk); //this should be same as
    _root.thumbs.a1_1 and produce the same result, but does not
    i suspect that the problem is that kk is declared as string
    datatype, but no matter what i do i cannot get a result
    thanks for your help

  • Reading the Blob and writing it to an external file in an xml tree format

    Hi,
    We have a table by name clarity_response_log and content of the column(Response_file) is BLOB and we have xml file or xml content in that column. Most probably the column or table may be having more than 5 records and hence we need to read the corresponding blob content and write to an external file.
    CREATE TABLE CLARITY_RESPONSE_LOG
      REQUEST_CODE   NUMBER,
      RESPONSE_FILE  BLOB,
      DATE_CRATED    DATE                           NOT NULL,
      CREATED_BY     NUMBER                         NOT NULL,
      UPDATED_BY     NUMBER                         DEFAULT 1,
      DATE_UPDATED   VARCHAR2(20 BYTE)              DEFAULT SYSDATE
    )The xml content in the insert statement is very small because of some reason and cannot be made public and indeed we have a very big xml file stored in the BLOB column or Response_File column
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (5, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (6, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (7, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (8, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (9, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');THe corresponding proc for reading the data and writing the data to an external file goes something like this
    SET serveroutput ON
    DECLARE
       vstart     NUMBER             := 1;
       bytelen    NUMBER             := 32000;
       len        NUMBER;
       my_vr      RAW (32000);
       x          NUMBER;
       l_output   UTL_FILE.FILE_TYPE;
    BEGIN
    -- define output directory
       l_output :=
          UTL_FILE.FOPEN ('CWFSTORE_RESPONCE_XML', 'extract500.txt', 'wb', 32760);
       vstart := 1;
       bytelen := 32000;
    ---get the Blob locator
       FOR rec IN (SELECT response_file vblob
                     FROM clarity_response_log
                    WHERE TRUNC (date_crated) = TRUNC (SYSDATE - 1))
       LOOP
    --get length of the blob
    len := DBMS_LOB.getlength (rec.vblob);
          DBMS_OUTPUT.PUT_LINE (len);
          x := len;
    ---- If small enough for a single write
    IF len < 32760
          THEN
             UTL_FILE.put_raw (l_output, rec.vblob);
             UTL_FILE.FFLUSH (l_output);
          ELSE  
    -------- write in pieces
             vstart := 1;
             WHILE vstart < len AND bytelen > 0
             LOOP
                DBMS_LOB.READ (rec.vblob, bytelen, vstart, my_vr);
                UTL_FILE.put_raw (l_output, my_vr);
                UTL_FILE.FFLUSH (l_output);
    ---------------- set the start position for the next cut
                vstart := vstart + bytelen;
    ---------- set the end position if less than 32000 bytes
                x := x - bytelen;
                IF x < 32000
                THEN
                   bytelen := x;
                END IF;
                UTL_FILE.NEW_LINE (l_output);
             END LOOP;
    ----------------- --- UTL_FILE.NEW_LINE(l_output);
          END IF;
       END LOOP;
       UTL_FILE.FCLOSE (l_output);
    END;The above code works well and all the records or xml contents are being written simultaneously adjacent to each other but we each records must be written to a new line or there must be a line gap or a blank line between any two records
    the code which I get is as follow all all xml data comes on a single line
    <?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7369</empno><ename>James</ename><job>Manager</job><salary>1000</salary></emp><?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7370</empno><ename>charles</ename><job>President</job><salary>500</salary></emp>But the code written to an external file has to be something like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
      <empno>7369</empno>
      <ename>James</ename>
      <job>Manager</job>
      <salary>1000</salary>
    </emp>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
    <empno>7370</empno>
    <ename>charles</ename>
    <job>President</job>
    <salary>500</salary>
    </emp>Please advice

    What was wrong with the previous answers given on your other thread:
    Export Blob data to text file(-29285-ORA-29285: file write error)
    If there's a continuing issue, stay with the same thread, don't just ask the same question again and again, it's really Pi**es people off and causes confusion as not everyone will be familiar with what answers you've already had. You're just wasting people's time by doing that.
    As already mentioned before, convert your BLOB to a CLOB and then to XMLTYPE where it can be treated as XML and written out to file in a variety of ways including the way I showed you on the other thread.
    You really seem to be struggling to get the worst possible way to work.

  • How to open and read an external file in Dashboard widget?

    I am new to Dashboard widgets and also Javascript. I have written a widget that needs to open and read a file on the local file system. I have searched a lot and have not found any documentation or reference on the internet as to how to do this.
    I know it can be done since there is a checkbox in the widget attributes that says "Allow External File Access".
    can anyone help me out here?
    Thanks

    You need to define the AllowFileAccessOutsideOfWidget key to Yes.
    You also need to define the AllowFullAccess key.
    You may also need to define the AllowSystem key (to Yes of course).
    Mihalis.
    PS. If you cannot find any other documentation please check http://widgetbook.blogspot.com.

  • External table: How to load data from a fixed format UTF8 external file

    Hi Experts,
    I am trying to read data from a fixed format UTF8 external file in to a external table. The file has non-ascii characters, and the presence of the non-ascii characters causes the data to be positioned incorrectly in the external table.
    The following is the content's of the file:
    20100423094529000000I1 ABÄCDE 1 000004
    20100423094529000000I2 OMS Crew 2 2 000004
    20100423094529000000I3 OMS Crew 3 3 000004
    20100423094529000000I4 OMS Crew 4 4 000004
    20100423094529000000I5 OMS Crew 5 5 000004
    20100423094529000000I6 OMS Crew 6 6 000004
    20100423094529000000I7 Mobile Crew 7 7 000004
    20100423094529000000I8 Mobile Crew 8 8 000004
    The structure of the data is as follows:
    Name Type Start End Length
    UPDATE_DTTM CHAR 1 20 20
    CHANGE_TYPE_CD CHAR 21 21 1
    CREW_CD CHAR 22 37 16
    CREW_DESCR CHAR 38 97 60
    CREW_ID CHAR 98 113 16
    UDF1_CD CHAR 114 143 30
    UDF1_DESCR CHAR 144 203 60
    UDF2_CD CHAR 204 233 30
    DATA_SOURCE_IND CHAR 294 299 6
    UDF2_DESCR CHAR 234 293 60
    I create the external table as follows:
    CREATE TABLE "D_CREW_EXT"
    "UPDATE_DTTM" CHAR(20 BYTE),
    "CHANGE_TYPE_CD" CHAR(1 BYTE),
    "CREW_CD" CHAR(16 BYTE),
    "CREW_DESCR" CHAR(60 BYTE),
    "CREW_ID" CHAR(16 BYTE),
    "UDF1_CD" CHAR(30 BYTE),
    "UDF1_DESCR" CHAR(60 BYTE),
    "UDF2_CD" CHAR(30 BYTE),
    "DATA_SOURCE_IND" CHAR(6 BYTE),
    "UDF2_DESCR" CHAR(60 BYTE)
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER DEFAULT DIRECTORY "TMP"
    ACCESS PARAMETERS ( RECORDS DELIMITED BY NEWLINE
    CHARACTERSET UTF8
    STRING SIZES ARE IN BYTES
    NOBADFILE NODISCARDFILE NOLOGFILE FIELDS NOTRIM
    ( "UPDATE_DTTM" POSITION (1:20) CHAR(20),
    "CHANGE_TYPE_CD" POSITION (21:21) CHAR(1),
    "CREW_CD" POSITION (22:37) CHAR(16),
    "CREW_DESCR" POSITION (38:97) CHAR(60),
    "CREW_ID" POSITION (98:113) CHAR(16),
    "UDF1_CD" POSITION (114:143) CHAR(30),
    "UDF1_DESCR" POSITION (144:203) CHAR(60),
    "UDF2_CD" POSITION (204:233) CHAR(30),
    "DATA_SOURCE_IND" POSITION (294:299) CHAR(6),
    "UDF2_DESCR" POSITION (234:293) CHAR(60) )
    ) LOCATION ( 'D_CREW_EXT.DAT' )
    REJECT LIMIT UNLIMITED;
    Check the result in database:
    select * from D_CREW_EXT;
    I found the first row is incorrect. For each non-ascii character,the fields to the right of the non-ascii character are off by 1 character,meaning that the data is moved 1 character to the right.
    Then I tried to use the option STRING SIZES ARE IN CHARACTERS instead of STRING SIZES ARE IN BYTES, it doesn't work either.
    The database version is 11.1.0.6.
    Edited by: yuan on May 21, 2010 2:43 AM

    Hi,
    I changed the BYTE in the create table part to CHAR, it still doesn't work. The result is the same. I think the problem is in ACCESS PARAMETERS.
    Any other suggestion?

  • Is it possible to link and update external files in a Indesign document when sharing the Indesign file in Creative Cloud with multiple users?

    I am new to Creative Cloud, but have been using Adobe software for many years.
    Now we are considering sharing an Indesign file with my project group using CC.
    The Indesign file contains links to external files (one Illustrator and multiple .txt files); and we export the approved version to an Hi-Res PDF.
    These .txt files are currently hosted on our internal server but have not been linked directly: we first copy them over to local desktop and update the links in Indesign before creating a new PDF. 
    Since these file can be update by different people we would like to keep them outside the Indesign and Illustrator files.
    Is it still possible with CC to link directly to the files on our server in Indesign and see if there have been updated?
    Or can they also be stored in the CC cloud? Or is there another method?
    Thanks in advance for any help or suggestions
    Ronald

    This will work if you all use the file syncing of the Creative Cloud desktop application and then you use the Collaborate option for the folder containing all the files. Then it will work on each of your desktops.
    Links to files will not work in the browser when viewing the InDesign document from https://creative.adobe.com/files.

  • How to Read a External File in a livecycle form (using javascript)

    Hi Everyone,
       First of all, i would like to thank you in advanced for your help !!
       I have a situation were i need to load some values into some fields inside a dinamic pdf that was created in livecycle, what can i do so far ?
       I can load the fields with some values using a livecycle event and javascript, the values come from some functions that i have created but ... are fixed of course...
    What i need is to load up the values from the outside world.... from a external file (text or xml) or a webservice... i have some several experiences but nothing has worked so far...
    Can anyone publish a sample code in javascript to load up a file (text or xml) that works inside livecycle ??
    Thanks in advanced.
    Miguel Angelo (migas)

    Hi, Paul,
      Thanks i have looked inside the link (dam big ) but i'm still kind of lost, can anyone please publish a code example ?
    Miguel

  • Need how to get the data from the external file in eCatt

    Hi ,
      Could any body suggest how to get the values from the external file(Excel,CSV file,Text file) and pass it as varaiable in ecatt Test script.
    Problem: Need to execute FK01-Vendor creation Transaction with multiple set of data .As per my understanding we could achive through Variants in Testdata set in eCatt .
    But is there any way to store the data in excell file and get the data and pass it to FK01 Test scripts
    Appreciate response on this

    Hi
    See the links they may be useful
    check these link,
    eCATT- An Introduction
    /people/sumeet.kaul/blog/2005/07/26/ecatt-an-introduction
    Creating Test Scripts
    /people/sumeet.kaul/blog/2005/08/10/ecatt-creating-test-scripts
    eCATT Logs
    /people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
    eCATT Scripts Creation – TCD Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    Creation of Test Data Container
    /people/sumeet.kaul/blog/2005/08/24/ecatt-creation-of-test-data-container
    eCATT Scripts Creation - SAPGUI Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    Integrating ECATT & MERCURY QTP Part -1
    /people/community.user/blog/2007/01/02/integrating-ecatt-mercury-qtp-part-1
    Using eCatt to Test Web Dynpro ABAP
    /people/thomas.jung/blog/2006/03/21/using-ecatt-to-test-web-dynpro-abap
    and
    -command reference
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/3c333b40389c46e10000000a114084/content.htm
    /people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
    http://prasadbabu.blogspot.com
    https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=test_tool_integration_for_sap_e-catt.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
    http://www.erpgenie.com/ecatt/index.htm
    hope this helps.
    Reward points for useful Answers
    Regards
    Anji

  • Problem writing external file to externally mounted disk in Windows

    Folks,
    I've got a puzzling problem with a simple OWB mapping where I'm dumping the contents of a table to an external file.
    Versions are OWB v 11.2.0.2 64-bits on Oracle RDBMS 11.2.0.2 Windows 2007 64-bits Enterprise Server.
    When the external files module is hooked up to a location that points to a local disk and directory on the OWB-server, everything works fine - files are created and written.
    When the external files module is hooked up to a location that points to a mounted disk on another Windows 2007 64-bits Enterprise Server, I get +"Invalid Path for target file, check if connector is deployed correctly".+
    The "File System Location Path" in OWB is set to "N:" (no slashes either way). "Test Connection" reports OK.
    I've given both the Oracle os-user and "Everyone" (for good measure) all rights on the mounted disk, and I can see that the generated package code is using the correct Directory, and the Directory Path is the correct one on the server. The mounted disk (N:) should appear as a local disk to Oracle as far as I can see. I'm able to create and delete files on the disk using command line on the OWB/DB-server.
    I'm scratching my head on this one....

    then mapped that share as a network drive (N:) on server A (the OWB/DB-server)I think that problem was with different accounts used for run Oracle database (usually database instance run under SYSTEM account) and which you used to map share (it was interactive session). Even when you made this map persistent (enable "Reconnect at logon" option during mapping) you don't grant access to this drive to other accounts (including SYSTEM ) - this drive will not be visible to other users.
    I think it is possible to create "persistent" network drive mapping for Oracle database context with specification non-SYSTEM account (domain or server local) for running Oracle database instance (and Oracle Listener service).
    Also it seems there is a workaround to access mapped network drive under SYSTEM account:
    http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service
    Regards,
    Oleg

  • Writing agents o/p to external file and if i run the agent again it should

    Hi All,
    i want to run a agent and that result should be displayed in external file system.and i achieved this by using writing VB script and in agents i used actions in that we have invoke server script.And i got the perfect output but what 's my scenario is when i run the agnent again it should create another file with below requirements.
    The file name must contain a suffix containing the date in yyyymmdd format. In cases where the file stored more than once per day, a sequence number must also be provided within the filename.
    (i.e. v1_yyyymmdd, v2_yyyymmdd, v3_yyyymmdd, v4_yyyymmdd, v5_yyyymmdd…)
    And my VB script is like below
    '#####=========================================================================
    '## Title: Export Report
    '## Rev: 1.0
    '## Author: Paul McGarrick
    '## Company: Total Business Intelligence / http://total-bi.com
    '## Purpose:
    '## 1. This script takes a file from OBIEE and saves to the file system
    '## 2. Creates a reporting subdirectory if not already present
    '## 3. Creates a further subdirectory with name based on current date
    '## Inputs (specified in Actions tab of OBIEE Delivers Agent):
    '## 1. Parameter(0) - This actual file to be exported
    '## 2. Parameter(1) - The filename specified within OBIEE
    '## 3. Parameter(2) - Report sub directory name specified within OBIEE
    '#####=========================================================================
    Dim sBasePath
    sBasePath = "E:\reports\reports"
    Dim sMasterPath
    sMasterPath = sBasePath & "\" & Parameter(2)
    Dim objFSO
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    'check whether master directory exists, if not create
    Dim objMasterDir
    If Not objFSO.FolderExists(sMasterPath) Then
         Set objMasterDir = objFSO.CreateFolder(sMasterPath)
    End If
    Set objMasterDir = Nothing
    'build string to get date in yyyy-mm-dd format
    Dim sDate, sDateFull
    sDate = Now
    sDateFull = DatePart("yyyy", sDate) & "-"
    If Len(DatePart("m", sDate))=1 Then sDateFull = sDateFull & "0" End If
    sDateFull = sDateFull & DatePart("m", sDate) & "-"
    If Len(DatePart("d", sDate))=1 Then sDateFull = sDateFull & "0" End If
    sDateFull = sDateFull & DatePart("d", sDate)
    Dim sDir
    sDir = sMasterPath & "\" & sDateFull
    Dim objDir
    If Not objFSO.FolderExists(sDir) Then
         Set objDir = objFSO.CreateFolder(sDir)
    End If
    Set objDir = Nothing
    Dim sFileName
    sFileName = sDir & "\" & Parameter(1)
    Dim objFile
    objFSO.CopyFile Parameter(0), sFileName, True
    Set objFile = Nothing
    Set objFSO = Nothing
    could you please any body help me out from this....

    I assume you are using Windows. Try to write a batch file so that that would look for the ibot name when ever its finds rename the file name as required.
    This would be easiest way..
    http://lmgtfy.com/?q=rename+a+file+to+current+date+using+batch+file
    Edited by: Srini VEERAVALLI on Apr 8, 2013 7:23 AM
    Can you updates all your posts?
    Edited by: Srini VEERAVALLI on May 13, 2013 6:44 AM

  • How can I write to a (external)file from a stored procedure

    I want to write some data to a (external) file. I have it working with the function UTL_FILE.
    My problem is I want to write to a file on a mapped drive (so a drive on a different machine). This is not working.
    Does anyone know a way to build this.
    Please send your responses to [email protected]
    Many thanks,
    Alex Nagtegaal

    an extraction out of expert one-on-one from Thomas Kyte
    <quote>
    when an oracle istance is created the services that support it are setup to 'log on as' the system (or operating system) account, this account has very few privileges and no acces to Window NT Domains. To access another Windows NT machine the OracleServiceXXXX must be setup to logon to the appropriate Windows NT Domain as a user who has acces to the required location for UTL_FILE.
    To change the default logon for the Oracle services go to (in Windows NT):
    Control Panel | Services | OracleServiceXXXX | startup | log on as; (where XXXX is the instance name)
    In Windows 2000, this would be:
    Control Panel | Administrative Tools | Services | OracleServiceXXX | Properties | Log on tab; (again XXXX is the instance name)
    Choose the This Account radio button, and then complete the appropriate domain login information. ONce the services have been setup as a user with the appropriate privileges, ther are two options dfor setting UTL_FILE_DIR:
    * Mapped Dirve: To use a mapped drive, the user that the service starts as must have setup a drive to match UTL_FILE_DIR and be logged onto the server when UTL_FILE is in use.
    * Universal Naming Convention: UNC is preferable to Mapped Drives because it does not require anyone to be logged on and utl_file_dir should be set to a name in the form \\<machine name>\<share name>\<path>
    You will of course need to stop and restart Oracle after changing the properties of the service.
    <\quote>
    I want to write some data to a (external) file. I have it working with the function UTL_FILE.
    My problem is I want to write to a file on a mapped drive (so a drive on a different machine). This is not working.
    Does anyone know a way to build this.
    Please send your responses to [email protected]
    Many thanks,
    Alex Nagtegaal

  • How to slipt  fields in a row of an external file and store in Table

    Hi Experts,
    I need to proces an External file and store into a table. Here need to Split the fields in a row and write as multiple rows of a table.
    here i am giving the data sample ..
    outlet1     type1     type2     type3          
    outlet2     type1     type3     type4     typ6     type7
    The table  should be as below.
    outlet1     type1
    outlet1     type2
    outlet1     type2
    outlet2     type1
    outlet2     type3
    outlet2     type4
    outlet2     type6
    outlet2     type7
    Please give your suggesions and code sample that you have
    Thanks

    hi,
    try with the below code. This code is as per data given by u in your first thread.
    DATA : it_string TYPE TABLE OF string,
           wa_string TYPE string,
           BEGIN OF it_itab OCCURS 0,
           f1(7),
           f2(5),
           END OF it_itab,
           fld TYPE TABLE OF string,
           wa TYPE string,
           wa1 TYPE string,
           cnt TYPE i VALUE 1.
           data lin TYPE i.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                = 'C:\Documents and Settings\User\Desktop\abc.txt'
        filetype                = 'ASC'
        has_field_separator     = 'X'
      TABLES
        data_tab                = it_string
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        OTHERS                  = 17.
    IF sy-subrc <> 0.
    *  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    BREAK-POINT.
    LOOP AT it_string INTO wa_string.
      cnt = 1.
      SPLIT wa_string AT space INTO TABLE fld.
      DESCRIBE TABLE fld LINES lin.
      LOOP AT fld INTO wa.
        cnt = cnt + 1.
        IF cnt <= lin.
          READ TABLE fld INTO wa INDEX 1.
          IF sy-subrc = 0.
            it_itab-f1 = wa.
          ENDIF.
          READ TABLE fld INTO wa1 INDEX cnt.
          IF sy-subrc = 0.
            it_itab-f2 = wa1.
          ENDIF.
          APPEND it_itab TO it_itab[].
        ENDIF.
      ENDLOOP.
    ENDLOOP.
    Thanks & Regards

  • Integrating External File Server In SAP EP - Help Needed.

    Hello All,
    We have a EP 7.0 Running on HP-UX, can some one please tell me how I can integrate an External File Server or a Web DAV Folder into the SAP EP.
    Any suggestion would be a great help.
    Best Wishes,
    John.
    Message was edited by:
            John Bray

    Hi John,
    This would be helpful for you for Webdav or external filesystems  
    <a href="http://help.sap.com/saphelp_ep60sp2/helpdata/en/ed/b334ea02a2704388d1d2fc3e4298ad/frameset.htm">Integrating Documents from a Windows System into KM</a>
    Pls reward points if  helpful
    Regards
    Vineeth

  • Downloading the data to external file

    HI ABAPers,
       I have a dynamic internal table which i created using CREATE DATA statement and i have put in data into it. I have to download that internal table data into a external file. As the internal table is dynamically created it will be dereferenced using a field symbol. In all the download function modules like gui_download ws_downlaod and method like CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD we can pass only the standarad table for downloading the data and not the table which is dereferenced by field-symbols. Kindly help.
    Regards,
    Kasi S

    Hi Kasi,
    As the great Max just said, the best way for you to download the dynamic internal table is via an intermediate table made up of characters.
    Declare a table as under:
    DATA: BEGIN OF itab  OCCURS 0,
               FIELD TYPE char256,
              END OF itab.
    Then transfer the contents of your field symbol to this internal table row by row.
    Then you can download the table using CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD .
    Regards,
    Chetan.
    PS: Reward points if this helps.
    Regards,
    Chetan
    PS:Reward points if this helps.

  • Importing flash with AS3 external files

    developing a ui in flash for photo gallery which I am loading
    into dreamweaver.
    using as3 in flash to load external photo files so not all
    having to download on opening.
    have had no problem in dreamweaver with swfs with embedded
    jpgs.
    ui comes up in dreamweaver but not external files. even
    though when I open swf movie or the flash created html of same
    file, on its own, no prob.
    anyone run across this problem, jpgs are in same file as
    flash media, also dropped them into image file just in case that
    might work---no go
    any ideas ?

    Post a link to the page, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "pandorasboxtop" <[email protected]> wrote
    in message
    news:gajd7f$qpv$[email protected]..
    > developing a ui in flash for photo gallery which I am
    loading into
    > dreamweaver.
    > using as3 in flash to load external photo files so not
    all having to
    > download
    > on opening.
    > have had no problem in dreamweaver with swfs with
    embedded jpgs.
    > ui comes up in dreamweaver but not external files. even
    though when I open
    > swf
    > movie or the flash created html of same file, on its
    own, no prob.
    > anyone run across this problem, jpgs are in same file as
    flash media, also
    > dropped them into image file just in case that might
    work---no go
    > any ideas ?
    >

Maybe you are looking for

  • Jabber 9.5 phone service not registering over VPN

    TCT devices register fine over Any Connect VPN until I upgraded to 9.5! After upgrade IM/P and Voice Mail services connect successfully over VPN but phone service indicates it fails to get configuration from server. Everything works locally.  Any ide

  • What is Toshiba part number for Satellite Pro L20

    Morning Does anyone happen to know the Toshiba Part Number for the Satellite Pro L20? I seem to have mislaid mine. Thanks Si

  • Application Focus randomly changes

    Im about to go nuts... Even as I type this, Lion is doing this crazy thing. If I have a bunch of windows open, which I always do, the Application focus randomly changes.  To better describe, If I am typing something in the address bar in Safari, it w

  • Configure MSSQL database in portal/platform domain

    Hi, i have created a platform domain with the domain wizard. It runs fine with pointbase. Now i want to change to my MS SQL database. 1. Is my db_properties file correct ? (connection with database name = portal) 2. Can someone mail me the config.xml

  • Generate SNMP TRAP when config changes

    Hello, Is there any way to generate a SNMP trap when new config is saved in ASA 5510? We are running ASA 8.3 Thanks.