Copy database file local folder is not working in 11g

Hi,
i am working on oracle forms 11g.
the follwoing code is not working. could any one guide me to reslove the problem.
declare
     lv_file_name varchar2(100);
     lv_command varchar2(200);
begin
     lv_file_name := substr(:parameter.image_path,instr(:parameter.image_path,'\',-1)+1);
     lv_command := 'cmd /c copy_file '||:parameter.image_path ||' s:\temp\deposit\scanned_image\'||lv_file_name;
     client_host(lv_command);
     if form_success then
          message('saved..');
     else
message('file copy process failed..');
     end if;
end;

Also, copy to the s: drive might not work. In your copy_file script you need to define the s: drive first
net use s: \\some_shareor use UNC notation
lv_command := 'cmd /c copy_file '||:parameter.image_path ||' \\some_share:\temp\deposit\scanned_image\'||lv_file_name;Oh, and use full path to copy_file:
lv_command := 'cmd /c c:\some_directory\copy_file.bat '|| etc.;Edited by: InoL on Mar 11, 2013 9:20 AM

Similar Messages

  • I have mp4 videos on my computer that I want to add to itunes...the add a file or folder is not working. Why?

    I have mp4 videos on my computer that I want to add to itunes...the add a file or folder is not working. Why?

    wait until, Apple fixes it

  • Microsoft.WebApplication.targets 182 5 error MSB3030 Could not copy the file because it was not found

    We use Visual Studio Online and the integrated continuous integration (build server) from Microsoft. We have a solution that contains multiple projects two of which are latest MVC projects. I updated a bunch of our Nuget packages yesterday and now we are
    getting a build error one of our MVC projects. Any help is greatly appreciated as I have exhausted my resources trying to understand why the error is occurring!
    We use nuget for our external libraries, the solution and projects and set to use Nuget Restore (no packages persisted in TFS).
    We updated Angular to the latest version using Nuget updates inside of visual studio. Here an excerpt from packages.config in the project file. The first block is what was found in the packages.config before the update and the second block is after the
    update.
    <package id="Angular.UI.Bootstrap" version="0.11.0" targetFramework="net451" />
    <package id="angularjs" version="1.2.23" targetFramework="net451" />
    <package id="Angular.UI.Bootstrap" version="0.12.0" targetFramework="net451" />
    <package id="angularjs" version="1.3.8" targetFramework="net451" />
    After I noticed the build error I scheduled another build with Diagnostic level logging turned on, here is the excerpt from the build highlighting the errors
    Task "Copy" (TaskId:395)
    16:42:43.027 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-animate.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.031 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-animate.min.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    Creating directory "C:\a\bin\_PublishedWebsites\Sparco.Cms.Web\Scripts". (TaskId:395)
    Copying file from "Scripts\angular-aria.js" to "C:\a\bin\_PublishedWebsites\Sparco.Cms.Web\Scripts\angular-aria.js". (TaskId:395)
    Copying file from "Scripts\angular-aria.min.js" to "C:\a\bin\_PublishedWebsites\Sparco.Cms.Web\Scripts\angular-aria.min.js". (TaskId:395)
    16:42:43.033 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-cookies.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.033 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-cookies.min.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.034 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-csp.css" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.034 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-loader.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.034 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-loader.min.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    Copying file from "Scripts\angular-messages.js" to "C:\a\bin\_PublishedWebsites\Sparco.Cms.Web\Scripts\angular-messages.js". (TaskId:395)
    Copying file from "Scripts\angular-messages.min.js" to "C:\a\bin\_PublishedWebsites\Sparco.Cms.Web\Scripts\angular-messages.min.js". (TaskId:395)
    16:42:43.036 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-mocks.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.036 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-resource.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.036 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-resource.min.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.036 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-route.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.036 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-route.min.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.036 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-sanitize.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.036 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-sanitize.min.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.036 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-scenario.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.036 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-touch.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.037 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular-touch.min.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.037 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    16:42:43.037 3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets(182,5): error MSB3030: Could not copy the file "Scripts\angular.min.js" because it was not found. [C:\a\src\Sparco.Cms.Web\Sparco.Cms.Web.csproj]
    Copying file from "Scripts\bootstrap-select.js" to "C:\a\bin\_PublishedWebsites\Sparco.Cms.Web\Scripts\bootstrap-select.js". (TaskId:395)
    Copying file from "Scripts\bootstrap-select.min.js" to "C:\a\bin\_PublishedWebsites\Sparco.Cms.Web\Scripts\bootstrap-select.min.js". (TaskId:395)
    Copying file from "Scripts\bootstrap-select.js.map" to "C:\a\bin\_PublishedWebsites\Sparco.Cms.Web\Scripts\bootstrap-select.js.map". (TaskId:395)
    I looked at the change log of my check-in and noticed that the errors occur for Angular script references that were updated. New angular references (adds in the TFS changeset) are being copied without errors. Example: angular-animate.js was edited
    in the Angular update in TFS but angular-aria.js is a new file in the package so new file in TFS. 
    Using Source Control Explorer I verified the location of the files, the new and the existing files from the Angular nuget package can all be found in the Scripts folder of the MVC project. I can also view the content of each file file without issue.
    The references in the project file (csproj) are all consistent too, I can't see any differences between the files that cause failure and those that do not. The following block is a direct copy/paste from the csproj file
    <Content Include="Scripts\angular-animate.js" />
    <Content Include="Scripts\angular-animate.min.js" />
    <Content Include="Scripts\angular-aria.js" />
    <Content Include="Scripts\angular-aria.min.js" />
    <Content Include="Scripts\angular-cookies.js" />
    <Content Include="Scripts\angular-cookies.min.js" />
    <Content Include="Scripts\angular-csp.css" />
    <Content Include="Scripts\angular-loader.js" />
    <Content Include="Scripts\angular-loader.min.js" />
    <Content Include="Scripts\angular-messages.js" />
    <Content Include="Scripts\angular-messages.min.js" />
    <Content Include="Scripts\angular-mocks.js" />
    <Content Include="Scripts\angular-resource.js" />
    <Content Include="Scripts\angular-resource.min.js" />
    <Content Include="Scripts\angular-route.js" />
    <Content Include="Scripts\angular-route.min.js" />
    <Content Include="Scripts\angular-sanitize.js" />
    <Content Include="Scripts\angular-sanitize.min.js" />
    <Content Include="Scripts\angular-scenario.js" />
    <Content Include="Scripts\angular-touch.js" />
    <Content Include="Scripts\angular-touch.min.js" />
    Is there anything I forgot to mention that would help me figure out what is going on?
    What else can I try with the exception of rolling back the changeset and re-adding the nuget package?
    Thank you very much in advance!
    -Igor
    -Igor

    Hi Igor,
    For your situation, make sure you checked in your source files after updating Angular. You can also check the whether the foders for the Angular reference are under source control in source settings tab of your build definition.
    You can also build locally using MSBuild to see if the building works fine. We have to make sure local build succeed before VSO build since TFS build use MSBuild as its default compiler. Check the links below to see if they are helpful:
    https://social.msdn.microsoft.com/Forums/en-US/f43ceb9e-f253-46e3-a496-05f8cd77f634/msb3030-could-not-copy-the-file-because-it-was-not-found-error?forum=winappswithcsharp
    https://social.msdn.microsoft.com/Forums/en-US/01a29ce7-da2a-40af-9dce-3db1f8998cc2/could-not-copy-the-file-consoleappnameexemanifest-because-it-was-not-found?forum=TFService
    Best regards, 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • File or Folder does not exist

    I'm having a wierd problem with a png image which generates an error in my script.
    I'm building a UI using the group constructor, here is the line code I'm using to load the image:
    myImg:Image{text:'',image:'(image_folder)/image.png', alignment:['left','top']}
    The script runs with one image but not another one which is also a png of the same dimensions, bit depth etc. For some reason I get the 'file or folder does not exist' error message. If I replace the image with a known good one the script works.
    I've re-generated the image a dozen times. Still no joy.
    I'm not a total noob, though I infrequently write scripts and am completely prepared to learn I've made totally maverick error.
    Any thoughts?

    myImg:Image{text:'',image:'(image_folder)/image.png', alignment:['left','top']}
    I'm assuming that "(image_folder)" is a placeholder or variable and you are concatinating for the file path to the image? When checking file paths for images or what not, I usually try...
    alert(File.decode(File.openDialog()));
    ...to verify that my path is correct. Sometimes there's a extra slash or something I am missing.

  • Part of Photoshop isn't functioning.  Under adjustments, when HDR toning is clicked on I get a code:  Error 48: File or folder does not exist.  Line:11  - $.evalFile(g_StackScriptFolderPath   "StackSupport.jsx");  How can it be fixed?

    The phone company was here working on something while I was gone.  They sat down at my computer (iMac) and since then HDR toning doesn't work.  Get the code:   Error 48: File or folder does not exist.    Line: 11     ->  $.evalFile(g_StacScriptFolderPatch + "StackSupport.jsx");   How can this be fixed?   

    Go to //Applications/Adobe Photoshop [Version]/Presets/ Scripts/Stack Scripts Only/ and see if StackSupport.jsx is there. If it is not, uninstall and reinstall Photoshop to have it added back in. If it is there, first try recreating the Photoshop Preferences (hold down Command+Option+Shift while launching Photoshop).

  • I have a folder and 3 files stuck on my desktop.  When I drag them to the trash I am asked to enter my administrator's password.  I do this but the files and folder will not delete.  I have checked 'Get Info' on each of them and they are not locked?

    I have an empty folder and 3 .jpg files stuck on my desktop.  When I drag them to the trash I am asked to enter my administrator's password.  I do this but the files and folder will not delete.  I have checked 'Get Info' on each of them and they are not locked and I have full read & write access.  Grateful for any assistance in solving this problem.

    Back up all data.
    Triple-click anywhere in the line below to select it:
    ls -@Oaen De* | open -f -a TextEdit
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    A TextEdit window will open with the output of the command. Post the contents of that window, if any — the text, please, not a screenshot. The title of the window doesn't matter, and you don't need to post that.
    If any personal information appears in the output, anonymize before posting, but don’t remove the context.

  • File type associations is not working in the App-V 4.6 SP3

    Hello,
    I found issue, that file type associations is not working in App-V 4.6 SP3. When I try to open associated file with double click I receive next window:
    Translate: This action is only valid for products that are currently installed.
    I have checked associations in App-V Console and in OSD file, everything looks like OK.
    Maybe someone has some ideas?
    Could you please share them with me?
    Thank you in advance.

    Is this only happening on one client machine? If so can you completely clear the application and re-stream\cache it again?
    If that fails, you could try to create the FTA locally on the client
    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
    rorymon.com Twitter: @Rorymon

  • Automatically Add to iTunes folder is not working in iTunes 10.1

    Hello,
    I have a problem since the iTunes Update 10.0->10.1.
    The "Automatically Add to iTunes" folder is not working in iTunes 10.1.
    Whenever I put mp3-files in that folder, iTunes only adds these files when I start iTunes. I put some new files in this folder and nothing happens. Only when I restart iTunes the mp3s are added to my library.
    Greetings
    Thomas

    It always worked that way. iTunes only acts on that folder if iTunes is running. It does not have to be playing, but it does need to be open.
    If you add files to the Automatically Add folder while iTunes is closed, they will sit there until iTunes is restarted.

  • HT1338 Application "FINDER"not responding,Desktop files disappeared & " also "Trash" not working svn after relaunching several times.

    Application "FINDER"not responding,Desktop files disappeared & " also "Trash" not working svn after relaunching several times.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Enter the name of the crashed application or process (Finder) in the Filter text field. Post the messages from the time of the last crash, if any — the text, please, not a screenshot. 
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into a message.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • [SOLVED] database file for multilib does not exist

    Hey guys I ran into a problem today when I tried to install the proper packages I needed to use my wifi card. However when I tried to install it it gives me the error "database file for multilib does not exist" I can t seem to find out why I even tried chrooting into it and installing it that way with no luck. The package I tried to install was "pacman -S wireless_tools netcfg" thanks for the help guys you've been great.
    Last edited by bdawg (2012-09-18 22:57:17)

    bdawg wrote:
    Ok so the whole output is as follows:
    Warning: database file for 'multilib' does not exist
    Error: failed to prepare transaction (could not find database)
    And my Pacman.conf is blank
    pacman.conf and Pacman.conf (with capital 'P') are two different files. Double-check this.
    Are you running a 64-bit system?
    Your /etc/pacman.conf should look like this: https://projects.archlinux.org/pacman.g … an.conf.in but with some repositories configured: https://wiki.archlinux.org/index.php/Pa … positories
    Last edited by karol (2012-09-18 22:13:59)

  • HDR Toning Error 48: File or Folder Does Not Exist

    After migrating to a new computer HDR Toning is no longer available.
    I get a pop-up: Error 48: File or Folder Does Not Exist
                             Line 11  -> $. evalFile(g_StackScriptFolderPath + "StackSupport.jsx");
    What's the fix for this, if anyone knows?
    Thanks.

    Go to //Applications/Adobe Photoshop [Version]/Presets/ Scripts/Stack Scripts Only/ and see if StackSupport.jsx is there. If it is not, uninstall and reinstall Photoshop to have it added back in. If it is there, first try recreating the Photoshop Preferences (hold down Command+Option+Shift while launching Photoshop).

  • Ruler Tool- Error 48: File or folder does not exist

    I am trying to use the new RULER TOOL in CS5 (64-bit mode) running 10.6.4 and I get the following error:
    Error 48: File or folder does not exist.
    Line: 31
    ->  $.evalFile( g_StackScriptFolderPath + "Geometry.jsx");
    Any ideas?

    i'm getting the exact error using Windows XP with CS5.5
    error 48: file or folder does not exist
    line: 31
    -> $.evalFile(g_StackScriptFolderPath + "Geometry.jsx");
    HELP!!!
    someone
    hello ... anyone out there?
    how do we get support for this error?
    e

  • Ipad i have load swf file but swf  is not working proper(flex 4.6) but android is fine to work how

    ipad i have load swf file but swf  is not working proper(flex 4.6) but android is fine to work how

    On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
    On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed.

  • I am trying to change the date on an imported home video clip. I entered 9/7/2012 and got 6/9/0339! I checked modify original file, but it is not working. Any ideas?

    I am trying to change the date on an imported home video clip. I entered 9/7/2012 and got 6/9/0339! I checked modify original file, but it is not working. Any ideas?

    Are you using the Adjust Date and Time option or the Batch Change option?  If it's the former try the latter.  If you get the same results  launch iPhoto with the Option key held down and create a new, test library.  Import  the same video file and check to see if the same problem persists.
    OT

  • I downloaded the latest firefox 4 and updated my file, firefox 4 will not work with my version of Mac OS X, how do I get my old firefox back?

    I downloaded the latest firefox 4 and updated my file, firefox 4 will not work with my version of Mac OS X, how do I get my old firefox back?

    You can get Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

Maybe you are looking for

  • Sharing a private calendar to a non-icloud user but uses a mac.

    Hello, I am wondering if you can share an icloud private calendar with a 10.6.8 OS iMac that doesn't have an icloud account.  I am on a mac, and was hoping to join a calendar that was sent to my third party email.  When I click on the link to join it

  • Transferring from old non intel iMac to new intel iMac

    I have a non intel iMac with 10.5.8 and no 800 Firewire. I have just purchased a new iMac with Snow Leopard and of course, no 400 firewire. The wrong adapter (400 to 800) was sent with the machine. The setup instructions said I could use ethernet aft

  • DB Link is not Active

    Hi DBAs, I have 2 DBs in 2 different servers and trying to create DB link from dbA(serverA) to dbB(serverB). I've created the DB link using OEM in dbA but when test the link I'm prompted with "The Database Link is not Active". I've disabled the "NAME

  • HOW TO DO CHANGES IN P.O FOR JSEP....................

    Dear All ,                          user had made a GR for 10pcs & out of these 5 pcs were consumed , the User who had made P.O had not made cond in FV11 for JSEP hence it is not capturing in MIRO , Pl guide that what action is to be taken to make SH

  • Clip detector not working properly

    Hi! When recording into logic the Clip detector will only move up to 0.0. Even if the signal is distorting it will not display any +db reading. This is happening on both existing and new tracks, but was not a problem when I first started using logic.