Save the data in the file as json data

Hello,
I need to read data from list / Pictures gallery / Documents  and save the returned data  in the file as json data .
How Can I Implement that .
ASk

Try below:
http://msdn.microsoft.com/en-us/library/office/jj164022%28v=office.15%29.aspx
The code in the following example shows you how to request a JSON representation of all of the lists in a site by using C#. It assumes that you have an OAuth access token that you are storing in the
accessToken variable.
C#
HttpWebRequest endpointRequest = (HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() + "/_api/web/lists");
endpointRequest.Method = "GET";
endpointRequest.Accept = "application/json;odata=verbose";
endpointRequest.Headers.Add("Authorization", "Bearer " + accessToken);
HttpWebResponse endpointResponse = (HttpWebResponse)endpointRequest.GetResponse();
Getting properties that aren't returned with the resource
Many property values are returned when you retrieve a resource, but for some properties, you have to send a
GET request directly to the property endpoint. This is typical of properties that represent SharePoint entities.
The following example shows how to get a property by appending the property name to the resource endpoint. The example gets the value of the
Author property from a File resource.
  http://<site url>/_api/web/getfilebyserverrelativeurl('/<folder name>/<file name>')/author
To get the results in JSON format, include an Accept header set to
"application/json;odata=verbose".
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • In my opinion, the real solution is for Apple to offer us a choice of the photo sort order in ITunes. My preference would be filename, perhaps with options to choose the Date Taken attribute, file timestamp or date modified filestamp (EXIF date fields as

    I tryed to sort my pictures with buying Apps and following suggestion from apple, but without any success. In my opinion, the real solution is for Apple to offer us a choice of the photo sort order in ITunes. My preference would be filename, perhaps with options to choose the Date Taken attribute, file timestamp or date modified filestamp.

    Not a problem when using iPhoto on a Mac, which the transfer of photos is primarily based on - not manually managing photo storage as seems to be common with Windoze.
    The same should be available with a supported photo management app on a PC.
    http://support.apple.com/kb/HT4221

  • How to create a .mdf SQL Server database from a Data-Tier Application file that has data?

    This is a noob question, though I do use SQL Server databases all the time with Entity Framework when I code in C# using Visual Studio 2013.  The development environment is found below at [A].  I am trying to make a clone of a SQL Server 2008 R2
    database (.mdf)  that exists online.  I can read, connect and work with this database in Visual Studio 2013, but I wish to make a local copy of the database, as an .MDF file.  Somewhere in my notes I have a way of creating a local copy from
    an online database when using Visual Studio but I forgot how (it seems, reviewing my notes, that it deals with ADO.NET which is deprecated in Visual Studio 2013 these days, or so it seems).  So I'm looking for another way.  What I did was create
    (or export) a "Data-Tier Application File" from the online SQL Server database, with data, and it seems to have worked in that this Data-Tier Application file exists on my hard drive and seems to have data in it ("SQL Server Replication Snapshot"
    is the format it seems).  It contains skeleton code to create a database, but when I tried to execute it with SQL Server 2014 Management Studio, I got a bunch of errors.
    So my question is:
    1) Can I somehow create a .MDF SQL Server Database from an Data-Tier Application file that has data?  What tool do I use?  I saw this link, http://social.technet.microsoft.com/wiki/contents/articles/2639.how-to-use-data-tier-application-import-and-export-with-a-windows-azure-sql-database.aspx 
    and it relates to Azure, but is there a tool for C#Visual Studio 2013, standalone?
    2) If there's an easy way to create a .mdf SQL Server Database file from an online file, within SQL Server Management Studio?  I don't think so, since it would require Administrator permissions on the online server, which I don't have. I have permission
    to read, update, delete the online database file, but strangely not to download it (the service I use has a tool for backup, but not for download).
    3) same question as 2), but for Visual Studio 2013?  I don't think so, since I notice none of the templates even mentions ADO.NET anymore, but instead they go with Entity Framework.  Using EF I can of course do anything I want with the online database
    (CRUD), but it remains online.  Maybe there's a switch to make a local copy?  I guess I could write a short program to suck all the data out of the online database and put it into a new, duplicate database having the same tables, that I create on
    my localhost, but my question here is if there's an easier way than this, maybe a tool or command I can run from inside Visual Studio?
    Any advice on any of the above questions is appreciated.
    Thank you,
    Paul
    [A] Microsoft Visual Studio Professional 2013
    Version 12.0.21005.1 REL
    Microsoft .NET Framework
    Version 4.5.51641
    Microsoft Web Developer Tools 2013   2.0.40926.0
    SQL Server Data Tools   12.0.30919.1
    Microsoft SQL Server Data Tools
    Windows Azure Mobile Services Tools   1.0
    Windows Azure Mobile Services Tools

    Thanks but these links are too general to help.
    "2. what do you mean by online file?" - I mean the SQL Server database file is on a remote web server that I rent from, but I am not the administrator of.  I can access my database using SQL Server Authentication, but nothing more.
    Paul
    What do you mean by too general? It explains on how you can use data tier application to create and deploy databases
    May be this will help you to understand better
    http://www.databasejournal.com/features/mssql/article.php/3911041/Creating-Data-Tier-Applications--in-SQL-Server-2008-R2.htm
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Insert a line into the beginning of a file without overwriting data

    I would like to dynamically alter/add new headers to a csv file as needed. The code I have below overwrites the previously written data an amount equal to each new header added each time I call the vi below. Any suggestions on how to do this without reading in the file each time? I want to avoid the processing time of reading in the file between processing new data.
    Thanks!
    Attachments:
    R900 - Log Data Stream to File.vi ‏22 KB

    Yes, but you can still write everytime, you dont need to read the file back.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • CTL(control file) need help to load column data in test file  as row data

    Dear Experts,
    My data file having data like
    COMPANY1 SUPP1 SUPPTYP1 SUPPDISTANCE1...SUPP100 SUPPTYP100 SUPPDISTANCE100
    COMPANY2 SUPP1 SUPPTYP1 SUPPDISTANCE1...SUPP100 SUPPTYP100 SUPPDISTANCE100
    i am trying to load in to oralc table desc as bellow and trying to load this into row data how can i do?
    this ctl will load only for first suppliler only how can i load rest 99 supplier
    LOAD DATA
    INFILE '/data/Supplier.dat'
    INSERT
    INTO SUPPLIERDETAIL
    COMP_CD position(1:8) char(8),
    SUPPLR_ID position(9:15) char(7),
    LOC_ID position(16:20) char(5),
    SUPPLR_DIST position(21:24) char(4),
    SUPPLR_TYP position(25:) char(1)
    Many thanks
    Kalinga

    I take it that you are running the process on UNIX box based on '/data/Supplier.dat'.
    Try to –
    1. Break the records into multiple lines > Try using awk/ or perl
    COMPANY1 SUPP1 SUPPTYP1 SUPPDISTANCE1...SUPP100 SUPPTYP100 SUPPDISTANCE100
    COMPANY2 SUPP1 SUPPTYP1 SUPPDISTANCE1...SUPP100 SUPPTYP100 SUPPDISTANCE100
    Should appear in your output file as –
    COMPANY1 SUPP1 SUPPTYP1 SUPPDISTANCE1
    COMPANY1 SUPP100UPPTYP100 SUPPDISTANCE100
    COMPANY2 SUPP1 SUPPTYP1 SUPPDISTANCE1
    COMPANY2 SUPP100UPPTYP100 SUPPDISTANCE100
    2. Output from 1 -> Save it to a file
    3. Pass the output (point 2) as the Input file for the CTL to read
    Etbin’s Solution is fine but don’t forget you have for each row 100 occurrences of Supplier information – so that makes 100 INTO Table’s code to put into your CTL file.
    Shailender Mehta

  • Load data from xml file in oracle data base

    Hi all,
    I'd like to know if is posible to load data from a file xml into a table of oracle data base through SQL*LOADER, loaded only in a normal column no with type XMLType , for example
    I have a xml file
    <person name="kate" surname="fari" city="new york" >
    <son name="faus" age="18"/>
    <son name="doly" age="10"/>
    </person>
    and I load in table :
    table :person
    column
    name surname city
    kate fari new york
    table : son
    name age
    doly 10
    faus 18
    thank you for your return !!!!!!!!!
    Ninova
    Edited by: user10474037 on 30 mai 2011 08:47
    Edited by: user10474037 on 30 mai 2011 08:48
    Edited by: user10474037 on 30 mai 2011 08:48
    Edited by: user10474037 on 30 mai 2011 08:49
    Edited by: user10474037 on 30 mai 2011 08:50

    Hi
    This May be found at
    SQL Loader to upload XML file

  • Upload data from excel file to "Fast Data Entry" in FB60

    Hi,
    I have a requirement from users, they want to load data of G/L accounts items in FB60 using "Fast Data Entry" from an excel file.
    I did some research and found out that the framework to transfer clipboard data into an SAP table(http://www.synactive.com/examples/example0016.html) seems to be the suitable solution.
    However, I still cannot make it work.
    Do you have any suggestion for my case ? How can I load data from an excel file to the transaction FB60?
    Thanks in advance,
    Hung

    Dear Hung,
    You can upload data through LSMW (Batch Input).
    But you need to convert your excel sheet into CSV format or txt format.
    Please take help of your ABAP team if required.
    This will accommodate your requirement.
    Regards
    Saurabh

  • What's the best way to read JSON data?

    Hi all;
    What is the best way to read in JSON data? And is the best way to use it once read in to turn it into XML and apply XPath?
    thanks - dave

    jtahlborn wrote:
    without having a better understanding of what your definition of "use it" is, this question is essentially unanswerable. Jackson is a fairly popular library for translating json to/from java objects. the json website provides a very basic library for parsing to/from xml. which one is the "best" depends on what you want to do with it.Good point. We have a reporting product ([www.windward.net|http://www.windward.net]) and we've had a number of people ask us for JSON support. But how complex the data is and what they want to pull is all over the place. The one thing that's commin is they generally want to pull down the JSON data, and then put specific items from that in the report.
    XML/XPath struck me as a good way to do this for a couple of reasons. First it seems to map well to the JSON data layout. Second it provides a known query language. Third, we have a really good XPath wizard and we could then use it for JSON also.
    ??? - thanks - dave

  • Extra Blank Line gets added at the Beginning of the file by File Adapter...

    Hello All,
    I have created an RFC to File Adapter scenario in PI 7,1 and I am using Content Conversion in the File Adapter to convert the payload structure to flat text file. The input Structure is simple as follows:
    <File>
    <FName>some file name</Fname>
    <Record>
      <Data>
          <Line>Text Lines</Line>
    </Date>
    </Record>
    </File>
    while using the following Content Conversion Parameters: While I have defined "Record" as Structure.
    Record.addHeaderLine   = 0
    Record.fieldSeparator      = 'nl'
    Record.endSeparator      = 'nl'
    Here everything is working fine except that the text file getting generated has a blank line at the beginning. I was thinking that by adding "Record.addHeaderLine   = 0" parameter, no header line will be added to the file but this seems to be not working. I tried to include the top element "File" with the same parameters and different combinations but was not able to achieve the result and it stopped the file creation altogether.
    So, I'll appreciate if anyone can suggest something to get rid of the this blank line at the beginning of the file.
    Regards,
    Athar

    Extra blank line is actually provided for the FNAME node, but not displayed because of it has different structure with Record node.
    Change the structure for FNAME to :
    <FName>
    <Data>
    <Line>some file name</Line>
    </Data
    </Fname>
    this way "some file name" will be dispalyed in the text file at the first line of file. To remove it use this trick, define the following values in Content Conversion Parameters:
    in the Recordset Structure : FName,Record
    FName.fieldFixedLengths     = 0
    FName.fixedLengthTooShortHandling =     Cut
    FNamee.fieldSeparator = '0'
    FName.endSeparator =     '0'
    Record.fieldSeparator = 'nl'
    Record.endSeparator = 'nl'
    Rgds,
    Triana

  • To upload the price in the condition record

    Dear all,
               i want to upload the amount in the record,my record combination is sales org /material.I have to upload for 1000 materails.those 1000 materails with amount i have in exel.
    Now i want to create record,when i copy and paste in the record,at a time 20 material with amount only i could be able to copy.
    is there any solution other than lsmw to create record for 1000 material 1 at a time
    venu

    Hi,
    LSMW is a good-option, however, if you are not interested to use LSMW; You may Run BDC-Program upload.
    Following is for your further understanding:
    General flow of a BDC program is like this....
    1) First create recording for the T code which you want to make BDC for... Use T code SHDB for recording.
    2 ) Now save that recording and create pogram from that recording using Create Program button. give the BDC driver program name and create.
    3 ) Now the general logic of BDC program goes like this....
    - Upload Flat file into and internal table using function module "UPLOAD"
    - OPEN BDC GROUP.
    - Now loop at that internal table which contains the data from flat file.
    - move data from internal table to fields of BDCDATA using automatically gebnerated code from BDC.
    - CALL TRANSACTION <T CODE> using BDCDATA...
    - CLOSE BDC GROUP
    A sample program for the same is attatched here for your referance... just go through it..
    report ztej_test_new no standard page heading line-size 255.
    data bdcdata like bdcdata occurs 0 with header line.
    tables: zipcldesigcat.
    data : begin of itab occurs 0,
            mandt like zipcldesigcat-mandt,
            zdesigncd like zipcldesigcat-zdesigncd,
            zdesignation like zipcldesigcat-zdesignation,
            zdesigcat like zipcldesigcat-zdesigcat,
           end of itab.
    *INCLUDE bdcrecx1.
    start-of-selection.
      perform upload.
      perform open.
      loop at itab.
        perform move.
        call transaction 'SE16' using bdcdata mode 'E'.
        refresh bdcdata.
      endloop.
      perform close.
    *&      Form  UPLOAD
          text
    -->  p1        text
    <--  p2        text
    form upload.
      call function 'UPLOAD'
          exporting
            CODEPAGE                = ''
               filename                = ''
               filetype                = 'DAT'
               item                    = 'Your File'
            FILEMASK_MASK           = ' '
            FILEMASK_TEXT           = ' '
            FILETYPE_NO_CHANGE      = ' '
            FILEMASK_ALL            = ' '
            FILETYPE_NO_SHOW        = ' '
            LINE_EXIT               = ' '
            USER_FORM               = ' '
            USER_PROG               = ' '
            SILENT                  = 'S'
       IMPORTING
            FILESIZE                =
            CANCEL                  =
            ACT_FILENAME            =
            ACT_FILETYPE            =
           tables
                data_tab                = itab
          exceptions
               conversion_error        = 1
               invalid_table_width     = 2
               invalid_type            = 3
               no_batch                = 4
               unknown_error           = 5
               gui_refuse_filetransfer = 6
               others                  = 7
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
             filename                = 'C:\TEST.XLS'
             i_begin_col             = 1
             i_begin_row             = 1
             i_end_col               = 3
             i_end_row               = 5
        tables
             intern                  = ITAB
       EXCEPTIONS
            INCONSISTENT_PARAMETERS = 1
            UPLOAD_OLE              = 2
            OTHERS                  = 3
    *IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    endform.                    " UPLOAD
           Start new screen                                              *
    form bdc_dynpro using program dynpro.
      clear bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      append bdcdata.
    endform.
           Insert field                                                  *
    form bdc_field using fnam fval.
      if fval <> space.
        clear bdcdata.
        bdcdata-fnam = fnam.
        bdcdata-fval = fval.
        append bdcdata.
      endif.
    endform.
    *&      Form  OPEN
          text
    -->  p1        text
    <--  p2        text
    form open.
      call function 'BDC_OPEN_GROUP'
          exporting
               client              = sy-mandt
            DEST                = FILLER8
               group               = 'ZDESIGCAT_R'
            HOLDDATE            = FILLER8
            KEEP                = FILLER1
               user                = sy-uname
            RECORD              = FILLER1
       IMPORTING
            QID                 =
          exceptions
               client_invalid      = 1
               destination_invalid = 2
               group_invalid       = 3
               group_is_locked     = 4
               holddate_invalid    = 5
               internal_error      = 6
               queue_error         = 7
               running             = 8
               system_lock_error   = 9
               user_invalid        = 10
               others              = 11
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " OPEN
    *&      Form  MOVE
          text
    -->  p1        text
    <--  p2        text
    form move.
    perform bdc_dynpro      using 'SAPLSETB' '0230'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'DATABROWSE-TABLENAME'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ANLE'.
    perform bdc_field       using 'DATABROWSE-TABLENAME'
                                  'ZIPCLDESIGCAT'.
    perform bdc_dynpro      using 'SAPLZIPCLDESIGCAT' '0001'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VIM_POSITION_INFO'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=NEWL'.
    perform bdc_dynpro      using 'SAPLZIPCLDESIGCAT' '0001'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'ZIPCLDESIGCAT-ZDESIGCAT(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SAVE'.
    perform bdc_field       using 'ZIPCLDESIGCAT-ZDESIGNCD(01)'
                                  '2101'.
    perform bdc_field       using 'ZIPCLDESIGCAT-ZDESIGNATION(01)'
                                  'new'.
    perform bdc_field       using 'ZIPCLDESIGCAT-ZDESIGCAT(01)'
                                  'n'.
    perform bdc_dynpro      using 'SAPLZIPCLDESIGCAT' '0001'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'ZIPCLDESIGCAT-ZDESIGNCD(02)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENDE'.
    perform bdc_dynpro      using 'SAPLSETB' '0230'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EEND'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'DATABROWSE-TABLENAME'.
    endform.                    " MOVE
    *&      Form  CLOSE
          text
    -->  p1        text
    <--  p2        text
    form close.
      call function 'BDC_CLOSE_GROUP'
           exceptions
                not_open    = 1
                queue_error = 2
                others      = 3.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " CLOSE
    Best Regards,
    Amit

  • How to output data to a file in SCC-SG04?

    I am using SCC-2345 with SCC-SG04 connected to NI-6221 in Windows 2000 in VC6.
    How to output data to a file like data1.dat in VC6 or in Labwindows/CVI?

    Hello mwibm,
    If you just want to do file input/output in LabWindows/CVI, I would take a look at the Formatting and I/O CVI library or the ANSI File I/O functions. For example, if you just want to write an array of data to a file, I would look at the ArrayToFile function or the fwrite/fputs/fprintf ANSI C functions included in stdio.h. The ANSI C functions will also work in Visual Studio. More information on the LabWindows/CVI File I/O functions can be found in CVI help, and more information on ANSI C functions can be found in CVI Help and online at various websites.
    Maybe you could further clarify what problems you are having and what kind of data you want to write to a file.
    Thanks.
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews

  • Pg Number, File path and date automatically printed?

    Is there a way to automatically print the page number, complete file path and date at bottom of each  page (set to landscape)?
    Thanks!

    Thanks Carlos,
    It looks like the work72a would work if we were using macs, but we're not...
    And there is NO WAY my boss will pay $999 for the other one, even if it did work.
    So, now I'm open to other suggestions. We have hundreds of clients that we do work for, and our jobs are organized in folders for each client. A lot of clients with the same name but different locations (ie., Fox Meadow OH, Fox Meadow TX), and each has a different folder. The files are named by dept and year (ie., 2012 Glass, 2012 Art). We often access old files (which, there are thousands of, because they have been organized this way for years.) We need to have the client folder on the page along with the file name (hence the file path).
    The script that Carlos created is great, but there are too many steps. Open the script, change location and select info to be displayed (3 steps), close script. There are days we access 50 jobs and the script just added 5 plus steps to each job.
    Is there a way to use a hot key run a script that will place the info when and where we need it and auto close the script? Or is there a way to display the full path (in the Illustrator tab?) where we can see which folder the file is in and we will manually type the folder? Or does anyone have another suggestion?

  • Error 1 when loading data from flat file

    Hi,
    I am working on BW 3.5 when i was loading flat file it is giving error 1 when loading external data can anyone solve and mail to me this email id [email protected] .

    Hi,
    I have done correctly but even error 1 data loading from external file is coming, i just clicked on that and it came like this, Error 1 when loading external data,no invalid data like arthematics operations,But file accessing and path is correct.
    Message no. RSAR234
    Diagnosis
    Error number 1 occurred when loading external data:
    1. Error when reading the file (access rights, file name, ...)
    2. File size or number of records does not correspond to the data in the control file
    3. Error when generating the IDoc
    4. File contains invalid data (errors with an arithmetic operation or data conversion)
    Procedure
    Check whether you have the required access rights and whether the data in the control file is correct (file names, record length, number of records, ...). Correct the data in the control file if necessary and check the data file for invalid data (values of the wrong type, values in the wrong format for conversion exit,...). Check whether the file has headers that have not been specified.
    Thanks
    Sunitha

  • Dupekill - delete files with duped data (2012-06-13 update)

    A few years ago, a friend and I had gotten a hold of a game's audio ripped directly from the disc. It included thousands of files that made up the game's sound, and many of the files sounded the exact same. We set out to pare this massive set of files down to something more manageable, with Python on our side. Thus, dupekill was born. When we first made it, it didn't recurse and was basically hacked together. I spent all of last night and most of this morning tweaking it for Python 3 and tried to turn it into a flexible console app/module.
    dupekill will (by default) search the current directory for files with duplicated data and get rid of them. It accepts -h (help), -r (recursive), and -v (verbose) flags, which are obvious, and a path.
    In addition, I added a "dry run" (-d) flag, so you know what will happen before you commit to getting rid of dupes. Without further delay, here it is:
    https://github.com/sporkbox/dupekill
    AUR Project Page
    It's my first Python 3 app and the closest I've come to a truly useful piece of software.
    Comments and suggestions welcome.
    UPDATE (2011-11-04)
    dupekill v1.3 is out. I followed keenerd's optimization suggestions to make it run better. Next on the list is an AUR package.
    UPDATE (2012-06-12)
    dupekill 1.5 supports ignoring symlinks with `-i`. Also available in the AUR.
    UPDATE (2012-06-13)
    dupekill 1.6
    ignores device and character nodes as well as sockets and FIFO pipes.
    `-a` and `-v` will now display the file that a dupe is a copy of, or the original file that a symlink clashes with.
    Last edited by xelados (2012-07-25 17:43:49)

    keenerd wrote:
    This sha256 sums every file.  That could be quite slow.  For example:
    time find /{bin,opt,sbin,usr,lib,lib32,lib64,boot,etc} -xtype f -print0 | xargs -0 NNNsum > /dev/null
    sha256sum - 153 seconds (user)
    md5sum - 44 seconds (user)
    head -c 512 - 2.5 seconds (user)
    ls -l - 5.6 seconds (user)
    User time ignores IO, but I ran all on cold caches to be safe.
    Some suggestions for optimizations:  first stat the files and get the total size.  If the sizes match, then read and compare the first 512 bytes.  If those match, then md5 the files.  If those match, then sha512.  (While head looks like a fast operation, comparing the 512 bytes is not, so it goes after the size.)
    edit, added stats
    If I understand correctly, the idea is to only use up resources when needed, correct? If two files are of a different size, then obviously their contents will differ, for instance. I tested dupekill on my music collection and it surely took a little while. I imagine checking simpler things would improve the speed of the system. Thanks for the suggestion! I'll see what I can do to introduce something like that in the next version.
    Last edited by xelados (2011-10-19 11:40:15)

  • How can I save images and text data to the same file?

    I have been looking at ways to do this for a while. My main VI saves the raw data to a text file which the users then import to Excel and plot. I am trying to simplify this process and have been looking at ways to accomplish this task. I want to be able to save the raw data to a file and then save the Labview graph as well. This will eliminate the tedious task of importing the raw data into Excel and plotting it. I can save the raw data to its own file and I can use the Get Image method for the graph and save it to its own file. I am currently using the .png format. Is there a way of saving both to the same file ie, importing the image into Excel or Word etc. Before I go off doing a science project I wanted to see if anyone else had experience completing this task and had any recommendations. Thanks in advance for any help.

    well ther are a couple of ways. You could use the standard report generation VI's and make a complete report with the image of the graph embedded into the report with the raw data or you could use activeX and control excel thru LV and put the raw data into excel directly and have excel graph the data without any user interaction. I have posted a slew of VI's on the excel board if you do not have the report generation toolkit. If you could tell me which way you want to go I could possibly send you an example.
    For more information and some sample VI's and tool kits, you can go to the excel board
    Joe.
    "NOTHING IS EVER EASY"

Maybe you are looking for

  • Schedule a Background Job to Available Free Application servers

    Hi,     There is a requirement to develop a Wrapper program,which needs to schedule Background jobs by checking all the available free application servers and assigning it to them. For Eg: If there are 5 application servers in LIVE system,Then this p

  • Two problems with Snow Leopard

    I have two problems since I upgraded to Snow Leopard that I can't figure out how to fix. I have a Mac Mini hooked up to my TV and I from time to time remote into it and since upgrading I am getting an additional icon in my shares. If I click on it th

  • ADF 10.1.3 to ADF 11.1.1.2.0: Migration problem

    Hi all, I have an 10.x application built on ADF business component for model layer (no DB, only webservices) and ADF-JSF for view layer. I'm now trying to migrate the application to JDeveloper 11, and have got few errors during migration (I used stan

  • Alternative to Oracle 9i AS as Application Server

    Hi, Would like to check what are the other options besides using Oracle 9iAS as application server when I plan to migrate the application from client/server to web. Would appreciate if someone can share his/her opinion on this. It is quite urgent as

  • Extracting date in ADF 10g

    I have question in extracting in ADF 10g. I am working in a project, I am using ADF 10g, I am creating pages. One of this pages I need to make search by using the Month and the Year. The problem is I have the date in one column such as( Jan 16, 2009)