File Transfer From Unix server to Windows Client System Using WebUtil

Hi all,
I want to Transfer a File from Unix Server to Window Client System using Webutil. But below mention code is not working.
DECLARE
     V_Server_Path VARCHAR2(500) := Null;
     V_Client_Path VARCHAR2(500) := Null;
BEGIN
     V_Server_Path := '/proj/oraapps/viper/dev/reports/cache/Saveauftr.txt';
     V_Client_Path := 'C:\Migration\EU_Applications\Lima\OAS_WorkArea\Client\Saveauftr.txt';
     IF WebUtil_File_Transfer.Is_AS_Readable(V_Server_Path) THEN
     IF WebUtil_File_Transfer.AS_To_Client(V_Client_Path,V_Server_Path) THEN
          Message('Downloading the File ..... .... ... .. .');
          Message('Downloading Was Successfull ...');
          Message('File Transfer from Server Was Successfull ...');
     END IF;
END IF;
END;
Can anyone suggest me,Why the above code is not working and what to do for solve the Problem.
Regards
Gany

Hello,
You have more chances to get an answer in the Oracle Forms OTN Forum :
Forms
Regards

Similar Messages

  • File transfer from UNIX server to Windows server path

    Hello Experts, (Gud Even Gud Aft & Gud Mor)
    Is there a way to transfer file from UNIX server(Oracle database), to Windows server? All I know if Windows path. I am able to read the file as it is on server, however it does not recognize Windows directory at all.
    If you can share some documents around this to study, I will be grateful.
    Regards,

    34MCA2K2 wrote:
    Is there a way to transfer file from UNIX server(Oracle database), to Windows server? All I know if Windows path. I am able to read the file as it is on server, however it does not recognize Windows directory at all.Yes it is possible. Samba on Unix sharing the directory containing the file. NFS on the Unix server sharing the directory containing the file. FTP server on Unix allowing the file to be read and copied. OpenSSH on the Unix allowing the file to be read and copied via scp (secure copy).
    But seeing as this is an Oracle database forum (not an operating system forum), and the subject matter is the database server languages SQL and PL/SQL, here is a PL/SQL solution.
    Create a table using the BFILE data type for referencing the files on the Unix o/s. Provide a web enabled procedure for downloading the files via HTTP using a web browser. This procedure will look something as follows:
    --// URL example: http://my-server.my-domain.com/MyDAD/MySchemaName.StreamFile?fileID=1234
    create or replace procedure StreamFile( fileID number ) AUTHID DEFINER is
            mimeType        varchar2(48);
            fileName        varchar2(400);
            lobContent      BLOB;
    begin
            --// read the LOB from a table (this example uses the
            --// Apex file uploads table - change it to your own files table)
            select
                    f.filename,
                    f.mime_type,
                    f.blob_content
                            into
                    fileName,
                    mimeType,
                    lobContent
            from    FLOWS_FILES.WWV_FLOW_FILE_OBJECTS$ f
            where   f.id = fileID;
            --// format a basic HTTP header that describes the file stream send
            OWA_UTIL.mime_header( mimeType, FALSE );        -- e.g. text/csv text/plain text/html image/gif
            HTP.p( 'Content-Disposition: attachment; filename='||fileName );
            HTP.p( 'Content-Length: ' || DBMS_LOB.GetLength(lobContent) );
            OWA_UTIL.http_header_close;
            --// now write the BLOB as a mime stream using the Web Procedural Gateway's
            --// doc load API
            WPG_DOCLOAD.download_file( lobContent );
    exception when OTHERS then
            --// Decide what HTML to generate (if at all) if there is a failure
            --// (usually not a good idea to show database errors to the
            --// web browser client as that can provide technical details
            --// that could be useful for exploiting the database)
            HTP.prn( 'StreamFile() failed with '||SQLERRM(SQLCODE) );
    end;
    / On Windows, IE can be used interactively to copy the file across. For automation (via PowerShell or console jobs), use a command like tool like wget* to download the file.
    If you do not want to use SQL or PL/SQL as the file copy mechanism, then please close this thread (mark as answered) and take your question to an appropriate forum.
    <i>* - see http://gnuwin32.sourceforge.net/packages/wget.htm</i>

  • How to file data from sap server to third party-tibco using EDI-Idoc?

    Hi all,
    I need to send data from sap server to third party system in th form of file.
    Please guide me how to send data file from sap server to third party-tibco using edi-idoc?
    Also guide the configuration ti be done for EDI.
    Thank you.

    1)create file port
    2)TCP-IP RFC destination with a program RFCEXEC to be executed on application server
    3)Dummy distribution model
    4)Partner pofile of type other han LS

  • Is it possible to write an image data from unix database to windows client?

    Hello Sir/Madam,
    My database Oracle 11g resides in UNIX.  I'm trying to find out if it is possible to pull binary data from unix database and write to a file on windows7 client ?
    if so, please share that insight?
    Regards,
    Vani Sonti

    Hi,
    if you use Oracle forms 10g+ you can use the webutil to do whatever you want between db server and client pc. There are numerous examples on the net, for example:
    Zeeshan Baig's Blog: Storing and Retrieving Images / Word / Excel / PDF and Movies in Oracle Database using Forms10g

  • Bluetooth file transfer from BB Z10 to Windows 7 Laptop

    I have my BBZ10 (OS 10.2.0.424) successfully paired with Windows 7 Laptop. I often use the BBZ10 BT Internet Teethering. It works very well.
    However, when I want to transfer a file from BBZ10 to my Laptop. I follow this process
    In the background the Internet Teethering is ON, and working
    select the file in Z10 File Manager.
    click on share icon to share using BLUETOOTH
    Before pressing the name of my paired devices on Z10. I click Bluetooth icon on laptop and select 'receive a file'. This opens a box showing the laptop is waiting in receive mode.
    Then I select my paired computer name on Z10 to initiate transfer.
    The transfer bar appears on Z10 showing the progress, but in 4-5 seconds, it says 'TRANSFER CANCELLED'.
     And on my laptop it says 'BLUETOOTH FILE TRANSFER NOT COMPLETED'.
    i have used exactly same process with my BB 9800 several times with success.
    Another thing I note is, if the Internet teethering is OFF, I cannot turn BT connection to the laptop on. It come up with error message ' Cant' connect , you must turn on internet teethering on yoru device.'
    Please troubleshoot.

    hi eddie-n200,
    Can you send a file from the laptop to the cellphone? If you can, check if the "Allow remote devices to browse, send, and receive pictures, music, and other files" option is enabled on the BT settings:
    Spoiler (Highlight to read)
    As an alternative, you may also want to try Bluesoleil or similar software to send/receive from the laptop.
    Edit: Added image
    Hope this helps
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Extremely slow file transfer from wifi server to MacBook Pro

    I am experiencing extremely slow file download speeds from my wifi server to my MacBook Pro. I have just carried out a test - transferring a 16.5Mb folder took 8 mins, 24 secs. Transferring the same folder to my iMac G5 takes less than 3 seconds. Also, copying the same folder from my MacBook Pro to my wifi server only takes 22 seconds. Any suggestions PLEASE!!!!!

    Try getting it on the Mac using something other than iPhoto.
    In Windows, it would simply be a matter of opening Explorer and copying the file(s).  I'm fairly certain that Mac has a similar feature, but I'm not familiar with Macs.
    Not really an iPhone issue... more of an issue with the application being used to import the file.

  • File Access from DB Server/Unix Mounting

    We have an Oracle Database that runs on Unix Box and a cold fusion application/web server runs on a Windows box. We have a data intensive stored procedure that gets data from DB, does lot of massaging and then create bunch of html files with sorting capabilities etc. This process happens upon user request from website (cold fusion/html page calling Oracle stored procedure). After this, the cold fusion server need to get access to these html files to display to the user.
    Our Unix DBA's does NOT want to do File Mounting as they think the windows box is not secure. Hence we are exploring other options.
    Below are the options we are exploring. But very well open to suggestions...
    1. Let cold fusion query the data from Database and let it do the data manipulation/massaging
    2. We explored the external tables (based on file) but the files are dynamic and could not find a way to do this
    3. FTP transfer from Unix to NT box but there could be time delay and may not be available for immediate display
    4. Create a temporary table, let the DB procedure insert data into table. Then Cold fusion will query from there.
    Any other suggestions?

    Hi,
    Its not required to handle for #
    just read the dataset into the string and split the string into work area fields seoparated by TAb delimiter.
    Eg:
    READ DATASET <filename> INTO l_string.
    SPLIT l_string
                   AT cl_abap_char_utilities=>horizontal_tab "Horizontal tab
                  INTO l_funcloc_clas-tplnr
                       w_funcloc_clas-class
                       w_funcloc_clas-klart
                       w_funcloc_clas-atnam
                       w_funcloc_clas-atwrt
                       w_funcloc_clas-atfor.
    append w_funcloc_clas to l_funcloc_clas.
    With Regards,
    Dwarakanath.S

  • How to ftp to windows server from unix server

    Hi Gurus,
    Can anybody please guide me how to ftp the files to windows server from unix server. I can do the file transfer via unix by using the shell scripts, where as for windows how can we do that.
    Please advice.
    Regards
    Nagendra

    Hi.
    It's possible many solution.
    1. Setup Ftp server on Windows and use general scripts.
    http://support.microsoft.com/kb/323384
    2. Create general share folder on windows and use smbclient from samba.
    3. Create general share folder on windows and mount this folder to Linux.
    Reagrds.

  • Have you moved from Unix/Oracle to Windows/SQL Server

    I am looking for people that have moved from Unix/Oracle to Windows/SQL Server...
    Would you do it again ?
    Did you save money ?
    Were you using Zones to virutalize on Unix ?
    Did you gain or loose overall Performance ?
    Have you had to perform a recovery on SQL Server ? 
    Have you done a recovery in Oracle ?
    Were you using Rman ?
    Which worked better ?
    We are going through an analysis of does it really make sense, save money and effect performance to move from a strong unix/oracle environment to a MS/SQL environment.
    THanks Rob
    [email protected]

    Hi,
    All our R/3 legacy systems are Windows/Oracle.
    All the new systems (BW, SRM, CRM, XI) are Windows/MSSQL.
    It was an order from the management to make the switch because of the high prices of Oracle licences.
    The official motto is now Oracle on Unix only and SQL server on Windows only.
    We get the same level of performance as with Oracle, but we, old SAP Oracle grumpy admins, are much more comfortable with Oracle admin than SQL server admin.
    imho, SQL server may seem simplier but it is much easier to look under the hood whith Oracle.
    We have to reinvent the wheel and it's kind of frustrating but we will cope with it...
    I would say that SQL server is not a good choice for BW usage because there is a lot more litterature on BW database optimisation for Oracle than MSSQL.
    The official SAP class does not speak at all about SQL server but has several chapters on Oracle...
    Regards,
    Olivier

  • FTP files from Unix box to Windows ( Shell script )--inplemention in Apps

    Hi,
    I have an requirement like need to send files generated at a particular path in the UNIX sever into Windows machine.
    This should be a scheduler( can we create any shell script
    ) for this...
    Note : files generated at Unix move into Windows box....
    Please check and help on this... and let me know if any clarification required on my requirement.
    Thanks,
    Pavan K

    This is relatively easy to do. You will need to write the shell script code and register it as a concurrent program of type "Host". Pl see the Application Developer Guide (for 11i and R12) at http://www.oracle.com/technology/documentation/applications.html for details on how to register a shell script "Host" custom program.
    ML Docs 266268.1, 147455.1, 1013907.6 and 156636.1 have some more info too.
    HTH
    Srini

  • Getting error in file transfer from one system to another system

    Hi All
    One of my client (User) wants to transfer his file from  SAP R/3 System SAP XI system. He is using a customize t-code ZFIR0325 (Trial balance report transfer to Hyperian System). When user execute the  program he is getting error "File Transfer Failed due to Network chk with Admin"
    I checked with Network team but they said it is okay from their side. We also check for authorization but there is no issue regarding authorization.
    Name of File Path of Aplication Server, XI destinaion and XI directory entered by user is correct.
    We also put authorization trace in XI System to RFC User (In file transfer from one system to another system this RFC User is geeing Used) but no authorization issue was found.
    Please help me to resolve this problem. I any detail require I will provide the same.

    Guruprasad Wrote:
    He is using a customize t-code ZFIR0325 (Trial balance report transfer to Hyperian System).
    We also put authorization trace in XI System to RFC User (In file transfer from one system to another system this RFC User is geeing Used) but no authorization issue was found.
    Firstly, no one in the community can answer on how a custom transcation code and a program associated with it behaves.
    If there are no authorization issues in the system, you have to look at the exact error message. Look if your XI system is allowed to receive files from the SAP system.
    Unfortunately, you should do some more home work before putting your question here. If everything is fine and configured correctly, then the issue might be with the program.
    Regards,
    Raghu

  • I have chosen to fil migrate from old ibook to new MacBook Pro using Time Machine after establishing admin account. I now have two admin. accounts and wish to delete the later one and transfer files manually. I am worried I will loose both accounts. ??

    I have chosen to fil migrate from old ibook to new MacBook Pro using Time Machine after establishing admin account. I now have two admin. accounts and wish to delete the later one and transfer files manually. I am worried I will loose both accounts. ??

    Use the Office for Mac and ignore using Parallels for that. If you have PC only apps you have to run that are MS Windows only then consider Parallels. Just transfer your main PC, using Migration Assistant.  If you don't know how then simply read over Pondini's article called Lion or Mountain Lion Setup Assistant tips and look for the section on migrating from a PC. Millions have done what you are about to, it's far from leading edge these days, if you go to an Apple Store to purchase they will offer this as a service, something you might be interested in.

  • Is it possible to load a dump file collected from sql server to orcle 10gR2

    Hi..
    As a part of data migration from legacy systems , we need to migrate only required tables from Sql server to Oracle 10gr2 .
    At present client is telling that he will give it as dump file.
    My question is , Is it possible to load the dump file collected from sql server to oracle 10gR2?
    Thanks in advance ..

    yes, it is.
    Using for example SQL Developer Migration Workbench even allows you to create unload scripts for the desired SQL Server tables and it also creates the DDL scripts for you to create the Oracle tables similar to the SQL Server table AND it alows creates the SQL*Loader scripts that allow you to load the SQL Server generated dump file into the Oracle db.
    Here the link:
    http://www.oracle.com/technology/tech/migration/workbench/index_sqldev_omwb.html
    If you do not want to use this utility, you can also use SQL*Loader to load the content of the SQL Server dump file into the Oracle database; but in this case you have to write the whole SQL*Loader control scripts on your own.
    Edited by: kgronau on Sep 16, 2009 1:54 PM

  • Load XML data from UNIX Server Directly into Relational Database Tables

    Is there a way I can load data from an XML File into Oracle Tables , without having the Input XML file in some Oracle Server Directory. My XML File resides on UNIX Application server. And I need to directly load the data into Database tables. Without loading them into the Database Directory.
    Also I am looking for a solution that would not load my Database much and effect other running processes. Can it be done using SQL Loader ?
    Oracle Database Version is : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

    Thanks for your reply ,
    Please would you quote an Example about : 'Load the file into that table using SQL*Loader'  (From UNIX Server) Or instance of some existing thread that relates to my situation.
    The Size of the File would be about 3 GB. For a similar requirement one of my peers Code which used XMLTABLE and XPATH Approach consumed a lot of resources while running and caused the other Database Applications to slow down. Thus those guys have come up with an approach to :
            Parse XML using a C Code using some STRING Functions =>  For a CSV or Fixed width .dat file and then use SQL Loader to just load the file into Tables.
            This approach is efficient in terms of Resources and Time(Takes 5 mins). But I am not confident about parsing XML based on String based C Functions.
             Please comment about this approach . Also if possible Suggest the best efficient way of doing this.

  • I just installed photoshop ele. ver 11 and my file transfer from version 10 failed, what do I do?

    I just installed photoshop ele. ver 11 and my file transfer from version 10 failed, what do I do?

    I was transering my album from version 10 to version 11.  I got on-line help and I and all set.  Thanks for getting back to me.  Dave
    Scott V <[email protected]> wrote:
    Scott V http://forums.adobe.com/people/Scott+V created the discussion
    "Re: I just installed photoshop ele. ver 11 and my file transfer from version 10 failed, what do I do?"
    To view the discussion, visit: http://forums.adobe.com/message/5105851#5105851

Maybe you are looking for

  • How to handle return values in AppleScript

    Warning: AppleScript newbie on the loose without adult supervision. I have an Omnis Studio app that calls an AppleScript that in turn invokes a couple of shell commands. As an aside, I don't believe Omnis Studio can invoke a shell script directly wit

  • JTable: Custom Table Model (pII)

    As was explained in pI, I'm creating a custom table model to overcome a few pitfalls I came across using the DefaultTableModel class, such as aligning cells, and getting certain columns to return only numeric type data. However, I've come upon a few

  • Adding attachment to the post

    How can i add a word document while posting a new thread? What types of attahment can be added.? Yogesh

  • Problem with invoice reversal.

    Hello, I have the following question: I´m trying to reverse an invoice through MR8M trx. The PO is referinf to an fixed asset. When I try to reversed the invoice the system show me the following message: "Balance for transaction Type group 10 negativ

  • Oracle Files in https mode

    Hi We have a webdav oracle files instance running in http mode. how can it be switched / configured to run in https mode ? Thanks in advance