How to cffileupload and store file paths in a database?

I'm using CF 9 and have multi-file uploading working. What I need help with is a help desk type page that will display the filenames with links to the files that are uploaded with the form that a user submits. When I view an admin page, I need to see the email form results with a list of the files uploaded and links to where they are.
Any ideas on how I can get an admin page to display only the files associated with each form submission? I'm assuming that I need to find a method of stroring each uploaded file path to a database but I don't know how to do that. Any help would be appreciated. Thanks

You could proceed as follows:
1) Create a database table named uploadedFile. The columns could be, for example,
upload_id: INT, autoincrement, primary key
datetimecreated: DATETIME
serverfile: VARCHAR(50)
serverdirectory: VARCHAR(30)
2) Do your multi-upload, for example,
myMultiUploader.cfm
<cffileupload url="myUploadFiles.cfm" width="600" ... etc>
myUploadFiles.cfm
<cffile action = "uploadAll" destination = "c:\myUploads" nameConflict = "overwrite">
<!--- This is where your question gets answered --->   
<!--- All the information about each uploaded file is stored in the cffile structure. ColdFusion creates one cffile struct for each and every file you upload in a single upload round --->
<!--- Save the information about each file to the database. The back slash \ often serves the purpose of an escape character. So I've replaced it with the forward slash / in the file path. --->
<cfquery name="saveUploadInfo" datasource="myDSN">
    insert into uploadedfile (datetimecreated, serverdirectory, serverfile)
    values (#cffile.timecreated#, '#replace(cffile.serverdirectory,"\","/","all")#', '#cffile.serverfile#')
</cfquery>
<!--- You could in fact log (and review) all the upload data by means of the following --->
<!--- <cflog file="uploadData" text="#serializeJson(cffile)#"> --->

Similar Messages

  • How to read and image file in a BLOB database filed

    I’m using Oracle Reprots 10g
    I have a database filed of type BLOB ( that can be BMP, GIF, JPG, PDF ..etc .. it can be any format/extension)
    From Oracle Reports how I can display this image file

    Hello,
    Extract of the Reports Builder Help :
    Selecting an image from the database
    Note: These steps, and the steps to link an image object to a file (for paper-based reports only), allow you to include images in a wide variety of formats supported by Oracle Reports, including JPEG (all types, such as Progressive JPEG and Exif JPEG), PNG, BMP, TIFF, GIF, and CGM.
    For paper-based reports, you can also use InsertImage to import an image from a file into the report layout for images in the following formats: TIFF, JFIF, BMP, TGA, PCX, PICT, GIF, CALS, RAS, OIF, PCD.
    To select an image from the database:
    Create a query that selects a column containing images or the filenames of image objects.
    In the Data Model view, double-click the image column to display the Property Inspector.
    If the column contains the filenames of image objects, rather than the images themselves:
    Under the Column node, set the Read from File property to Yes.
    In both cases (a column containing images or a column containing the filenames of image objects): under the Column node, set the File Format property to Image.
    Regards

  • How to upload and store pic in database through Servlet

    Hi
    I am new to servlet programming. I need some help i am developing shopping cart of pictures
    I have problem in admin module
    When admin upload new picture and description of picture
    i want to store information of uploaded picture in database so that user can view new photographs for shopping
    Now problem is that how to upload and store picture in database and how to retrive picture from datebase and disply on user end
    I am in great difficulty
    I need some sample code
    Can some one help me
    I shall be very thankful

    Use BLOBS to upload and download image files into the database....
    Here is a sample code for doing it from one of my earlier posts....
    http://forum.java.sun.com/thread.jsp?forum=31&thread=143837
    Once you get the file from the database, use the image tag in HTML to display your picture....
    Let me know if you have any further questions....

  • Extract image and its file path

    Hi
    Here is my HTML source and i want to extract all <img tag and its file path in comma separated string using javascript or in Java
    <head>
    <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <meta name=ProgId content=Word.Document>
    <meta name=Generator content="Microsoft Word 9">
    <meta name=Originator content="Microsoft Word 9">
    <link rel=File-List href="./index_files/filelist.xml">
    <link rel=Edit-Time-Data href="./index_files/editdata.mso">
    <!--[if !mso]>
    <style>
    v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    </style>
    <![endif]-->
    <title>Untitled Document</title>
    <!--[if gte mso 9]><xml>
    <o:DocumentProperties>
    <o:Author>fsl</o:Author>
    <o:LastAuthor>fsl</o:LastAuthor>
    <o:Revision>19</o:Revision>
    <o:TotalTime>15</o:TotalTime>
    <o:Created>2005-03-22T05:22:00Z</o:Created>
    <o:LastSaved>2005-03-22T06:00:00Z</o:LastSaved>
    <o:Pages>1</o:Pages>
    <o:Words>572</o:Words>
    <o:Characters>3263</o:Characters>
    <o:Company>fsl</o:Company>
    <o:Lines>27</o:Lines>
    <o:Paragraphs>6</o:Paragraphs>
    <o:CharactersWithSpaces>4007</o:CharactersWithSpaces>
    <o:Version>9.3821</o:Version>
    </o:DocumentProperties>
    </xml><![endif]-->
    <style>
    <!--
    /* Font Definitions */
    @font-face
         {font-family:Verdana;
         panose-1:2 11 6 4 3 5 4 4 2 4;
         mso-font-charset:0;
         mso-generic-font-family:swiss;
         mso-font-pitch:variable;
         mso-font-signature:536871559 0 0 0 415 0;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
         {mso-style-parent:"";
         margin:0in;
         margin-bottom:.0001pt;
         mso-pagination:widow-orphan;
         font-size:12.0pt;
         font-family:"Times New Roman";
         mso-fareast-font-family:"Times New Roman";
         color:black;}
    a:link, span.MsoHyperlink
         {color:blue;
         text-decoration:underline;
         text-underline:single;}
    a:visited, span.MsoHyperlinkFollowed
         {color:blue;
         text-decoration:underline;
         text-underline:single;}
    @page Section1
         {size:8.5in 11.0in;
         margin:1.0in 1.25in 1.0in 1.25in;
         mso-header-margin:.5in;
         mso-footer-margin:.5in;
         mso-paper-source:0;}
    div.Section1
         {page:Section1;}
    /* List Definitions */
    @list l0
         {mso-list-id:1671522707;
         mso-list-type:hybrid;
         mso-list-template-ids:173077734 -1217256714 -1762734104 -1820561022 223512234 -1498092540 -253197138 -1503254310 -1644162396 -2077876560;}
    @list l0:level1
         {mso-level-number-format:bullet;
         mso-level-text:\F0B7;
         mso-level-tab-stop:.5in;
         mso-level-number-position:left;
         text-indent:-.25in;
         mso-ansi-font-size:10.0pt;
         font-family:Symbol;}
    @list l1
         {mso-list-id:1706909113;
         mso-list-type:hybrid;
         mso-list-template-ids:-1244391706 -178735898 -2037087144 -1764829932 -501428334 -1957922170 -877602540 2125899716 -1534562732 181023898;}
    @list l1:level1
         {mso-level-number-format:bullet;
         mso-level-text:\F0B7;
         mso-level-tab-stop:.5in;
         mso-level-number-position:left;
         text-indent:-.25in;
         mso-ansi-font-size:10.0pt;
         font-family:Symbol;}
    ol
         {margin-bottom:0in;}
    ul
         {margin-bottom:0in;}
    -->
    </style>
    <!--[if gte mso 9]><xml>
    <o:shapedefaults v:ext="edit" spidmax="1027"/>
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <o:shapelayout v:ext="edit">
    <o:idmap v:ext="edit" data="1"/>
    </o:shapelayout></xml><![endif]-->
    </head>
    <body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
    <div class=Section1>
    <div align=center>
    <table border=0 cellspacing=1 cellpadding=0 width=100 bgcolor="#003399"
    style='width:75.0pt;mso-cellspacing:.7pt;background:#003399;mso-padding-alt:
    0in 0in 0in 0in'>
    <tr>
    <td style='background:white;padding:0in 0in 0in 0in'>
    <div align=center>
    <table border=0 cellspacing=0 cellpadding=0 width=549 style='width:411.75pt;
    mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr style='height:1.5pt'>
    <td style='padding:0in 0in 0in 0in;height:1.5pt'>
    <p class=MsoNormal align=right style='text-align:right;mso-line-height-alt:
    1.5pt'><img width=247 height=36 id="_x0000_i1025" src="images\fsl.jpg"></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td style='background:#C6EAFD;padding:0in 0in 0in 0in;height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><img width=600
    height=202 id="_x0000_i1026" src="images\banner1.jpg"></p>
    </td>
    </tr>
    <tr>
    <td style='background:#C6EAFD;padding:0in 0in 0in 0in'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;
    mso-cellspacing:0in;mso-padding-alt:1.5pt 1.5pt 1.5pt 1.5pt'>
    <tr style='height:1.5pt'>
    <td width="38%" style='width:38.0%;padding:1.5pt 1.5pt 1.5pt 1.5pt;
    height:1.5pt'>
    <p class=MsoNormal><![if !supportEmptyParas]> <![endif]><span
    style='font-size:2.0pt;mso-bidi-font-size:12.0pt'><o:p></o:p></span></p>
    </td>
    <td width="62%" style='width:62.0%;padding:1.5pt 1.5pt 1.5pt 1.5pt;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><b><span
    style='font-size:10.0pt;font-family:Verdana;color:#FF6600'></span></b></p>
    </td>
    </tr>
    <tr>
    <td colspan=2 style='padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr>
    <td width="27%" style='width:27.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal> </p>
    </td>
    <td width="73%" style='width:73.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Verdana;
    color:#FF6600'></span></b></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    <tr>
    <td colspan=2 style='padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr>
    <td width="15%" style='width:15.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal> </p>
    </td>
    <td width="85%" style='width:85.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Verdana;
    color:#FF6600'></span></b></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    <tr style='height:21.0pt'>
    <td style='background:white;padding:0in 0in 0in 0in;height:21.0pt'>
    <p class=MsoNormal align=center style='text-align:center'><b><span
    style='font-family:Verdana;mso-bidi-font-family:Arial'></span></b></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td valign=top style='background:white;padding:0in 0in 0in 0in;height:1.5pt'>
    <div align=center>
    <table border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;
    mso-cellspacing:0in;mso-padding-alt:3.0pt 3.0pt 3.0pt 3.0pt'>
    <tr style='height:69.75pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1027" src="images\1.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline</span></i> <span
    style='font-size:13.5pt;font-family:Arial;color:#33CCCC'>ERP</span><b><span
    style='font-family:Arial;color:#33CCCC'> </span></b></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal style='text-align:justify'><b><span style='font-size:
    7.5pt;font-family:Verdana'>E</span></b><span style='font-size:7.5pt;
    font-family:Verdana'>nterprise <b>R</b>esource <b>P</b>lanning An ERP system supports the planning of the utilization of the enterprises resources, primarily production, distribution and servicing resources, i.e. inventory, production capacity, logistics capacity, employee work hours, etc.<o:p></o:p></span></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'><br>
    The system works in the modular form and provides complete solution for a small to a large enterprise thus caters to their diverse needs from a simple to complex resource planning and management solution.</span></p>
    </td>
    </tr>
    <tr>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    </tr>
    <tr style='height:69.75pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1028" src="images\2.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline </span></i> <span
    style='font-size:13.5pt;font-family:Arial;color:#33CCCC'>e-Showroom</span><b><span
    style='font-family:Arial;color:#33CCCC'> </span></b></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal style='text-align:justify'><i><span style='font-size:
    7.5pt;font-family:Verdana'>frontline </span></i><b><span
    style='font-size:7.5pt;font-family:Verdana'></span></b><span
    style='font-size:7.5pt;font-family:Verdana'> has conceptualized, designed and developed B2B and B2C Portals. The portal provides business rules based shopping for bulk consumers, dealers, corporates & customers. Satellite shops could be setup from the portal that could sell selected / all products from the online shopping mall.
    </span></p>
    </td>
    </tr>
    <tr style='height:12.0pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:12.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:12.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:12.0pt'>
    <p class=MsoNormal> </p>
    </td>
    </tr>
    <tr style='height:69.75pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1029" src="images\3.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline</span></i> <b><span
    style='font-family:Arial;color:#33CCCC'>SFA</span></b></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal style='text-align:justify'><b><span style='font-size:
    7.5pt;font-family:Verdana;mso-bidi-font-family:Arial;color:#999999'><o:p></o:p></span></b></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'>A Sales Force Automation System
    To organize, manage and improve sales call tracking - helps you SELL more. The most powerful sales force automation system - Automates your company�s sales efforts enabling sales people across the entire sales cycle with contact management, email, fax, SMS and task scheduling.
    frontline SFA helps to make the sales pipeline completely transparent, enabling sales teams to track every lead and follow each deal throughout the sales cycle. It enables the Organization to standardize the sales process and to view, manage and control all the activities & information on a real time basis. <o:p></o:p></span></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'><br>
    </span></p>
    </td>
    </tr>
    <tr>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    </tr>
    <tr style='height:63.0pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:63.0pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1042" src="images\4.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:63.0pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline</span></i> <b><span
    style='font-family:Arial;color:#33CCCC'>CMS </span></b><o:p></o:p></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:63.0pt'>
    <p class=MsoNormal style='text-align:justify'><b><span style='font-size:
    7.5pt;font-family:Verdana;color:#999999'>An Email marketing tool...
    <o:p></o:p></span></b></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'>frontline CMS facilitates bulk e - mailing, bulk SMS and bulk mailing and is a very easy operable tool for marketing. It is a very strong web based application having user-friendly interface enabling user to reach thousand of his contacts round the globe through email and SMS just on one click. </span><o:p></o:p></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'>  </p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <table border=0 cellspacing=1 cellpadding=0 width="100%" bgcolor="#006699"
    style='width:100.0%;mso-cellspacing:.7pt;background:#006699;mso-padding-alt:
    3.0pt 3.0pt 3.0pt 3.0pt'>
    <tr>
    <td style='background:white;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr style='height:1.5pt'>
    <td colspan=2 valign=bottom style='padding:0in 0in 0in 0in;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><b><span
    style='font-size:10.0pt;font-family:Verdana;color:#000099'>To know
    more about the multi-fold Path rewards:</span></b></p>
    </td>
    </tr>
    <tr style='height:48.0pt'>
    <td width="54%" style='width:54.0%;padding:0in 0in 0in 0in;
    height:48.0pt'>
    <ul type=disc>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l0 level1 lfo3;tab-stops:list .5in'><span
    style='font-size:10.0pt;font-family:Verdana'>Call Frontline at
    91.11.2921.2331/2</span></li>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l0 level1 lfo3;tab-stops:list .5in'><span
    style='font-size:10.0pt;font-family:Verdana'>E-mail: <a
    href="mailto:[email protected]">[email protected]</a></span></li>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l0 level1 lfo3;tab-stops:list .5in'><span
    style='font-size:10.0pt;font-family:Verdana'>Visit us at: <a
    href="http://www.fsltechnologies.com" target="_blank">www.fsltechnologies.com
    </a></span></li>
    </ul>
    </td>
    <td width="46%" style='width:46.0%;padding:0in 0in 0in 0in;
    height:48.0pt'>
    <ul type=disc>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l1 level1 lfo6;tab-stops:list .5in'><b><span
    style='font-size:10.0pt;font-family:Verdana'>Contact us at</span></b><span
    style='font-size:10.0pt;font-family:Verdana'><br>
    M-6, M Block Market,<br>
    Greater Kailash - II<br>
    New Delhi - 110048, India</span></li>
    </ul>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><o:p></o:p></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><a
    href="www.fsltechnologies.com" target="_blank"><span style='text-decoration:
    none;text-underline:none'><img border=0 width=250 height=60
    id="_x0000_i1043" src="images\logo.gif"></span></a></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <table border=0 cellspacing=1 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:.7pt;mso-padding-alt:3.0pt 3.0pt 3.0pt 3.0pt'>
    <tr>
    <td style='padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    10.0pt;font-family:Verdana'>FSL Software Technologies Ltd an ISO
    9001:2000 certified company and a leading software solutions provider,
    we realize that in today's competitive environment, business must keep
    pace with the speed of thought. And we believe that your ideas and
    enterprises deserve substantial reinvention. We address the changing
    needs of your business with solutions that are cost-effective, fast to
    deploy, highly scalable and reliable</span></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><o:p></o:p></p>
    </td>
    </tr>
    </table>
    </div>
    <p class=MsoNormal align=center style='text-align:center;mso-line-height-alt:
    1.5pt'><o:p></o:p></p>
    </td>
    </tr>
    </table>
    </div>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    </table>
    </div>
    <p class=MsoNormal><span style='color:windowtext'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
    </div>
    </body>
    </html>
    How i do that
    Regards
    Shambhu

    The functionality that you require is not available to VBA/COM - it is only exposed via C/C++.
    However, you could retrieve the ENTIRE page image to the clipboard and then use whatever VB/VBA methods you choose to grab a section of the image.
    Of course, this all assumes that Adobe Acrobat is installed on each person's computer that will be using the solution since Reader does not have the necessary APIs and Acrobat can't be installed on a server.

  • How to assign the downloaded file path in dropdown menu dynamically?

    I have one jsp page. In that jsp page one dropdown menu is there. Dropdown menu contains "save" and "saved content". I download the file using "save" option in menu. That downloaded file path is assigned to the below of the "saved content" option. Then i clicked that downloaded file path, that file will be open.
    My problem is how to assign the downloaded file path in dropdown menu. plz help me.

    dittu wrote:
    My problem is how to assign the downloaded file path in dropdown menu. plz help me.I don't understand your problem.

  • How to select and store the dynamically clicked values in the checkboxes?

    Hi Gurus
    How to select and store the dynamically clicked values in the checkboxes?
    Scenario:-
    I am having a tree structure but I am not getting that user has clicked the which nodes.
    So how to do it.
    Pls.

    Hi,
    Once again, this is dependent on what your implementation expects. It would seem that your implementation is expecting all of the API to be coded in Java Card so it would make sense that you would load these packages like any other package. Loading an applet is not a special case, it just has an extra step of installing instances of it (and can actually be installed). Any other Java package just needs to be loaded. As such, just load your CAP files for each package of the API before loading any code that depends on it.
    Cheers,
    Shane

  • How do I get a file path from my Document?

    Hi,
    I encountered a very strange problem with absolute and relative file paths.
    Getting to the point:
    Myfolder ---> MainPage.pdf
    Subfolder---> Project.pdf
    SubsubFolder ---> Search.pdf
    So we have Myfolder with the Mainpage.pdf  , from there I use a bookmark to go the Subfodler and use bookamarks to browse throu the Project.pdf and then I go even deeper when i want to use the search.query to get items from the Search.pdf which is in the Subsubfolder
    So my path looks like:
    Ofc the search type is boolean
    search.query("MyTxt","Folder","../Myfolder/Subfolder/Subsubfolder");
    And here's the problem - it does not work on every computer.
    So the question is, how can i get the filepath from MainPage and use it in my search.query to avoid this problem?
    Any suggestions are welcome!

    You can use the "split" method of the  string object to get the path into an an array and then combine all but the last element.
    // get full path and file name
    var cPath = this.path;
    // split ful path into an arrayl
    var aPath = cPath.split("/");
    // build the directory path
    var cDir = "";
    // loop through the array omitting first and last elements
    for(i = 1; i < aPath.length - 1; i++) {
    cDir = cDir + "/" + aPath[i];
    } // end of building directory path
    console.println("Directory path: " + cDir);

  • How Do I get a File Path from a FileName?

    Hi there,
    I was wondering how do i get a file path(i.e) directory only from a file name.
    Say i got a file called "C:\Test.txt" is there a method in java that will allow me to only get "C:\"?
    I've tried getPath(), getAbsolutePath() and they all return the directory and the file itself.
    Please Help
    James

    String path = file.getPath();
    String name = file.getName();
    int i=0;
    for(i=0; i< (path.length()-name.lenth() ); i++){
    String temp = path.substring(i, i+name.length());
    if(temp.equals(name) break;
    return path.substring(0,i);

  • What is a  Logical and Physical file path in sap?

    what is a  Logical and Physical file path in sap?

    Hi,
    Physical file is what you see from the OS level.
    Logical file is what ABAP code can call certain functions to read/write.
    Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
    To extract the physical path from the logical path name
    DATA: lf_mandt TYPE sy-mandt,
            lf_opsys TYPE sy-opsys.
      lf_mandt = sy-mandt.
      lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
      CALL FUNCTION 'FILE_GET_NAME'
        EXPORTING
          client           = lf_mandt
          logical_filename = p_unix
          operating_system = lf_opsys
        IMPORTING
          file_name        = gwa_input
        EXCEPTIONS
          file_not_found   = 1
          OTHERS           = 2.
      IF sy-subrc EQ 0.
      Concatenating the physical path and the input unix file name
        CONCATENATE gwa_input p_file INTO gf_file .
      ENDIF.
    Reward if helpful.
    Regards,
    Ramya

  • Logical and physical file paths

    Hi,
    can anyone elobrate me  on what are logical and physical file
    paths ?

    hi,
    Follow this link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
    File format determination (Required / optional fields and field checks).
    Logical File Path configuration through transaction 'FILE'. A new physical file path should be created on operating system level or an existing one can be used if agreed. The Basis team member should create a new file path at operating system level, if required.
    Hope this helps, Do reward.

  • Diff between logical and physical file path

    Hi ,
    Could you please explain difference between logical and physical file path's and their importance in ABAP.
    Thanks and regards,
    shyla

    Hi
    The function module FILE_GET_NAME convert a logical path into its corresponding physical path.
    The advantage of using logical pathes within your applications is obivous:
    If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
    The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your R/3 System is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level.
    Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.
    To make programs portable, the R/3 System has a concept of logical filenames and paths. These are linked to physical files and paths. The links are created in special tables, which you can maintain according to your own requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one.
    Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by
    Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names.
    For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc.
    Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction.
    To create a logical filename, choose Logical filename definition, client-independent from the Navigation group box in Transaction FILE, then choose New entries. You define logical filenames
    You can either define a logical filename and link it to a logical path (as displayed here), or you can enter the full physical filename in the Physical file field. In the latter case, the logical filename is only valid for one operating system. The rules for entering the complete physical filename are the same as for the definition of the physical path for the logical file. To display further information and a list of reserved words, choose Help.
    If you link a logical path to a logical file, the logical file is valid for all syntax groups that have been maintained for that logical path. The filename specified under Physical file replaces the reserved word  in the physical paths that are assigned to the logical path. To make the name independent of the operating system, use names that begin with a letter, contain up to 8 letters, and do not contain special characters.
    Save your changes.

  • Can I hide the Adobe Reader panel with "Export, Create and Edit PDF and Send and Store Files"? I don't use it and it takes up space

    Can I hide the Adobe Reader panel with "Export, Create and Edit PDF and Send and Store Files"? I don't use it and it takes up space

    If you just mean, can I close it, sure. In Reader XI click the Tools button to close or reopen it.

  • How to copy and paste file in mavericks

    how to copy and paste file in mavericks?

    Spoombung wrote:
    I actually can't get copy and paste to work in Mavericks!!!
    Is it me, or is there something wrong with it? I can hardly believe this was overlooked....
    Obviously it was not overlooked.
    Select a file, go to the edit menu and choose Copy, open another folder and choose Paste from the edit menu.
    What happened (error messages etc)

  • Backup DB with dynamic sql - want to substitute in dbname and disk file path

    Re: Backup DB with dynamic sql - want to substitute in dbname and disk file path
    Hope I can explain this. Below is a small snippet of code. I want to set @SQLTemplate_TSQL once at the top of the script and then execute the SET @SQLCommand and sp_executesql in a loop that reads a list of databases. It all works, except for the
    BACKUP DATABASE. Right now it evaluates when the SET @SQLTemplate_TSQL is evaluated. I want it to evaluate when it is executed. I want the DB_NAME() of the USE @dbname.
    -- change @dbname and @dbbackuppath
    DECLARE @SQLCommand NVARCHAR(MAX)
    DECLARE @SQLTemplate_TSQL NVARCHAR(MAX)
    DECLARE @dbname varchar(128) = 'Bank04'
    -- one time setting of @SQLTemplate_TSQL
    set @SQLTemplate_TSQL =
    DECLARE @dbbackuppath varchar(128) = ''''d:\backups''''
    IF RIGHT(@dbbackuppath, 1) <> ''''\''''
    SET @dbbackuppath = @dbbackuppath + ''''\''''
    SET @dbbackuppath = @dbbackuppath + DB_Name() + ''''.bak''''
    PRINT @dbbackuppath
    BACKUP DATABASE ' + DB_NAME() + ' to DISK=''' + QUOTENAME(@dbbackuppath, CHAR(39)) + '''
    -- Execute this several times over different databases
    SET @SQLCommand = '
    USE ' + QUOTENAME(@dbname) + ';
    EXEC(''' + @SQLTemplate_TSQL + ''') '
    PRINT @SQLCommand
    EXECUTE sp_executesql @SQLCommand

    Here is a stripped down version of my code. Someone writes a script. I then take the script and seperate it by GO statement block. Each GO block gets its own row into the
    #SQLTemplate_TSQL. I then replace single quote with 4 quotes and run it. Then I run against my list of databases. I am unable to get the BACKUP DATA base to work with this model.
    Run scripts against multiple databases.sql
    Do a FIND on "CHANGE THIS" to see the databases returned from the SELECT statement
    DECLARE @DatabaseName varchar(128)
    DECLARE @SQLCommand NVARCHAR(MAX)
    DECLARE @SQLTemplate_Seq INT
    DECLARE @SQLTemplate_OperationDesc NVARCHAR(128)
    DECLARE @SQLTemplate_TSQL NVARCHAR(MAX)
    DECLARE @SQLTemplate_Diagnostics INT
    DECLARE @Note VARCHAR(500)
    IF OBJECT_ID('tempdb..#SQLTemplate_TSQL') IS NOT NULL
    DROP TABLE #SQLTemplate_TSQL
    CREATE TABLE [dbo].[#SQLTemplate_TSQL](
    [SQLTemplate_RecID] [int] Identity,
    [SQLTemplate_ID] [int] NOT NULL,
    [SQLTemplate_Seq] [int] NOT NULL,
    [SQLTemplate_OperationDesc] [varchar](128) NOT NULL,
    [SQLTemplate_TSQL] [varchar](max) NOT NULL,
    [SQLTemplate_Diagnostics] [int] NOT NULL,
    [SQLTemplate_Enabled] [int] NOT NULL)
    DELETE FROM #SQLTemplate_TSQL WHERE SQLTemplate_Seq = 65
    DECLARE @SeqID INT
    SELECT @SeqID = MAX(SQLTemplate_ID) FROM #SQLTemplate_TSQL
    SET @SeqID = ISNULL(@SeqID,0)
    SET @SeqID = @SeqID + 1
    INSERT INTO #SQLTemplate_TSQL VALUES(@SeqID ,65,@SeqID,'
    SELECT * FROM ifs_config
    ',1,1)
    SET @SeqID = @SeqID + 1
    INSERT INTO #SQLTemplate_TSQL VALUES(@SeqID ,65,@SeqID,'
    DECLARE @HistoryODS INT
    SET @HistoryODS = 1
    SELECT * FROM ifs_tablelist WHERE HistoryODS = @HistoryODS and Tablename like ''''%HIST%''''
    ',1,1)
    -- Setup Cursor to Loop through each of the Prior Period databases
    DECLARE db_cursor CURSOR FOR
    SELECT [Database Name] --<<<<<<<< CHANGE THIS SELECT statement to select DBs >>>>>>
    FROM v_ifs_PPODSDBInfo_Curr
    WHERE [Database Frequency] <> 'CURRENT'
    ORDER BY [Database Frequency], [Database Number]
    OPEN db_cursor
    FETCH NEXT FROM db_cursor INTO @DatabaseName
    -- Loop through each of the databases
    WHILE @@FETCH_STATUS = 0
    BEGIN
    -- Setup Cursor to Loop through each of the SQL Statements
    DECLARE #SQLTemplate_TSQL_cursor CURSOR FOR
    SELECT [SQLTemplate_TSQL], [SQLTemplate_OperationDesc], [SQLTemplate_Seq], [SQLTemplate_Diagnostics]
    FROM #SQLTemplate_TSQL
    WHERE [SQLTemplate_Enabled] = 1 AND SQLTemplate_Seq = 65
    ORDER BY SQLTemplate_ID
    OPEN #SQLTemplate_TSQL_cursor
    FETCH NEXT FROM #SQLTemplate_TSQL_cursor INTO @SQLTemplate_TSQL, @SQLTemplate_OperationDesc, @SQLTemplate_Seq, @SQLTemplate_Diagnostics
    -- Loop through each of the SQL statements
    WHILE @@FETCH_STATUS = 0
    BEGIN
    SET @SQLCommand = '
    USE ' + QUOTENAME(@Databasename) + ';
    EXEC(''' + @SQLTemplate_TSQL + ''') '
    EXECUTE sp_executesql @SQLCommand
    FETCH NEXT FROM #SQLTemplate_TSQL_cursor INTO @SQLTemplate_TSQL, @SQLTemplate_OperationDesc, @SQLTemplate_Seq, @SQLTemplate_Diagnostics
    END
    CLOSE #SQLTemplate_TSQL_cursor
    DEALLOCATE #SQLTemplate_TSQL_cursor
    FETCH NEXT FROM db_cursor INTO @DatabaseName
    END
    CLOSE db_cursor
    DEALLOCATE db_cursor

  • How can i call this file path into my bsp-html  to display the images?

    Hi
    I have a file path for an image like c:/test_logo.bmp.
    How can i call this file path into my bsp-html  to display the images?
    moosa

    Try this...
    Can i have  sample code in BSP-HTML to display images?

Maybe you are looking for

  • How to use URL for http adapter

    Hello,      Iam working on IDOC2HTTP scenario. Here the end user system they have given only url address userid and password.End user is htttp. Please can u help me how ot use that. Thanks in Advance. Regards, Abhiram

  • How to create a Spry Gallery

    Sorry for the rudimentary question, but I want to actually create a spry gallery like the one in the demos, but I am lost as to where to start (using Dreamweaver). Thanks, Don

  • Cell data in tables not lining up

    Hello, Apparently, I can't provide any attachments here for the time being, so, this might be hard to describe. I've got columns of numbers in a table that need to line up. And, because there are some negative numbers, shown in parentheses, it's a bi

  • Can't do video calls now

    See your family come together over a free group video call. Flase advertising as video calls are not working in the new 7.0.0.102. Settings are ok but the "Turn on video" button is greyed out. (Using Windows 7 Home Premium)

  • Clarity on basics of oracle Install Base

    I am not getting clarity over the below mentioned items even after going thru documents. Can anybody please highlight on these... --> what exactly is an instance in install base and how is it associated to a serial number of an item or product? --> w