Uploading Data File to Company Database

I've created a form using iWork Numbers on my iPad.
If I create a data file from specific data in my form is there a way to upload the data file from my iPad directly to a company database over the internet.
I don't want to have use iTunes or MobileMe because it seems that the data would then have to be manually forwarded to the database. At least that's my perception but I could be wrong.
I would appreciate any help on directly forwarding data from an iPad to a company database via the internet.
Thanks

The only thing I can think of off the top of my head is email as an excel file. You would want to email it to yourself and open in excel, then use that (unmodified) file as a template for your IT to set up an email and script that would take the emailed file and import into the proper table(s).
Jason

Similar Messages

  • Storing Uploaded Audio Files in Your Database

    I have been using the cffile tag to upload files into a
    directory on the server and then writing the details of that file
    into a database, but I would like to now instead of uploading and
    writing the file to a directory, I would like to write that file
    into a field of a database table and then call it out later to
    listen to it or view it.
    Does anyone have any experience with writing a file into a
    database along with it's file details and then code to read it out
    and display the file details and view or listen to the file?
    I'm guessing that I would need a field in the database table
    that is a byte array, data type "image" to hold the file and then
    the other fields would be "type" "varchar" to hold the details of
    the file.
    MySQL or SQL Server are my choices of databases.
    Thank you!
    Tom

    You should have a blob type column (In oracle) to save the
    content ..
    First upload the file to webserver
    <cffile action="upload"
    filefield="form.FileName"
    destination="C:\temp\"
    nameconflict="makeunique" >
    Convert the same to binary
    <cffile
    action = "readbinary"
    file = "C:\temp\#cffile.serverFile#"
    variable="file_blob">
    insert statement
    insert into files (FILE_ID,file_content)
    values (7,
    <cfqueryparam
    value="#file_blob#"
    cfsqltype="cf_sql_blob">
    delete the file from the server
    <cffile
    action="delete"
    file="C:\temp\#cffile.serverFile#">

  • Problem in uploading data for multiple company code in FB60

    Hi Experts,
    I am uploading data to tcode FB60 using bdc. If I have say 2 records in my file with same company code,
    It;s successfully posting the invoices.
    But if there are records with different company code, it's posting only the first one.
    Please suggest me some solution.
    Thanks.
    Krishan

    Hi,
    This is a njoy tcode....U have to do some settings before using the tcode....
    Go to tcode FB60 and give the company code ( if it is ur first login to the tcode then only it wil ask) .then u will get the screen to enter the document number and other stuffs....
    In that screen go to EDIT OPTIONS BUTTON on application tool bar on the right hand upper corner...
    U will get another screen in that check the check box which says NO COMPANY CODE PROPOSAL..and click on save .....
    After use this tcode for the bdc program and no error will come.
    Please let me know if u have any problems...
    Regards,
    Rohan.
    Edited by: Rohan on Feb 2, 2009 12:29 PM

  • Upload data from excel into database through pl/sql

    Hi All,
    I have excel which contains data lets say employee details,
    I have one upload button ,which is used to upload excel and then i want to map the cell of excel to the database column and through plsql code i want to upload the excel data into database.
    In short ,i want to upload the data from excel into database using plsql code,
    or suggest me any other way to do this.(except the data load method present in apex)
    Thanks,
    Jitendra

    if you use APEX 4 you can define you own table
    the code below is for APEX 3
    PROCEDURE pro_carga_planilla_prosp( p_archivo VARCHAR2) IS
    v_blob_data BLOB;
    v_blob_len NUMBER;
    v_position NUMBER;
    v_raw_chunk RAW(10000);
    v_char CHAR(1);
    c_chunk_len number := 1;
    v_line VARCHAR2 (32767) := NULL;
    v_data_array wwv_flow_global.vc_arr2;
    v_rows number;
    v_sr_no number := 1;
    v_ok boolean := true;
    v_local_ok BOOLEAN := TRUE;
    v_reg_ok NUMBER := 0;
    v_reg_ko NUMBER := 0;
    v_localidad_id NUMBER;
    v_departamento_id NUMBER;
    v_cargo_id NUMBER;
    v_prospecto_id NUMBER;
    v_asesor_id NUMBER;
    V_REG prospectos%rowtype;
    BEGIN
    -- Read data from wwv_flow_files</span>
    select blob_content into v_blob_data
    from wwv_flow_files
    where name= p_archivo;
    v_blob_len := dbms_lob.getlength(v_blob_data);
    v_position := 1;
    -- Read and convert binary to char</span>
    WHILE ( v_position <= v_blob_len ) LOOP
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char := chr(hex_to_decimal(rawtohex(v_raw_chunk)));
    v_line := v_line || v_char;
    -- pro_log('linea '||v_line);
    v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved </span>
    IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities </span>
    v_line := replace(REPLACE (v_line, ',', ':'), ';',':');
    v_line := replace(replace(v_line, chr(10)),chr(13));
    if substr(v_line,1,1)= ':' then
    v_line := '0'||v_line;
    end if;
    if instr(v_line,':',1,21) = 0 then
    if instr(v_line,':',1,20) = 0 then
    v_line:=v_line||':';
    end if;
    v_line:=v_line||':';
    end if;
    -- pro_log(v_line);
    -- Convert each column separated by : into array of data </span>
    v_data_array := wwv_flow_utilities.string_to_table (v_line);
    -- Insert data into target table </span>
    IF v_data_array(1) IS NOT NULL AND
    v_sr_no <> 1 THEN
    V_REG.NOMBRE:=ltrim(rtrim(v_data_array(2)));
    V_REG.RAZON_SOCIAL:=v_data_array(3);
    V_REG.DIRECCION := v_data_array(4)||' '||v_data_array(5);
    -- PRO_LOG('PROSP 1 ' ||v_sr_no);
    v_localidad_id := pack_empresas.get_localidad(v_data_array(6));
    -- PRO_LOG('PROSP 1.1 '||v_sr_no);
    V_REG.LOCALIDAD_ID:=v_localidad_id;
    -- PRO_LOG('PROSP 1.2 '||v_sr_no);
    V_REG.CODIGO_POSTAL:=LTRIM(RTRIM(v_data_array(7)) );
    -- PRO_LOG('PROSP 1.3 '||v_sr_no);
    -- PRO_LOG('PROSP 1.1 '||v_sr_no);
    v_departamento_id := pack_empresas.get_departamento(v_data_array(8));
    -- PRO_LOG('PROSP 1.4 '||v_sr_no);
    V_REG.DEPARTAMENTO_ID:=v_departamento_id;
    -- PRO_LOG('PROSP 1.5 '||v_sr_no);
    V_REG.TELEFONO:=v_data_array(9);
    --PRO_LOG('PROSP 1.6 '||v_sr_no);
    V_REG.TELEFONO2:=v_data_array(10);
    -- PRO_LOG('PROSP 1.7 '||v_sr_no);
    V_REG.RUBRO:=v_data_array(11);
    -- PRO_LOG('PROSP 1.8 '||v_sr_no);
    V_REG.RUC:=ltrim(rtrim(v_data_array(12)));
    -- PRO_LOG('PROSP 1.9 '||v_sr_no);
    -- pro_log(v_data_array(1));
    -- pro_log(v_data_array(2));
    V_REG.CANTIDAD_EMPLEADOS:=RTRIM(LTRIM(v_data_array(13)));
    -- PRO_LOG('PROSP 1.10 '||v_sr_no);
    -- pro_log(v_data_array(14));
    V_REG.CANTIDAD_BENEFICIARIOS:=RTRIM(LTRIM(v_data_array(14)));
    --PRO_LOG('PROSP 1.11 '||v_sr_no);
    V_REG.MAIL:=v_data_array(19);
    -- pro_log(V_REG.MAIL);
    -- PRO_LOG('PROSP 1.12 '||v_sr_no);
    -- v_data_array(20):= replace(replace(v_data_array(20),chr(10)),chr(13));
    if not v_data_array.exists(20) then
    -- pro_log('existe');
    -- pro_log(ltrim(rtrim(replace(replace(v_data_array(20),chr(10)),chr(13)))));
    V_REG.Proveedor:= ltrim(rtrim(replace(replace(v_data_array(20),chr(10)),chr(13))));
    else
    v_data_array(20):=null;
    end if;
    -- V_REG.PROVEEDOR:=v_data_array(20);
    -- PRO_LOG('PROSP 1.13 '||v_sr_no);
    if not v_data_array.exists(21) then
    V_REG.OBSERVACIONES:=v_data_array(21);
    else
    v_data_array(21):=null;
    end if;
    -- PRO_LOG('PROSP 1.14 '||v_sr_no);
    -- PRO_LOG('PROSP 1.2 '||v_sr_no);
    insert into prospectos (nombre,razon_social, direccion,localidad_id,codigo_postal,
    departamento_id, telefono, telefono2, rubro,ruc,cantidad_empleados,
    cantidad_beneficiarios,mail,proveedor,observaciones)
    values (nvl(ltrim(rtrim(v_data_array(2))),v_data_array(3)), v_data_array(3),
    v_data_array(4)||' '||v_data_array(5),
    v_localidad_id, LTRIM(RTRIM(v_data_array(7))),v_departamento_id, v_data_array(9),
    v_data_array(10),v_data_array(11), ltrim(rtrim(v_data_array(12))), RTRIM(LTRIM(v_data_array(13))),
    RTRIM(LTRIM(v_data_array(14))),v_data_array(19),v_data_array(20), v_data_array(21))
    returning prospecto_id INTO v_prospecto_id;
    -- PRO_LOG('PROSP 2');
    v_cargo_id := pack_empresas.get_cargo(v_data_array(17));
    -- PRO_LOG('PROSP 3');
    insert into prospecto_contactos (prospecto_id,nombre,apellido,cargo_id,
    telefono,mail)
    values (v_prospecto_id, nvl(v_data_array(15),'S/N'), nvl(v_data_array(16),'S/A'),
    v_cargo_id, v_data_array(18), v_data_array(19));
    -- PRO_LOG('PROSP 4');
    v_asesor_id := pack_empresas.get_asesor(v_data_array(1));
    -- PRO_LOG('PROSP 5');
    insert into asignaciones (prospecto_id,asesor_id,fecha_asignacion)
    values (v_prospecto_id, v_asesor_id, trunc(sysdate));
    -- PRO_LOG('PROSP 6');
    END IF;
    -- Clear out
    v_line := NULL;
    v_sr_no := v_sr_no + 1;
    END IF;
    END LOOP;
    delete wwv_flow_files
    where name= p_archivo;
    END pro_carga_planilla_prosp;
    function hex_to_decimal
    --this function is based on one by Connor McDonald
    --http://www.jlcomp.demon.co.uk/faq/base_convert.html
    ( p_hex_str in varchar2 ) return number
    is
    v_dec number;
    v_hex varchar2(16) := '0123456789ABCDEF';
    begin
    v_dec := 0;
    for indx in 1 .. length(p_hex_str)
    loop
    v_dec := v_dec * 16 + instr(v_hex,upper(substr(p_hex_str,indx,1)))-1;
    end loop;
    return v_dec;
    end hex_to_decimal;

  • Upload pdf file in oracle database

    Hi Everyone,
    Can anybody describe me that how to upload/download pdf or doc file into oracle database using oracle form10g?
    Thanks in Advance.
    Baloch.

    Hello,
    The Webutil library has a FILE_TRANSFER package that includes functions to transfer file between the client machine, the Application Server and the Database.
    Francois

  • 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
    Ahamed

    A 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.

  • Upload a file into Oracle database without using a temp file in the server.

    Hello.
    I need to upload a file into a Oracle database, but I have not permission to write a temp file in the aplication server. Because of this, I can't use a MultipartRequest object.
    Does anybody know how to do this?
    Thanks everybody for your help.

    You can still use a MultiPart request.
    Use the Apache FileUpload package.
    Get the InputStream of the file being uploaded.
    Now you can either store the file in memory by writing to a java.io.ByteArrayOutputStream or you can save the file to Oracle by writing it to a java.sql.Blob object using the Blob.setBinaryStream method. This Blob object can then be persisted to Oracle.
    Unfortunately I don't have sample code readily available.

  • SQLLoader: Uploading data file name along with data

    I am using Oracle SQLLoader to upload my data from CSV files into a single table. My current CTL file is as follows:
    LOAD DATA
    INFILE 'trace_metals100.csv'
    INFILE 'trace_metals101.csv'
    APPEND
    INTO TABLE TRACE_METALS
    FIELDS TERMINATED BY ','
    (STATION_NO, METAL_NAME, METAL_WT)
    Just for my record I want to upload the data file name also along with the data into a fourth column. How should I do it using SQLLoader??
    Regards,
    Moiz

    Do two loads using two separate control files:
    LOAD DATA
    INFILE 'trace_metals100.csv'
    APPEND
    INTO TABLE trace_metals
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    (station_no,
    metal_name,
    metal_wt,
    fourth_column_name CONSTANT trace_metals100.csv)
    LOAD DATA
    INFILE 'trace_metals101.csv'
    APPEND
    INTO TABLE trace_metals
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    (station_no,
    metal_name,
    metal_wt,
    fourth_column_name CONSTANT trace_metals101.csv)

  • Few data files with wrong database name in header .

    Hi,
    there was problem with controlfile to trace generation , and an old one controlfile was used as (without few new datafiles recorded):
    CREATE CONTROLFILE set DATABASE "TEST" RESETLOGS NOARCHIVELOG ...
    during test environment creation .
    Then the alter database open resetlogs was done .
    The problem is few data files was not in controlfile (because of its oldenes), and
    they got still PROD in their headers as a database name .
    Is there any chance I can bring them back (attache) to new instance (after resetlogs) .
    Its test environment so I dont care if its supported or not :).
    Maybe manual editing file header or something ?
    DB is 9.2.0.8 .
    Regards.
    Greg

    GregG wrote:
    No I'm not. Looks like I need to rerun the whole process .
    There is no way to bring back those files to current instance :(.
    Regards.
    GregEither rerun the whole process again or contact the Oracle Support (and don't imagine to play with data file headers manually)

  • Uploading a file into mySQL database?

    Hello, everybody.
    Can anyone give me a code snippet or at least a hint, how could I upload a file into the BLOB field of mySQL database using JSP webpage? How do you generally store uploaded files on the server? If anyone could suggest a good algorythm of saving the files in the server's file system and saving only their URLs in the database (this was my initial idea), I would be ready to accept this as well.
    Would be appreciated for any help.

    Hi
    Fou uploading the files from client site to server user the utility given by oreilly Go to this site and down the code for uploading the source code for fileupload
    For writing this code to database use this code
    code
    import java.sql.*;
    import java.io.*;
    class BlobTest {
         public static void main(String args[]) {
              try {
                   //File to be created. Original file is duke.gif.
                   DriverManager.registerDriver( new org.gjt.mm.mysql.Driver());
                   Connection conn = DriverManager.getConnection("jdbc:mysql://agt_229/test","manoj","manoj");
                   /*PreparedStatement pstmt = conn.prepareStatement("INSERT INTO BlobTest VALUES( ?, ? )" );
                   pstmt.setString( 1, "photo1");
                   File imageFile = new File("duke.gif");
                   InputStream is = new FileInputStream(imageFile);
                   pstmt.setBinaryStream( 2, is, (int)(imageFile.length()));
                   pstmt.executeUpdate();
                   PreparedStatement pstmt = conn.prepareStatement("SELECT image FROM testblob WHERE Name = ?");
                   pstmt.setString(1, args[0]);
                   RandomAccessFile raf = new RandomAccessFile(args[0],"rw");
                   ResultSet rs = pstmt.executeQuery();
                   if(rs.next()) {
                        Blob blob = rs.getBlob(1);
                        int length = (int)blob.length();
                        byte [] _blob = blob.getBytes(1, length);
                        raf.write(_blob);
                   System.out.println("Completed...");
              } catch(Exception e) {
                   System.out.println(e);
    end of code
    this code contain both inserting into table and retrieving from table

  • Uploading data to an Oracle Database

    Hi there,
    We have an Oracle database and an application for data entry, etc. Some of my users do not want to use the data entry forms but would like to send us files either in text/xml to upload into our system. I have previously used text_id to parse text files and load them into a database, but am wondering if there is a better way of doing this either through web services, xml parsing, etc. If you've solved a similar problem using newer technologies, I would greatly appreciate your input.
    Thanks.
    Azeem.

    Hi Michel,
    Thank you so much for replying to my query. I have used SQL Loader in the past but since this is going to be an ongoing data transfer (load), I wanted to experiment with something new such as web services or XML. I think my users use XML and have expressed an interest in sending me XML files, that I would like to automatically load into the system. I'm not sure if I should provide them a forms interface to read their files, parse the data, and then upload it, and give them a bad file, or if I should look at something else.
    Thanks.
    Azeem.

  • Uploading data file with specific encoding and other metadata

    Hello everyone.
    I've been recently testing Microsoft Codename "Data Hub". When select the option to upload a CSV or XLSX file to populate my database, it basically has two problems, in my opinion:
    1. It would be great if I could select the file's encoding. If my file is in Spanish, it won't properly load latin characters (e.g. accents, or special characters). The information ends up showing with a bunch of weird characters.
    2. It also doesn't let me select which character to use as data separator. It uses the comma as the default. Some of the data might contain commas, so I usually change the separator to a pipe in my CSV files.
    Does anybody know any workarounds?
    Thanks.

    Hey there, and apologies.  I wanted to reach out and see if this is still a problem for you.
    I also wanted to check if this is a question about Azure SQL Database or something else?
    Thanks Guy

  • Upload csv file to server database directory through Apex interface

    Hi All,
    I have created a file browse item in Apex Page. through which user should be able to upload the csv file to database directory located in server.
    I have created one directory object in my schema say NAN_DIR where mentioned the directory.
    Need urgent solution......
    Thanks in Advance
    Danalaxmi

    Hi Danalaxmi,
    There is an example in this thread:
    Re: Store \ Retrieve files from file system
    Regards,
    Benz

  • Uploading Excel file into SAP Database table?

    I built a table in the SAP Data Dictionary, and i need to write a program that uploads the Excel table, into the SAP Database table.  Does anybody have a sample program that may help me?  Thanks!

    TYPES:
         BEGIN OF ty_upload,
         matnr like mara-matnr,
         meins like mara-meins,
         mtart like mara-mtart,
         mbrsh like mara-mbrsh,
         END OF ty_upload.
      DATA it_upload TYPE STANDARD TABLE OF ty_upload WITH header line.
      DATA wa_upload TYPE ty_upload.
      DATA: itab TYPE STANDARD TABLE OF alsmex_tabline WITH header line.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename    = 'C:\Documents and Settings\venkatapp\Desktop\venkat.xls'
          i_begin_col = 1
          i_begin_row = 1
          i_end_col   = 4
          i_end_row   = 65535
          TABLES
          intern      = itab.
    if not itab[] is initial.
    loop at itab .
    case itab-col.
    when '0001'.
    it_upload-matnr = itab-value.
    when '0002'.
    it_upload-meins = itab-value.
    when '0003'.
    it_upload-mtart = itab-value.
    when '0004'.
    it_upload-mbrsh = itab-value.
    append it_upload.
    clear it_upload.
    clear itab.
    endcase.
    endloop.
    endif.
    loop at it_upload into wa_upload.
    ztable-matnr = wa_upload-matnr.
    ztable-meins = wa_upload-meins.
    ztable-mtart = wa_upload-mtart.
    ztable-mbrsh = wa_upload-mbrsh.
    insert ztable.
    endloop.

  • Crashed and burned computer can't upload data file

    I have always kept my working file in a separate folder (thunderbird). My computer burned two weeks ago. I downloaded thunderbird onto my new computer then directed the program to the folder and file. All i got was a the group of files eg. Bk1, bk2 etc not the 15 years of e mails set up by date I normally have below my inbox.
    Every time I try to reinstall I have to uninstall the program and start fresh. Any pointers to get back to normal ?
    Len Lavoie

    There actually is a separate support site for Thunderbird where presumably they would be better able to answer your question. (I'm an Outlook user myself.)
    https://support.mozillamessaging.com/en-US/home

Maybe you are looking for

  • Trying to access disk repair but.....

    While trying to figure out a way to fix iTunes problems and slooooow USB download problems, I ran Disk Utility and found that there is a problem on the hard drive of my MacPro-10.4.11. It said to insert the OSX CD and reboot by holding the "C" key un

  • How to retrieve the host prefix in a workflow step

    HI i am trying to generate a link in a process step, but I dont know how to get the host prefix http://localhost:4503 any idea? thanks

  • After downloading yosemite, can't import photos from camera to iPhoto

    After downloading Yosemite  10.10.1 to my Macbook Air, I can't import photos from camera to iPhoto. Had no problem before. It recognizes camera and says loading, but it never does load photos.

  • Upgrade Java Version in 6i server

    How can I upgrade the Forms Sever 6i 's java in order to run some java bean (compile by java jdk 1.4.2) ?

  • PNG format

    Would someone in the know like to hesitate a guess, or maybe even know, why the PNG format is not supported in Lightroom other than in the Identity plate? It seem odd because PNG uses ZIP compression which is lossless, and slightly more effective tha