Problem in downloading files emergency

Hey everybody,


DECLARE
v_blob_data BLOB;
v_blob_len NUMBER;
V_POSITION NUMBER;
v_raw_chunk RAW (10000);
v_char char (1);
number of c_chunk_len: = 1;
v_line VARCHAR2 (32767): = NULL;
v_data_array wwv_flow_global.vc_arr2;
v_data_array1 wwv_flow_global.vc_arr2;
number of v_rows;
number of v_sr_no: = 1;
v_project_name varchar2 (4000);

BEGIN

delete from UPLOAD_NEWT3;

-Read data from wwv_flow_files </span >

Select blob_content from v_blob_data
of wwv_flow_files
where last_updated = (select max (last_updated) in the wwv_flow_files where UPDATED_BY =: APP_USER)
and id = (select max (id) in the wwv_flow_files where updated_by =: APP_USER);

v_blob_len: = dbms_lob.getlength (v_blob_data);
V_POSITION: = 1;


-Read and convert the binary for char </span >
WHILE (v_position < = v_blob_len) LOOP
v_raw_chunk: = dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
v_char: = chr (hex_to_decimal (rawtohex (v_raw_chunk)));
v_line: = v_line | v_char;
V_POSITION: = v_position + c_chunk_len;


-When a whole line is retrieved < / span >
IF v_char = Chr (10) THEN

-Convert comma to: to use wwv_flow_utilities </span >
v_line: = REPLACE (v_line, ', ' :'); ")


-Converting each column separated by: in the data table </span >
v_data_array: = wwv_flow_utilities.string_to_table (v_line);


-Insert data into the table target </span >

EXECUTE IMMEDIATE ' insert into UPLOAD_NEWT3 (PROJECT_NAME, PROJECT_LOB, SERVICE_LINE1, GSD_PM)
"values (: 1,: 2:3:4)"
USING
v_data_array1 (1),
v_data_array (2),
v_data_array (3),
v_data_array (4);
-Remove
v_line: = NULL;
END IF;

end loop;
END;

is the code and its working absolutely perfect... but I didn't "convert each column separated by: in the data table </span > ' thing... If I delete this code does not work. I need": «to be counted in the same column... not separate...»

and pls tell me how to download the files that are downloaded by using this code. I'm short on time... I need it to be done as soon as POSSIBLE. Pls help me...


Thanks in advance

Hello
you mean just by downloading the file you downloaded? If so, again use your own table NOT WWV_FLOW_FILES. You can then make a report of the APEX on the table and you get a download link for "free". If you do not, you must write a PL/SQL procedure to select the blob of WWV_FLOW_FILES and then use WPG_DOCLOAD.download_file. This procedure must be called via an application process in the APEX. All very messy.

Regards Garry

Tags: Database

Similar Questions

  • Download problem - links / download files that are not in the indd file

    An article in a folio gives us problems that no other items are. It takes ages to download and seems to be download links that aren't in the indd file.

    The INDD file contains nothing complicated, multiple MSS and an object using the image sequence. Any ideas why it could be downloading files not used in the indd file?

    Is there an overlay Web content in the article? In some cases, people are unable to join the local HTML files in a single folder, so article will post a bunch of unnecessary files.

  • New on dreamweaver... local problem of downloading files on remote site...

    all new to dreamweaver (mx... by the way)... having problems with an ftp connection and downloading the files from the local site to the remote site... all the information appears to be entered correctly in the Manager section of site (local site, remote site... I need test site?) I have no problem to download all the old files Web site in dreamweaver , but then when I go to register a new, it will not download the remote site...
    what I'm really trying to do is to update an existing site, flash slideshow by adding a few new JPEG images and remove some 'old' and then update all image.xml by a new text files to coincide with the new photos in the slideshow. but when I go to save any work that I have done, it will not save and upload them to the remote site.
    any help to solve the problem would be useful...
    Thank you

    Mike

    The error means that DW still think your Checkin/checkout is enabled.

    Follow these steps:

    1 using the site manager, create a NEW site definition that points to the same
    local and remote sites than your original.
    2. to connect to the remote site.
    3. find and DELETE all instances of *.lck at the remote site.

    Now, try to import the file. What is going on?

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    'conny b' wrote in message
    News:fndj7u$76t$1@forums. Macromedia.com...
    > I just again tried to put a file, and I got this message...
    > "another user is currently working on this issue (Please enable the check."
    > archiving
    (> outside to avoid overwriting changes made by other users). do you want to
    > Download
    > anyway? »
    > I clicked Yes to...
    > This is a first... had not seen that til just now all of a sudden... im lost
    > like u
    > can tell... :)
    > id be happy to get the answer to the first question of the remote server time and
    > go
    > from there if.
    > Sorry to bother all the time you guys, but I'm just learning the
    > program...
    >

  • Problems with downloading files

    I have Win8. I had Adobe Reader 11 that worked perfectly well download any file in any destination. Now when I try to download it either 1) completely blocks my computer 2) States, I don't have the latest version. I tried to download the new DC Adobe which I have no interest in and when open the domain controller downloaded file he totally locked up my computer. I like to turn it off.  Why Adobe 'fix' something that didn't need to be fixed? I need to download new files and cannot. Any solution?

    Cynthia, you can try to use this tool first remove all traces of your computer:

    http://labs.Adobe.com/downloads/acrobatcleaner.html

    Then you can download the full Setup offline reader for the version you want from

    http://get.Adobe.com/reader/Enterprise/

    After downloading, restart your computer and run the Setup program before anything else.

  • Problem with downloading file as an attachment

    In my application, I use the following code to download a file from the content server WebCenter as an attachment:

    public void downloadDocumentAsAttachment(ActionEvent event) {
         try {
              String   contentId = (String) event.getComponent().getAttributes().get("ContentId");
              ContentObj content = this.contentManager.getContentFromContentId(contentId);
               
              FacesContext  facesCtx = FacesContext.getCurrentInstance();
              HttpServletResponse response = (HttpServletResponse) facesCtx.getExternalContext().getResponse();
              response.reset();
              response.setHeader("Content-Disposition", "attachment; filename=\"" + content.getName() + "\"");
              response.setContentType(content.getContentType());
    
              ServletOutputStream out = response.getOutputStream();
              IOUtils.copy(this.contentManager.downloadContent(contentId), out);
              out.flush();
    
              facesCtx.responseComplete();
    
         } catch (Exception ex) {
              ex.printStackTrace();
         }  
    }
    
    

    The "contentManager' is my custom object implemented with CRMI to manage interaction with WebCenter Content server. I tried to print the length of the content to make sure there is actually an InputStream returned by the my object. However, my problem is that on Firefox and Chrome, I do not see a file download dialog box. To be precise, the Chrome, the screen just flashed once and nothing did. On Firefox, I saw the following dialog box:

    Capture.PNG

    If I click 'Return', the screen also flashed once and nothing happens as well.

    At first, I tried to make use of '< af:fileDownloadActionListener >', I am able to 'see' the file. However, the problem is that my page is completely replaced by the file. I had to click on the back button to return to the original page, and sometimes it has not also that the page has expired. As a result, I implement the download of files as an attachment for the moment.

    I would be very grateful if you could show me what I did wrong .

    Best regards

    James Tran

    Thank you very much for spending your time helping me, Johny!

    I found the solution. Take a look at the documentation for the "", I now noticed the following description of the attribute "filename":

    proposed for the object file name. If you select a "Save file" dialog box typically appears, whether it is ultimately up to the browser. If this isn't the case together, the content will usually line displayed in the browser if possible.

    Earlier, I didn't specify the "filename" I read somewhere that it is optional. Thus, my file was posted online to download as an attachment instead.

  • Cause a problem with downloading files

    Hello

    I'm new to APEX. I'm stuck with a problem in my application.

    In my application, there is a page that will show you the information about users in an organization. Also a facility to add a new user. In the new user screen, there is a control of uploading files with several other controls.

    The question is I download a file and click on submit button to download the files, the files are downloading with success, but as the page is argue, he is redirected to the details of the user to the screen that i donot want to do.

    Welcome any quick response to solve this problem.

    Thank you
    Satish.

    Well, then you should have two buttons on your page, one to create (CREATE or ADD or something similar) and another for the update (UPDATE or SAVE or APPLY the CHANGES or something similar)

    Lets say after update, you want to stay on the same page, then make sure you have a conditional branch that runs when you click the button to update and targets for the same page. And after inserting if you want to return to the home/report page, so make sure that you have another conditional branch that runs when you click the button CREATE and host/report page targets. You must have two conditional branches on your page.

    If this does not help, please provide all of the buttons that you have in your page, branches and what you try to do :-)

    Kind regards
    Hari

  • Opening of the problem of downloaded files

    I have already asked for help with this problem and received several suggestions that did not work. I now have more information that could be a clue. I have the same version (34.0.5) on my win8 pc and it works fine. Also, I recently restored mty win7 pc configuration factory (new status of the pc).

    What is the file type and extension?
    Is the file size the same as displayed on the website?

  • Problem with downloading files

    Hello

    I copied and pasted the example to the next (TechNote
    http://www.adobe.com/go/5534a12f) and he ran with the library MultipartRequest to O'Reilly that was suggested by the article. I managed to download small files that were under 1 megabyte, but has been unsuccessful in downloading large files. In addition, when downloading moved, no error messages don't come to Flex. Am I missing something or the download feature does not work with large files? If this is not the case, what should I do?

    This has been resolved.

  • HP Envy M6 - cannot download files

    I have a new HP Envy M6 computer laptop running 64-bit Windows 8.  I tried to download (Adobe Reader and Firefox for example) files through Internet Explorer 10 and he did not finish the download.  When I select the download of the site form, it starts the download process and runs for a few seconds, but stops about 65% to 98% and never complete.  More when you try to watch a video on You Tube it starts the process of download plays the video and then stops about 20 seconds in and never finished.  I disabled my antivirus and get the same result.  Regarding the Internet connection, I have another computer running Win7 with the same anit virus and have no problem to download files and watching videos You Tube.  I tried the cable connections and wireless but get the same result on both.  As a side, note the Windows Update tool has no problem downloading Windows updates and install them.  Suggestions on how Win8 and IE 10 manage downloads differently than Win7 because the only difference between my two laptops is the hardware and OS?

    Hello

    Good to hear

    In General, a resettlement often solves this kind of question, but I would like to know if this isn't the case.

    Kind regards

    DP - K

  • problem of attach files to emails

    Just bought a new pc and I use windows 8 and have a yahoo email address, but I can't attach any file to my e-mail. When I add the attachment, it comes, goes round but don't cling. Any ideas?

    Hi Dave,.

    Thanks for the reply.

    As you have problems with downloading files to Yahoo mail, there could be two possibilities for the question. Either there is something wrong with the network connection or something wrong with the Yahoo Server. If you and your wife use the same network connection, then there is nothing wrong with the network connection. You can wait for a while and check.

    However, you can try to delete the cache and temporary files by following these steps and check.

    a. start Internet Explorer 10 Version of office.

    b. on the Tools menu, click Internet Options. If you don't see the Tools menu, press Alt to display the menu.

    c. click on the general tab.

    d. under browsing history, click delete.

    e. in the dialog delete browsing history , click to select the check boxes and then click delete:

    Temporary Internet files

    Cookies

    History

    f. click closeand then click OK to close the Internet Options dialog box.

    Let us know if you have other questions related to the issue.

  • Random problem, download files

    I have a random problem, downloading files on different web sites. I click on the file to download and retrieve the backup file with the file name box instead, I get something like "attachment.php". He always seems to be php files.

    By clicking on the file many times to download later, it will download, but it is very frustrating.

    I went through all the guides and troubleshooting suggestions. Nothing makes no difference. I disable add-ins, antivirus etc. nothing works.

    For example, this is the last download, I tried (click on the download button):

    http://www.Pixologic.com/ZBrush/getting-started/

    I got "download.php", which is not just the zip file with a different name. It is in fact different.

    Do it a few times I finally got the zip file.

    It seems to happen on any web site. The common theme is that this '.php' is involved.

    Is this a bug? Any ideas?

    Do you not see the correct link I posted above at the bottom of the browser window if you hover over the download button?

    You can have security software as a software firewall or antivirus which is at the origin of the problems if safe mode did not help.

  • I have problems with pdf files, sent to me by e-mail, download doc on my canon printer and the creation of pdf file to send.

    Original title: pdf files

    I am running microsoft windows xp home edition 2002. I always have problems with pdf files, sent to me by e-mail, download doc on my canon printer and the creation of pdf file to send. I use microsoft works Task Launcher 2004 edition.

    Is there an easy way to pass so I can handle pdf files?  Can anyone help?

    Thank you Tim

    Hello

    Please provide us with more specific information on the issue. Your post is a bit confusing.

    If you need to open the PDF files, you will need to install a PDF reader.

    If you try to print in PDF format, you must install Adobe Reader.

    Reference: http://www.adobe.com/downloads/

    THIRD WARNING:
    Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • There was a problem playing this file. (0xC00D0FEA: "Windows Media Player has encountered a problem during the download of the file.) For any additional help, click Help on the Web. »)

    Outlook has been changed from hotmail, my emails say don't link with windows media player, outlook is not their problem, but it happened only when they merged account

    I have to be able to open MP3 files that ae sent emails in my work, it's urgent, please I need to know what settings to correct to sort this please

    It comes to getting the error message

    There was a problem playing this file. (0xC00D0FEA: "Windows Media Player has encountered a problem during the download of the file.) For any additional help, click Help on the Web. »)

    E-mail address is removed from the privacy *.

    Hello

    Method 1:

    See the article and check if that helps:

    Windows Media Player sync: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Media-Player-sync-frequently-asked-questions

    Method 2:

    I suggest also refer to the thread with a similar problem and a possible solution:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-pictures/error-when-trying-to-play-media-files-Windows/4abe7be7-b3fe-44eb-b4da-e0848c3c8bd4

    It will be useful.

  • Windows media player has encountered a problem when downloading the file. for additional assistance, click web help.

    Original title: unable to audio stream.

    Unable to audio stream, "windows media player has encountered a problem when downloading the file.  for further assistance, click web help' web help does not work, clicking web help does nothing (no response from program... a lot of negative response from me) stuck with the big pass... vista 64 bit... a lemon from the getgo... problem after problem...

    Hi Joseph,

    What is the file format of the file you are trying to download?

    This problem normally occurs when the Media player could not play the file downloaded or not supported.

    Method 1:

    Step 1: Here is the list of the formats supported by Windows Media player file:

    Information on the types of media files that supports Windows Media Player:

    http://support.Microsoft.com/kb/316992

    Note: See if the file format is in this list, if it is not there, you may need a third-party codec that can read the file.

    Step 2: For more information about codecs, see article given:

    Codecs: Frequently asked questions:

    http://Windows.Microsoft.com/en-us/Windows-Vista/codecs-frequently-asked-questions

    Warning: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Method 2:

    I also suggest you to run the Windows media player Fixit:

    Solve the problems of Windows Media Player video and other media or library

    http://support.Microsoft.com/mats/windows_media_player_diagnostic

    Hope this information helps.

  • RV082 problems with internet - downloading file corruption

    Hey guys,.
    I have the RV082 router and I'm having a strange problem.

    When I try and download files or applications, my computer happens to expire during the download and unexpectedly farm or the file that I am trying to download is corrupted.  I have never seen anything like this before.  I spent the time on the phone with my ISP and they said this isn't a problem on their end.  I am able to browse the internet without any problem.  I just have problems downloading stuff.

    I have reproduced this problem on other computers on my network.  If it is not isolated to my computer.  that tells me that there must be something wrong with the router.

    Is this a problem with my router settings?

    Any help is greatly appreciated.

    It's really weird. I suggest to manipulate the MTU of the RV082 section if this will solve the problem. Follow this link to determine the correct MTU size for router:

    http://Linksys.custhelp.com/cgi-bin/Linksys.cfg/php/enduser/std_adp.php?p_faqid=4454&p_created=11647...

    Also, make sure that you are using the latest firmware for the router said. You can download the latest firmware for the router on this link:

    http://www.Cisco.com/en/us/products/ps9926/index.html

    Apart from that, I suggest you contact support CISCO focus more on your problem. In my view, that this unit is part of serial company Cisco devices now supports. Try going to this link for other devices of the series business and the site where you can get your hands on Cisco for support:

    http://www.Cisco.com/Web/products/Linksys/index.html

Maybe you are looking for

  • Why Google images suddenly stopped loading in Firefox 17?

    Suddenly 3 aspects of Google has stopped working in Firefox on my computer at home:(1) predictions in AutoComplete(2) images(3) cards All these features work in Internet Explorer, just not Firefox. I searched the Internet for a solution, because I di

  • Mounting of external drive problem

    I have a 4GB Seagate connected to my iMac and it is partitioned in trois-un clone, a Time Machine and we're backups. The first two mount OK but backups don't mount not. Tried to stop and unplug the iMac & Seagate. Disk utility show all three backups

  • delay between the identical waveforms generated

    Hello world. I want to generate tension by the use of the NI USB - 6353 X. When I tried to use the vi 'Voltage - finished output.vi' example, I realized that there is a period of time between two generated waveforms. It is an undesirable situation fo

  • trying to remove xp home service pack 2

    My mother had her rebuilt computer and now she isn't the Microsoft XP Home edition, she bought originally.  The repair man gave him a drive with XP Pro SP2 but no code of authenticity so we can't install it.  She tried to launch a CD of OS with XP Ho

  • How to repair or reinstall the msi engine also what is the error code 2352

    I have problems when I try to download an update for my AVG security program.  It shows a number OXC0070643, MSI engine failure and the error code from 2352.  Any help is requested as the Microsoft site does not appear.