Transfer Files From & To Local Side

We are developing a document system using PL/SQL language, and we would like to transfer files between the client sides and the XML DB in the server side.
Please provide me the appropriate code.

I called the above code but it did not work properly. My code is
SQL> ls
1 DECLARE
2 l_conn UTL_TCP.connection;
3 BEGIN
4 l_conn := ftp.login('ias.domain.loc', '2100', 'xdb', 'xdb');
5 ftp.binary(p_conn => l_conn);
6 ftp.get(p_conn => l_conn,
7 p_from_file => '/public/Agent.exe',
8 p_to_dir => 'TMPDIR',
9 p_to_file => 'test.exe');
10 ftp.logout(l_conn);
11 utl_tcp.close_all_connections;
12* END;
SQL> /
DECLARE
ERROR at line 1:
ORA-29260: network error: Connect failed because target host or object does not
exist
ORA-06512: at "SYS.UTL_TCP", line 410
ORA-06512: at "SYS.UTL_TCP", line 252
ORA-06512: at "XDB.FTP", line 52
ORA-06512: at "XDB.FTP", line 206
ORA-06512: at "XDB.FTP", line 369
ORA-06512: at line 6
XDB.FTP line 369 is
put_local_binary_data(p_data => get_remote_binary_data (p_conn, p_from_file),
p_dir => p_to_dir,
p_file => p_to_file);
XDB.FTP line 206 is
     l_conn := get_passive(p_conn);
XDB.FTP line 52 is
     l_conn := utl_tcp.open_connection(l_host, 256 * l_port1 + l_port2);
Please any help?

Similar Messages

  • Transfer file from WIN local station to LINUX server

    Hi,
    is there any way to transfer .jpg or .pdf file from windows local station (eg. D:\test.jpg) to linux server?
    I found some release of ftp pl/sql package to transfer from one server to another server (linux to linux) but
    how to transfer from local station to server.
    Oracle Ver 11.2.0.2.0 - 64bit
    Any help
    Thank you

    I'm a little confused about how Apex comes into play (or how you want it to)?
    Are you just pushing files from your machine to a linux box, or are you looking to create a file load application for end-users with a File Browse item in Apex, and then drop what you uploaded onto the server?
    If it is just really wanting to ftp from your machine to a linux box, try an app like FileZilla FTP Client (provided you have rights to the linux box).
    Thanks,
    Ron

  • How to transfer file from application server to presentation server in background?

    Hi Experts,
    How to transfer file from application server to presentation server in background?
    Thanks in advance
    Namita

    Thanks Raman and Challa,
    We want to move file from application server to Shared folder, not on local machine. We checked FM which you guys have provided but those are not able to read file from application server.
    We need this program to run in background so that we can use this in daily process chain.
    Appreciate your inputs on this.
    Thanks,
    Namita

  • HT201236 I want to do something so simple that there are no instructions. I just need to have two windows open at the same time so I can transfer files from one to the other by drag

    I want to transfer files from one device (or page ) to another by drag and drop , so i need two windows ope   at the same time,
    I know this can be done but I have forgotten how

    Don't use any full screen options for any app that has them
    Mount your device and double click on it to open it. Drag this window to the upper right of your Desktop and resize it to a bit less than half of your Desktop.
    Open the next folder and position it on the lower left side and resize it so you can still see the previous window.

  • Windows Easy Transfer can't transfer files from Windows Vista or Windows XP

    I'm running a English Windows Vista Ultimate and just bought a
    ENGLISH Windows 8.1. I've downloaded the WET for Windows vista and tried to complete the second portion of the transfer by specifying the saved .MIG file WET created. Then I got the error message: "Windows Easy Transfer can't transfer
    files from Windows Vista or Windows XP".
    The truth is, Microsoft was too busy integrating special effects to it's operating system and claimed it as fully polished instead of making sure built-in tools were worth using.
    Another harsh reality is that THERE IS NO WAY TO TRANSFER a file from Windows Vista to Windows 8. That's because engineers didn't even bother to make that possibility happen. Just Google: "Transfer from windows vista to windows 8" and you'll see
    there are no relevant Microsoft web page about this.
    Worse, Microsoft is giving excuses. To solve this issues, they came with a toolbox of fake scenarios in order to confuse clients even further, while they know damn well the Windows Easy Transfer is NOT EASY and certainly in multiple cases
    DOES NOT TRANSFER jack to begin with.

    I somewhat agree with you.
    Trying to transfer from 7 to 8.1 and although it looks like the "7" side of the equation is working, the "8" side isn't.
    "7" is trying to connect to "8" but "8.1" is being just plain stupid.
    Not even sure why the MIG file step is even necessary if all I want to do is transfer one file between two machines.  Said file is really BIG, or i'd just use my network, and the "8.1" rig doesn't have a dvd reader...
    Per the MIG step... my file again, is big... I'd need to "mig" this file just to send it? Can't even get to the step where I'd mig-it and if i did, how long would that take?
    So this is what progress is all about... geez... gimmie a NULL MODEM CABLE !!!

  • HT4889 Transfer files from a hard drive to a new mac?

    Currently, I have a 2012 Macbook pro. I love it, but its kinda slow for me. When I bought my Mac, I didn't realize how much I would use it, so I bought the cheapest 15 inch in from 2012 (2.3GHz 4GB RAM 500GB HD) Now, I'm upgrading to a 15inch Retina Macbook Pro with 2.0 GHz 8GB RAM and a 512Gb HD. A local electronics store said that they will buy my mac for $950 from me, and I said yes. Then, I hooked up a 1TB Hard Drive and let time machine work it's magic.
    When I go to buy my new mac, what will I need to do to transfer all of the files from the hard drive?
    Also, I have over 150 movies in iTunes that are ripped dvds and 2000 songs from CDs, and I added info and artwork for all of them. Will they all still be formatted with artwork and info when I import them into iTunes on a new mac?
    Lastly, will I see a huge power boost in the retina Macbook pro with 8gb RAM and a 2.0GHz processor? or should I save up some more money for the 16GB RAM and 2.3GHz Processor? I'm going to college in a year, so I do tons of email/safari-ing, word processing, itunes playing, and downloading, usually at the same time. A usual day for me consists of writing a document in pages or microsoft word, while listning to music from iTunes, with safari open with multiple tabs, and something downloading to my mac. Thank you for the help, it's tremendously appriciated. 

    When you first start up the new Mac you will be asked to enter personal information, etc. At some point you will be asked if you want to transfer files from another source, including Time Machine back up. Make sure your back is connected, and just follow the directions on the screen.
    All formatting etc. will be intact, since TM makes sure it is.
    As for perfomance, the biggest performance boost would be a solid state drive. Have you looked at that option?
    And one of the more prevalent reasons for perfomance hit is an over-stuffed start up drive. Mac OS X needs empty space on the start up disk to do its tasks, make sure you give it enough. Take a look at this: http://macs.about.com/od/faq1/f/How-Much-Free-Drive-Space-Do-I-Need.htm

  • How to transfer files from emac and tiger to iMac

    I am getting a new intel based iMac.  How can I transfer from old eMac with Tiger OS?

    What you're going to need to do is physically transfer files from your old computer to the new one. Just doing a migration will not work.
    What kind of information do you want to transfer?
    1. Connect the computers onto the same network. I'd recommend using an ethernet cable over a wireless network.
    2. On your old computer, go into system preferences> sharing> and turn on file sharing.
    3. Repeat step 2 on your new computer.
    4. On your new computer, go into the Finder, open a new window. Underneath "shared" on the left hand side you should see your old computer. Select the computer and connect as the admin user of your old computer (so use your old username and password).
    5. Inside of this finder window, you can navigate to the files you want to transfer.

  • How do you transfer files from mac to word pc for school?  Paper keeps changing format when professor opens it on PC

    I have Word 2011 on Mac 10.6.8.  I write my papers and save them as .docx  I submit them to my school online but every time My professor opens them he says the margins are set wrong.  He said to save them as a Word-Pc format.  How do I do this? Do I save it as RTF or as PDF?  He has to be able to make comments on the paper after along the right side.  I can not ask him to download anything t make it easier for me. I should be the one doing it correctly. I just do not know how.  Can you please tell me how I should be saving my papers so that they do not change format when he opens them on his PC?
    And I do recheck and open and repen my paper to check and recheck my margins before I submit it and all is fine on my end.
    Thanks for your help.

    nnigel, Welcome to the discussion area!
    I've been reading thru the discussions and yet to find a clear answer on how to transfer files from my external HD to time capsule.
    If it is directly connected to your Mac via USB or FireWire, Time Machine will include it in the backup.
    ...but is it difficult to point the library to the music file on the Time Capsule?
    iTunes for Windows: Moving your iTunes Music folder

  • HT1379 Summary: how to transfer files from SD card when the system (Mac OS X v 10.7.5) will NOT recognize SD cards.

    How to transfer files from SD card when the system (Mac OS X v 10.7.5) will NOT recognize SD cards?
    Insert the SD card.
    System opens iPhoto with SD contents.
    Want to transfer files from SD card to system drive.  iPhoto closes
    SD card directory removed from the Finder window and is not available again. 
    I don't want to have to reboot the system every time I want to perform this option.
    What's wrong here. 
    The support columns show this isn't an isolated incident with all sorts of solutions possible.
    This is a simple task - there should be a simple method for the system to recognize SD cards.
    What's the answer?
    I've reviewed a recommendation to reset the SMC.
    https://discussions.apple.com/message/18500187#18500187
    and
    http://support.apple.com/kb/HT3964
    and another thread that says, basically, you must buy extra hardware to perform this simple task,
    https://discussions.apple.com/message/16911326#16911326
    another one that has the same problem with OS Mountian Lion,
    https://discussions.apple.com/message/21919740#21919740
    another one with the problem that says SD cards can't be read by Apple unless the card is formatted specifically for Apple, ie. that Apple is not compatible with other cards, but the problem maybe something else that requires Apple service - (bad SD card reader?).
    https://discussions.apple.com/message/18711818#18711818
    there are probably more discussions, but I dont' want to spend my entire sunny in Seattle day working this.
    thanks for the help!

    Bucky Fullmeister wrote:
    When I plug in an SD card, the finder window shows it under the DEVICES section.  At this point, I can drag the contents to the hard drive.  However, when I screw up and click the character on the right side of the name - it apparently closes the SD card and I can't find any command to reload or re-recognize the card.  I have to remove and reinsert the card and then sometimes it recognizes the card.  Other times I reboot and it will recognize it.
    What does that character on the right side of the SD card name do?  Is it an eject function - with no way to subsequently reread the drive?
    It ejects or unmounts the card. When the SD card mounts click on it once to highlight it and then drag the files shown within it to the new folder.
    Pete

  • Transfer files from dvr

    How to I transfer files from my Scientific Atlanta Explorer 8300HD to my Mac Book Pro?  I am using Mountion Lion 10.8.2 OS.  I have an HDMI output from the DVR but no USB.
    Thanks in advance.
    Ralph

    wekurtz74 wrote:
    Howdy Folks:
    Couple of quickies! (i hope)
    1.   Been looking for a way to transfer files from DVR to my PC/PC attached hard drive.  Is there any easy way to do this,such as the way a TiVo would allow this to be done?
     2.  While looking for an answer to this, i Found the Media Manager software, which seems to allow one to stream video to your TVs, and other nice things.   I dont like installing software that I cannot use, so............
          A.  Can this be used with the regular HD DVR, or do you need the Home Media DVR system?
          B.    If it can be used with regualr DVR, can the video be streamed to any tv with any box, or can it only go to tvs with DVR boxes?
    Thanks in advance..
    1.
    No. The FIOS TV boxes do not allow the transfer of any content to your PC. (DRM) Digital Rights Management issues. Also HDCP High Definition Copy Protection. The firewire port is active if the correct drivers are installed in the PC. This could allow some none protected content to be streamed to your PC, if it is running D-VCR software. Mostly local programming and is a pain to try and use.
    2. A.
    The software can be used with the non HM-DVR for a 90 day trial, if you go and select Try HM-DVR. But otherwise HM-DVR subscription is required.
    2. B.
    Streaming Video is currently being tested. Total funtionality for streaming video from the PC to STB, has yet to be released.

  • I cannot transfer files from XP to Windows Vista notebook

    Hi,
    I recently bought laptop with windows vista on it. My other computer has windows xp. I would like to transfer files from wndows xp to vista, when I do I am unable to open this. I also receive e mails that have excel (xls) files attached and I am unable to open them, Can anyone advise? Thanks for taking the time to read this.
    Message was edited by: angieos

    How do you exactly mean: transferring files? Would you like to copy them to the machine with Vista?
    And regarding the Excel (*.xls) files, you need Microsoft Excel which is in the Microsoft Office Package. That means if you have no Microsoft Office for Vista then you will need to purchase one to open and edit Excel files.
    More information here: www,microsoft.com
    Cheers

  • How to transfer file from ipod touch to i tunes. i have files in my ipod , ut itunes is  new so its telling if u sync the ipod all the files will be replaced but no files in the itunes.. so kindly help me how to transfer the files  from i pod to itunesb

    how to transfer file from ipod touch to i tunes. i have files in my ipod , ut itunes is  new so its telling if u sync the ipod all the files will be replaced but no files in the itunes.. so kindly help me how to transfer the files  from i pod to itunes......

    Some of the information below has subsequently appeared in a document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991
    Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was designed for you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchased content.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only media purchased from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software. Examples (check the web for others; this is not an exhaustive listing, nor do I have any idea if they are any good):
    - Senuti - http://www.fadingred.com/senuti/
    - Phoneview - http://www.ecamm.com/mac/phoneview/
    - MusicRescue - http://www.kennettnet.co.uk/products/musicrescue/
    - Sharepod (free) - http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 - Windows
    - Snowfox/iMedia - http://www.mac-videoconverter.com/imedia-transfer-mac.html - Mac & PC
    - iexplorer (free) - http://www.macroplant.com/iexplorer/ - Mac&PC
    - Yamipod (free) - http://www.yamipod.com/main/modules/downloads/ - PC, Linux, Mac [Still updated for use on newer devices? No edits to site since 2010.]
    - 2010 Post by Zevoneer: iPod media recovery options - https://discussions.apple.com/message/11624224 - this is an older post and many of the links are also for old posts, so bear this in mind when reading them.
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive - https://discussions.apple.com/docs/DOC-3141 - dates from 2008 and some outdated information now.
    Copying Content from your iPod to your Computer - The Definitive Guide - http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/ - Information about use in disk mode pertains only to older model iPods.
    Get Your Music Off of Your iPod - http://howto.wired.com/wiki/Get_Your_Music_Off_of_Your_iPod - I am not sure but this may only work with some models and not newer Touch, iPhone, or iPad.
    Additional information here https://discussions.apple.com/message/18324797

  • Delete  flat file from the local drive after downloading in the program

    how to <b>delete flat file from the local drive after downloading in the program</b>
    I am using gui_upload to upload flat file data in internal table. and after that i dont want that flat file in the disk. i want to delete it.

    Once the file has been uploaded into the internal table call the<b> FILE_DELETE </b>method of the class  <b>CL_GUI_FRONTEND_SERVICES</b>.
    DATA: v_rc TYPE i.
    CALL METHOD cl_gui_frontend_services=>file_delete
    EXPORTING
    filename = 'C:\TEMP\MATERIAL.TXT'
    CHANGING
    rc = v_rc
    EXCEPTIONS
    file_delete_failed = 1
    cntl_error = 2
    error_no_gui = 3
    file_not_found = 4
    access_denied = 5
    unknown_error = 6
    OTHERS = 7.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Regards
    Kathirvel

  • Copying file from a local computer into mapped LAN share.

    I tried to copy a file from a local computer into a Z: disc (a LAN share). I tried to use every method i found on the internet. Using io, nio.. nothing works. It works well on the local computer, but not through LAN. It says that there is not enough of system resources to go on (i'm talking about big files.. more than 200mb... small files are accepted).

    Hi,
    Flash itself has no filewriting capabilities other then the
    SharedObject
    stuff.
    But why can't you call a php script? You could install
    apache, PHP and
    MYSQL on the computer running the Flash app and get it all
    into the
    database in one go.
    Otherwise you either need to get going with AIR (Adobe
    Integrated
    Runtime), or use a wrapper application like Adobe Director
    (which has
    tons of ways to write to file through it's plethora of
    Xtras.) Director
    may be 'a bit' hard on your budget if you only use it for
    this purpose
    though.
    The XMLSocket is for connections to some server, local or
    remote, not to
    a file.
    Manno
    graphic_pawn wrote:
    > First, I'm using Flash CS3, and Actionscript3.
    >
    > I'm trying to set up a data collection form that will
    save the results to a
    > file that can later be imported into a database. This is
    going to be in a Kiosk
    > at a tradeshow and it won't have internet access, so I
    can't send it to an
    > online PHP or ASP, etc, script.
    >
    > The form also has several screens, so i thought I'd try
    to use the Form
    > Application (I know I can only have one frame on the
    timeline when using this
    > flash template with the data components). I want to try
    and write the data to a
    > XML file. All the information I've found is for
    importing data from an XML file
    > to a web server rather than sending data to an XML file
    on a local computer.
    >
    > I'm trying to use the XML connector,and an XML file that
    resides in the same
    > folder as my Flash file, but so far I've had very little
    luck writing to that
    > XML file. Do I need to set up a dataset to send the form
    data to that will then
    > send the data to an XML Connector component that will
    then send the data to the
    > XML file. Should I use LoadVars instead, and if I do,
    will I have to write to a
    > script, or can it also write to an XML file.
    >
    > If any one has a better idea to do this, please let me
    know.
    >
    > Thanks.
    >
    Manno Bult
    http://www.aloft.nl

  • I am trying to transfer files from my MacBook Pro to my iMac using migration Assstance and they cannot find one another.  My MacBook Pro uses Migration Assistance 1.0.6 and my new iMac uses 10.5.3.  What can I do to allow sharing?

    How does one transfer Files from an old MacBook Pro to a new iMac?

    10.5.3 is at least part of the problem.  You need to apply the latest updates to that mac.
    See How do I set up a new Mac from an old one, its backups, or a PC?  Select the appropriate link and follow the instructions carefully.

Maybe you are looking for

  • Connect to SQL Server from Oracle

    Does Oracle offer any connectivity to NON-Oracle databases such as SQL Server from within the Oracle database itself, similar to a database link ?

  • Recovered deleted iPhoto library is in wrong format?

    My iPhoto library was deleted so I used Disk Drill Pro and seemingly successfully recovered them. I recovered them and saved them to a USB drive but when I click the recovered library, iPhoto says it doesn't recognize the format. This is what the con

  • Regarding Archiving customer

    Hi i want to archive  customers which are not in use and which don't have any transactions iam trying to do the same through SARA .When i have gone through this process and scheduled the job the spool job doesn't contain any data .any guess for the r

  • Solaris 10 ssh through a firewall

    I have Solaris 10 up and running on an HP Vectra. Everything is fine until I attempt to ssh through my firewall from the outside world. I can ssh from my linux systems on the lan. But when I attempt to ssh from outside using either putty or ssh on an

  • Caching in report query

    I have 2 questions. 1. Theres is cacheQueryResults() method in ReportQuery class. The javadoc says that "This method will instruct the query to cache the results returned by its next execution. All subsequent executions of this query will return this