Determining file size

Ok, I know this is possible, so I must be having a brain
cramp this morning or something!
I have PDF documents on my site for people to view/download.
What I want to do is beside of the link for the PDF document have
the file size listed.
Is there an easy way to do this with CFMX7?
Thanks!!
Stacy

Use the cfdirectory tag it returns a query with an attribute
called size.
T

Similar Messages

  • Determining File Sizes

    I am involved in a photo contest that allows only minimal cropping of an image entered. Entries are allowed to be cropped no more than 20%, so entered file must be at least 80% of original size. Anybody have any suggestion as to an easy way to figure that out. What I need to know is the file size of the croppped VERSION relative to the original.
    Thanks
    HPL

    OK, I have been trying to determine percent cropped by comparing the total number of pixels (W x H) in the original compared to the cropped version, but I'm still not too sure that I'm doing this correctly. In the "Metadata View: File Info" HUD, I have a line for "Master Pixel Size" (2332 X 3504 in this case) and another line for "Pixel Size" (1704 X 2393 in this case). However, in the "Adjustments HUD" there is a "Crop" section and it is showing the pixel count as 2094 x 3150. I believe that the pixel count in the Adjustments HUD is probably the correct one for this particular crop, but if so, what accounts for the difference between that value, the "Master Pixel Size", and the "Pixel Size"? As cropping more than 20% will result in a DQ and as there is significant money involved in the contest (approx $70,000.00), I really need to get this right.
    I am finding this very confusing. Thanks,
    HPL

  • File Adapter determining file size

    I have added a Header Variable to my Receive activity so that I can capture the size of the file coming in. I've also added a "size" element to the InboundFileHeader.wsdl.
    I can't figure out how to populate that header variable! I was hoping it would just be populated automatically since I've added the element to the wsdl but no such luck, just null variables.
    Thanks.

    In 10.1.3.1 it does shows up as header variable, but fileadapter wsdl file has only filename and directory name as element.
    I have not tried to modify adapter wsdl file, but here is little hacky way to get the size:
    Let's your header variable is Variable_FileHeader, please defined two string variables naemd Variable_Header_String and Variable_Size, and doing following assign operation you should be able to get the file size.
    <copy>
    <from expression="ora:getContentAsString(bpws:getVariableData('Variable_FileHeader','/ns3:InboundFileHeaderType'))"/>
    <to variable="Variable_Header_String"/>
    </copy>
    <copy>
    <from expression="substring-before(substring-after(bpws:getVariableData('Variable_Header_String'),'&lt;size>'),'&lt;/size>')"/>
    <to variable="Variable_Size"/>
    </copy>
    HTH,
    Chintan

  • Determine file size as saved on disk

    When i open a file in PSCS5 I want to know the size of the file on disk without going to finder. The "Document size" shown at bottom of image frame is often, almost always, significantly different from that on disk.
    I am certain i am missing something simple.
    Thanks for help.
    vince

    There is no way to know the size on disk without looking at the saved file on disk, either in the Finder or Bridge.
    Photoshop doesn't show you the size on disk, just the size in memory.

  • File Adapter and Determining File Size

    I have added a Header Variable to my Receive activity so that I can capture the size of the file coming in. I've also added a "size" element to the InboundFileHeader.wsdl.
    I can't figure out how to populate that header variable! I was hoping it would just be populated automatically since I've added the element to the wsdl but no such luck, just null variables.
    Thanks.

    865094 wrote:
    ... if we have File protocol available inside proxy, where do we need File adapter then?The FileAdapter (JCA Resource) can be also used by BPEL/Mediator... I would always first consider using File protocol for OSB, unless there's some feature in the JCA adatper that may be interesting for a particular use case (like native format builder for example)...
    Cheers,
    Vlad

  • Determining remote file size.

    Hi All,
    I have written a program that downloads file resources across the internet using URL's. Stream based communications via URL allow me to download files however I am wondering if there is actually a way of determining the size of the file on the server side. Obviously I can determine file size on my system once the file is downloaded, however I want to be doubly shore that files are successfully downloading by first determining the size of the file on the server and then checking that file size against the file size on my computer. This has become necessary because occasionally files are downloading incorrectly and Exceptions are not being thrown in those instances.
    Regards
    Davo

    JProg,
    I am relatively new to programming so I am having some
    conceptual difficulties with your suggestion, it
    sounds really good, but I can't honestly say that I
    understand this fully.
    When you say "dump a java class on the server that
    will serve as a local file metadata querier" I am a
    little stumped. I have a basic understanding of what a
    metadata querier is (basically something that gets
    info off the server for you) however there are two
    things that I would appreciate help with:
    1). How does one go about dumping a java class onto
    the server?
    2). What class would one use?
    If you can provide any help with these two points it
    will be greatly appreciated. Thanks for the advice so
    far.
    Regards
    Davo
    What I meant is create a Java Class that queries File MetaData. Compile it, then put it on the server.
    Create an RMI server on the server-side that you would use as a proxy for this class.
    From the client-side, call the proxy via the RMI Stubs that were generated when you compiled rmi server. Pass the file name, the stub will send the filename to the querier proxy that serves as RMI server, then this proxy will call the actual file meta data querier passing to it the filename, get the metadata in return, and sends them back to the client.

  • Estimated File Size not updating

    I have a project in vers. 5.5 that I am exporting.
    I am saving as a Windows Media File and am going from 1080 to 720.  File size is critical, however the Estimate File Size in Encoder seems to get stuck.  For instance, if I half the frame rate I see no difference in file size.  I would think that there would be significant reduction in estimated file size if half the frames are being tossed.  Am I not understanding something about how this works?

    There are only two things that significantly affect file size - duration and bitrate.  Changing other specs may affect quality, but those two determine file size.

  • How to determine the size of a flat file attachment in a mail sender cc?

    Hi
    I use PI 7.11
    I have a scenario where a flat file attachment is being picked up by a MailSender adapter and if the size of the attached flat file is larger that 500 bytes the receiver is A and if the attachment is less that 500 bytes the receiver is B.
    I have checked the Context Object list in the Conditions section of Receiver Determination, and it seems, that only the file adapter allows for validation on the file size.
    I contemplated an extended receiver determination but the attachment is a flat file which just needs to be passed thru without being converted to an XML document, so my source document is not of XML format.
    An other but not very nice way would be to use an intermediate folder to drop the attachment in and from there use a file sender adapter and thus get access to the filesize attribute in my receiver determination, but I would like to avoid this.
    Any suggestions?
    BR MIkael

    Hi
    I have decided to make a module, where I plan to place the size of the attachment in the Dynamic Configuration variable "ProcessStep", but to my surprise, it seems that all the context objects in the receiver determination condition section are of type String and hence it is not possible to make a condition where I test for whether the value is smaller than say 500!? Only equal, NOT equal and LIKE are available (EX seems to be disabled as this probably only works in an xpath.
    Would one way be to use the xpath expression like this ns1:Main\ProcessStep < 500 where ns1: http://sap.com/xi/XI/System?
    MIkael

  • How to generate a csv report to determine paper size in a pdf or pdf/a file ?

    how to generate a csv report to determine paper size in a pdf or pdf/a file ?

    Use the cfpdf tag as follows:
    <cfpdf
        action = "getinfo"
        name = "pdf_info"
        source = "C:\temp\testFile.pdf">
    My Operating System is Windows. This tag gets information about testFile.pdf, and stores it in a structure. I have given this structure the name pdf_info. This structure has the key you are interested in, namely, pageSizes.
    Pdf_info.pageSizes is an array whose indices correspond to the respective page number in the PDF. You can use this to generate Comma-Separated Values (CSV) for each page.
    <!--- Initialize CSV list --->
    <cfset csv = "">
    <!--- Add headers or first row, followed by carriage-return --->
    <cfset csv = "Page,Height,Width" & chr(13)>
    <cfloop from="1" to="#arrayLen(pdf_info.pageSizes)#" index="i">
    <cfset row_info = i & "," & pdf_info.pageSizes[i]["height"] & "," & pdf_info.pageSizes[i]["width"] & chr(13)>
    <cfset csv = csv & row_info>
    </cfloop>
    <!--- Output CSV --->
    <cfoutput>#csv#</cfoutput>
    <!--- Write CSV to file --->
    <!--- <cffile action="write" file="C:\temp\output.csv" output="#csv#"> --->
    Done!

  • HT1222 how do i determine the file size of each download before i download it?

    How do i determine the file size of a down load before i download it?

    I have checked the update page and even checked more and can find no reference to file size.  I'm using a hotspot and some of the downloads cause me to go over my limit and incur extra charges.  I apperciate your help.

  • Determining the Size of a Time Machine Backup File

    When I highlight a Time Machine backup file and then click on Get Info under File to determine the size of the backup file, the disk drive works its heart out, but the Get Info window never arrives at a determination of the file size being seemingly stuck in the "calculating size" state.
    Anybody have an idea of what's going on?
    JohnnyS

    JohnnyS wrote:
    Regarding your statement: "If you Enter Time Machine (the "Star Wars" interface), from a Finder window with a "size" column, then browse your backups, you should be able to see the sizes easily." - what do you mean by the "Star Wars" interface?
    Ah, you are new to Time Machine. Sorry, that's how you view and restore from your backups. Hold your mouse down on the TM icon in your Menubar and select +*Enter Time Machine,+* or click the TM icon in your Dock, or the +*Time Machine+* app in your Applications folder.
    If I look at the pull-down menu under Finder, I do not see Enter Time Machine. Am I looking in the wrong place? Obviously, since I couldn't get by the first step, I never got to a "size" column, and to be honest, I don't know that I have ever seen a Finder window with a "size" column.
    You can add one, by selecting View > as List, then View > Show View Options in a Finder window's menubar, and select or de-select whatever columns you want.
    I'm a little embarrassed by my lack of knowledge, but if I don't acknowledge my shortcomings, I'll never get the question answered. Thanks for taking your time to try to help me.
    Don't be. We all started at zero at one time or another.
    I'm not sure just what you were looking for in your first post. The size of all your TM backups is just the amount used on your external disk, unless you have other data in the same partition (which isn't a good idea). Because of the way TM works, you can't really determine the size of an individual backup, and it really wouldn't mean much.
    Perhaps if you clarified just what you want to know, we can help answer it.
    For more info on Time Machine, you might want to review these:
    Time Machine Tutorial
    Time Machine 101
    How to back up and restore your files
    Time Machine Features
    Apple - Support - Mac OSX v10.5 Leopard Time Machine
    and perhaps browse the Time Machine - Frequently Asked Questions *User Tip* at the top of this forum.
    If you have a problem setting-up or using Time Machine, start with the Time Machine - Troubleshooting *User Tip* at the top of this forum. It will show you how to locate the message(s) that describe the problem, then help you fix it.

  • How to determine the size of a file on application server

    Hello,
    using open dataset I have created a file on the application server and have put some data into the file.
    Now I want to know the size of this file.
    Is there a function module to do this ?
    Best regards
    Michael

    Hi,
    Use Function module   'EPS_GET_FILE_ATTRIBUTES'
    DATA fsize TYPE epsf-epsfilsiz.
    CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
      EXPORTING
        file_name =     " here provide filename
        dir_name  =    "  here provide directory
      IMPORTING
        file_size = fsize.
    WRITE: 'File size' , fsize.
    Regards,
    Ravi

  • Settings to determine the output file size

    I have an 8 minute music video that I'm trying to upload to a site that accepts a maximum file size of 65mb.  I've tried several different codec but I can only get it down to 75mb.  Any suggestions on a format that will give a small size but still retain good audio quality?

    To get 8 mins under 75 Mbs, you'll have to test bit rates in the 800Kb to 1.2 Mb range to see what you get for quality.
    H.264 is sort of the go-to codec for Web delivery. But if you can, also check out the x.264 decoder, which has a strong following…particularly when it comes to lower bit rate files.
    Good luck.
    Russ

  • PDF File Size - any way to compress further?

    We have are using the Crystal for .NET export method to export a report to a .pdf file, and are having an issue with the pdf file size on a report that contains images.  The images are stored in a SQL2005 database as blob or varbinary(max).  The report executes a stored procedure that selects data (including images) to produce a quotation.  There are input parms to decide which images to print (for example A, B or both A&B). Both types of images can appear at the line level on the quotation. Type A images print in the main report, Type B images are in a subreport.  Both the main report & subreport execute a stored procedure to select an image type.
    Our issue, when both Type A and B image is selected to print on a 293 line quote.  The PDF file size is 44.23MB
    When Type A only is selected, the PDF file size is 2.64MB
    When Type B only is selected, the PFD file size is 43.95MB.
    There are more Type B images that would print at the line level than Type A, but is there any way to compress this down further as it is too large to email.

    You mention that you are using Crystal for .NET, but not what version; CR for .NET 2003, 2005, 2008. 2010?
    Applying the latest fixes for the correct version of CR would be the first thing to do.
    Next, I'd have a close look at image B as it appears to be the one adding the most "bulk". How is this image different from image A?
    General tips re. images:
    Save the files a BMPs.
    When .jpg image is inserted into Crystal Reports it is converted into bitmap format and as the result of the conversion the report may loose some quality, scale and other issues may arise... E.g.; Crystal Reports is not so good a graphics management tool
    When an image is saved as a .bmp, then there is no conversion required and thus the quality of the image should be preserved.
    Best practice: save the image with high resolution and required size as a .bmp format then insert this image into Crystal Reports.
    Resize the image to the smallest possible size and downgrade the DPI to 72. This will ensure your image is as small as possible and Crystal Reports will have to put in the least amount of work to display it.
    Have a look ar KB [1241630 - Exporting a Crystal report (XI) to PDF generates a big PDF file|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233343331333633333330%7D.do]. This KB, may apply to your version of CR, or not. In any case, you will have to use the KB as a guide and determine what the appropriate registry entry would be for your version of CR.
    One more thing. Many people like to use jpg files as they are smaller than bmp files. However, as far as Crystal Reports is concerned, this is inconsequential. The report file will be the same size if a file is inserted as a jpg or a bmp. This is due to the jpg conversion to bmp Crystal Reports does internally.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Problem with CS2 edit file size

    When I create a new version of a 3-4mb original, make a few simple modifications in CS2 and save back to Aperture the resulting version is almost 70mb. If I export this version from Ap back to my desktop and check file size it is back to near the original size. Yet, when I check the file size stored in my Ap library, it is 70mb. This will fill my hard drive in a hurry! Can someone help explain this ??

    I did a little more experimenting by making external edits in PS on a 3.9mb JPG file in both Aperture and Lightroom to see what the resulting file sizes were. In both cases I left the master outside the library so that I could see file additions in both the application library and in the folder containing the originals and revisions. I looked into the file directories to determine real file sizes rather than relying on info from the applications. The increase in library file size was small in both apps. However, there was a significant difference in the revised file size between Aperture & Lightroom in the folders containing the originals. The best I could do in Aperture produced a 24.6mb psd revised file, which showed as a version in the App., in addition to the master. Lightroom gives the option to revise the master or revise a copy of the master when exporting. When revising a copy of the master, the result was a new jpg file approximately the same size as the master - 3.9mb - which appeared as a version. This is what I would like to be able to do in Aperture.
    I have been using PS for several years for all my photo enhancements and have developed a pretty comfortable and effective routine. Having used Aperture for a couple of months now, I can see that most minor edits can be done more easily in Aperture, but the same is true of Lightwell. Although I would probably only use PS on less than 25% of my keeper photos, this increased storage requirement seems more trouble than the advantages of Aperture vs Lightroom are worth. Maybe Apple will make a change in the next revision that will effect this situation and make Aperture more desirable for JPG shooters.
    Thanks Again,
    Bob

Maybe you are looking for

  • Process Report Shipping

    Hi all, I am getting error while processing report shipping. I have processed sales order and the delivery so the report shipment has been triggered. Now I want to process the report shipping by using Tcode-CVD1. I have changed the status "Order rele

  • Run test uut entry point only once

    Hi, I want to avoid that users can run test uuts entry point more than once. I use an operator interface written in CVI 7.1.1 and netry point button is deactivated when run state changes. But after loading the application sometimes is too slow so the

  • Mapping of Payer (KNRZE) in Access Sequence

    When i assign the condition tables in Access Sequence, it assigns the field to document structure automatically. Is there a way I can change the assignment. For example, I am trying to assign Payerc (KNRZE) to Customer number.  However, system assign

  • Can't delete synchronize

    when I delete a row ,because of finding child record ,it can't committed to database,but in the jspx,the record has been deleted.And how to synchronize?

  • How do i uninstall Skype from Windows 8 system

    how do i uninstall skype 8 from a windows 8 system please