Writing files to another server

Hi,
I need help or ideas with writing files (1 text and 1 image) from my servlet to a share/location on another server.
How can this be achieved?

Hello,
1. Shared drives between both servers.
2. You need to write some remote service [WebService, RMI, EJB] on the second server listening on a port and which can receive the information you send through.
Thanks,
Paz

Similar Messages

  • How to copy file to another server from database using FTP in oracle

    How to copy file to another server from database using FTP in oracle.
    Please do the needfaul.

    Billy  Verreynne  wrote:
    BluShadow wrote:
    Not to mention that some FTP servers can return more than one return message per operation whereas others may return one message for the same operation.I had the problem using the LIST command to determine if a file exists on the server. Cannot be determined via the FTP server's return code. Which means parsing and checking the text response from the server to the command. And this vary from server to server.
    But the basics were quite easy to code. The entire package is 500 lines, includes comments and blank lines for formatting, and supports the basic FTP client command set. Not really a complex piece of software to write - but I found that many developers seem to think that writing network socket software is complex. Not really the case...Mine's a big larger, but incorporates functionality similar to what Chris provided in his, such as being able to use SQL to query a remote file using pipelined functions, or functionality to write the results of a query directly to a remove file.
    :)

  • Connection refused Error while writing file to FTP server.

    Hi All,
    We got below error while writing file to FTP server. Any one have any idea on this?
    sABCS_1.0_8e88588d4fb54ebd2ac7ef66c8421d52.tmp/writeEncryptedFile.wsdl [ Put_ptt::Put(opaque) ] - Could not invoke operation 'Put' against the 'FTP Adapter' due to:
    ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server. [Caused by: Connection refused]
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.

    Hmmm ...
    Same issue as your post from three months' earlier?
    Re: Error while putting file in sftp location.

  • SSIS 2008 R2 - Export data to Flat File in another server

    Hello Everybody,
    I'm trying to export data from a table in database server to flat file in another server, however it is happening the error Access Denied. I'm using SQL Server Integration Service 2008 R2 to do this.
    I've checked all the ways that's happening could the level of security and could not resolve. 
    Please could someone tell me what I'm missing in this case? 
    Following error log:
    SSIS package "AtualizarDados.dtsx" starting.
    Information: 0x4004300A at Gerar arquivo, SSIS.Pipeline: Validation phase is beginning.
    Information: 0x40043006 at Gerar arquivo, SSIS.Pipeline: Prepare for Execute phase is beginning.
    Information: 0x40043007 at Gerar arquivo, SSIS.Pipeline: Pre-Execute phase is beginning.
    Information: 0x402090DC at Gerar arquivo, Geração de Arquivo [63]: The processing of file "\\targetserver\Export_File\Export_File.txt" has started.
    Warning: 0x80070005 at Gerar arquivo, Geração de Arquivo [63]: Access is denied.
    Error: 0xC020200E at Gerar arquivo, Geração de Arquivo [63]: Cannot open the datafile "\\targetserver\Export_File\Export_File.txt".
    Error: 0xC004701A at Gerar arquivo, SSIS.Pipeline: component "Geração de Arquivo" (63) failed the pre-execute phase and returned error code 0xC020200E.
    Information: 0x40043008 at Gerar arquivo, SSIS.Pipeline: Post Execute phase is beginning.
    Information: 0x402090DD at Gerar arquivo para DMZ, Geração de Arquivo [63]: The processing of file "\\targetserver\Export_File\Export_File.txt" has ended.
    Information: 0x4004300B at Gerar arquivo, SSIS.Pipeline: "component "Geração de Arquivo" (63)" wrote 0 rows.
    Information: 0x40043009 at Gerar arquivo, SSIS.Pipeline: Cleanup phase is beginning.
    Task failed: Gerar arquivo
    SSIS package "AtualizarDados.dtsx" finished: Success.
    Regards,
    Antonio Estima

    I got after using domain user. 
    Thanks to all

  • Server Admin may overwrite files from another server!

    Not 100% sure how this happened, but I found that the users could no longer log onto one of the mail servers. The mail client return a partition error. After some quick investigation I found something that I could just not believe.
    The files main.cf and imapd.conf were wrong....they were the files of another server of mine. I just could not understand how that was possible. I made manual changes to both files to correct them and all was working again. The only way this could have happened was for Server Admin (I had both servers open) to have done it. Has anyone else seen that problem, I do hope not.
    Any idea what other files that Server Admin may update? Whilst I think all is OK now, it is hard to way 100%.
    Tim

    Alex,
    Did some more checking this morning when the pressure was less and can confirm that all the files that the mail section of Server Admin edits were changed to match the setting of the other server that it also has a connection to. Only hope the problem was 'cos I had both servers open at the same time and not the general used of the Admin app. Only really use it on mail now for looking at logs. Will make this as closed, but post something in the admin forum to warn others.

  • Problem in accessing the media files from another server

    Currently I am working in a project with streaming video on demand and using FMS 4.5.
    Let’s say the FMS is installed on one machine say ‘121.123.35.34’ and there is another server ‘100.54.88.222’ where all the media files belong. Now we need to point to this third server to play videos from FMS.I have done the below changes:
    In the fms.ini file: set the VOD_DIR2 = \\100.54.88.222\myvideos
    In the application.xml: Added the stream: <Streams>/hr;${VOD_DIR2}</Streams>
    From my application accessing the path of flv as:source= “rtmp:// 121.123.35.34:1935/vod/hr/test” . Not able to access the video.
    Note: If I will point to say ‘C:hrvideos’ in VOD_DIR2, then I am able to access the videos using the same URL.
    I also tried mapping the shared path to the FMS machine and then given the mapped drive path in the VOD_DIR2, but this also doesn’t work.
    Please let me know:
    If we need to configure any other parameter to stream videos from another server.
    VOD_COMMON_DIR: I modified this similar TO VOD_DIR to location 'C:hrvideos', I am able to stream the videos using rtmp, but not abl eto stream with http.
              Please let me know  can we stream using http also as we need this to run f4m manifest file.
              http://121.123.35.34:8134/vod/hr/sample.mp4.
              http://121.123.35.34:8134/vod/hr/sample.f4m
    Thanks,
    Anjali

    Hi Shiven,
    I followed the steps suggested by you:
    1) Changed the stream:
    <Streams>/hr;${VOD_DIR2}</Streams> to<Streams>/;${VOD_DIR2}</Streams>
    But not able to access the video with rtmp:// 121.123.35.34:1935/vod/test
    2) For http streaming, changes the HttpStreamingContentPath in hds-vod in the httpd config file, and tried to stream the video like:
    http:// 121.123.35.34:8134/vod/test.mp4 or
    http:// 121.123.35.34:8134/hds-vod/test.mp4
    But not able to load the video.
    Please suggest?
    Thanks & Regards,
    Anjali Rawat

  • Restore essbase.sec file to another server

    Dear all,
    I've restored several databases from our Develop server to another server.
    But can I just copy security file to that server?
    My concern is they have different numbers of app/db, will the security file work?
    if it doesnt work, how can I recover the security file of a certain database?
    Thank you in advance for your help!!

    Singlejoe,
    You are going to have problems if you don't match up the app/dbs on your target server.
    Assuming that your source dev server has more databases than the target, before you copy over, create dummy apps/dbs on the target. Stop Essbase, and backup your to-be-replaced Essbase.sec. (A just-in-case copy to retain whatever security, filters, etc. you may have).
    If you have more/different apps/dbs on your target, I would archive them (full backup to text, copy all relevant artifacts, etc.) and then delete. Then follow the paragraph above. The point is to make the app/db folders look exactly the same to Essbase.sec.
    Then copy over your source Essbase.sec to your target, delete the dummy apps/dbs and you should be good to go.
    Regards,
    Cameron Lackpour

  • Problems with FMS accessing files on another server

    Hi Guys
    Im currently working on a small project with streaming video on demand and using FMS 4.0 (and a complete noob in FMS).
    The video’s is located on another server than the FMS. But I have mapped the server to a drive on my FMS server,
    \\192.168.1.10\data\media\mov\ => R: 
    And in the fms.ini file change vod_dir = R:\
    The FMS service is logging on as Administrator, but I still can’t play the videos.
    If I change vod_dir to a local folder ( c:\data\media\mov\ ) on my FMS server it play the movie fine, any idea why this doesn’t work?
    FYI: I'm using rtmp and both servers is running win2008 R2
    Any input is greatly appreciated
    Best reagrds
    Shimshim

    Hi Nikhil
    I ran the test on my two laptops (xp and win 7, instead of the win 2008 servers ), with lesser restrictions.
    When I used the UNC path in the fms.ini it worked fine, but not when I used the mapped drive.
    This proves it s security setting on my servers, that’s coursing the problem.
    Thank you for your help and fast replies J
    Best regards
    Shimshim

  • Transport war-file to another server

    Hi,
    I'm facing a serious problem. I have created a JSP Application with different reports on one machine. One of the reports uses a calculation that was created in JDeveloper. After deploying everything I transport the war-File to another machine which has an oracle instance with the same name, the same users and same AW's. All JSP-pages work fine except the one with the calculation. It says 'No data'. What do I have to do to make it work? I don't want to create the whole JSP-application totally new on the new machine!
    The object_id in the calculation-xml seems to be referenced in the report-xml file. There it begins with 'PSR!'. What does that mean? Is it saved in the RDBMS and could not be found on the new machine?
    Any help appreciated,
    thanks,
    Lars

    Hi again,
    I did some tracing for the query. I don't understand much from the trace file, but there is one line which says: '*** ERROR: memory leak detected 316 ***'. I can't find anything concerning this memory leak. Does anyone have an idea what the reason is?
    What I also would like to know is, how a calculation, which is created in JDeveloper, is saved. Only as XML or are there also Metadata concerning the calculation stored in the database?
    Thanks,
    Lars

  • Using open hub to create a file on another server

    Hello everyone,
    I am wanting open hub to create a file, but create it on a different server (a file sharing server not associated with SAP).  Both BW and this file share server run Windows.
    Can this be done using logical files  (FILE transaction) or other configuration?
    I am aware of some other people posting here that send the file from open hub to DIR_HOME and then have created an OS command (SM49) to copy to the other file share server.  Also I know one could also write an ABAP to FTP the file from this location out to the file share server as well.
    I was hoping that FILE transaction would allow this but so far I have not had any luck with it.
    Many Thanks,
    Kevin

    All,
    Found out that this can be done, you can send a flat file from BW to a completely different server in one step, no need for SM49 or AL11 or FTP or ABAP program in the middle.  The trick lies in the configuration in transaction FILE.
    FILE transaction configuration steps:
    Step 1 - Define Logical File Path - just a place holder here
    Step 2 - Assignment of Physical Paths to Logical Path, here is where you enter the server & path but not a filename, for example
    \\server_swvs01\SAPFILE\<SYSID>\BPC\Cust_R3_sales\<FILENAME>
    Step 3 - Define Cross-client Logical File Name, here is where you specify the actual file name to be written to the file share on the other server in field "Physical file", just make sure and link this to the Local path you created in Step 1 above.  You can also use system variables in the physical file name or hard code it all.
    your_file_name.csv
    Hope this helps someone
    Cheers,
    Kevin

  • Running a Batch File on another Server with an Oracle Job

    hi, i have the following code
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'test_job_bat',
    job_type => 'EXECUTABLE',
    job_action => '\\10.1.1.63\test\test.bat',
    enabled => true,
    comments => 'test bat'
    END;
    So i want to run a batch file, which lies on another pc in the network
    The code runs, without a failure.
    The bat file just contains "MD D:\bla" .
    When i run the code, no bla directory is created, so it seems that the batch file never ran.
    i approved read/write on the test folder. (Windows 7 machine)
    any ideas?
    Edited by: user1067632 on 31.05.2010 05:03
    in dba_scheduler_job_run_details the job is listed as FAILED:
    ORA-27370: Job-Unterprozess konnte einen Job vom Typ EXECUTABLE nicht starten
    ORA-27300: BS-abhängiger Vorgang accessing execution agent mit Status: 2 nicht erfolgreich
    ORA-27301: BS-Fehlermeldung: Das System kann die angegebene Datei nicht finden.
    ORA-27302: Fehler aufgetreten bei: sjsec 6a
    ORA-27303: Zusätzliche Informationen: Das System kann die angegebene Datei nicht finden.
    Edited by: user1067632 on 31.05.2010 05:16

    ok sorry, i made my testjob run, the OracleJobScheduler was not started.
    But now i ran into an another Problem.
    Now i want to java bla.jar in my batch, and got that new error
    ORA-27369: Job vom Typ EXECUTABLE nicht erfolgreich mit Exit-Code: Unzulässige Funktion.
    STANDARD_ERROR="Unable to access jarfile start.jar"
    anything to consider when accessing .jar files in my batch?
    edit:
    there was a classpath problem.
    Edited by: ginkgo on 01.06.2010 04:29

  • Regarding writing file in application server with ISO8859 characters

    Hello Experts,
      I have a requirement that i need to write my file which read from the data base in ISO8859 characters in the application server.
    Is there any FM or any particular code conver normal data base data to ISO8859 characters ?
    Please give me some advise.
    Thanks,
    Suresh

    Hello Suresh,
    You DONOT have to do any conversion. You need to use the CODE PAGE addition with your OPEN DATASET stmt.
    Can you specify as to which Character Set you need to download? (e.g., Cyrillic, Greek, Polish etc)
    You can have a look into the SAP Note 73606 for details.
    BR,
    Suhas
    Edited by: Suhas Saha on Dec 19, 2008 7:27 AM

  • Send uploaded file to another server

    i have build a bsp who can i upload 2 files.
    these files are saved in a table with filename, extention and content. now i want to send these informations to a external server.
    i found nothing about this theme...
    have somone a idea?
    thx
    Dogas
    Message was edited by: Chris McDogas

    There is a coding example in this weblog of using the HTTP Client Functionality:
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    However I think that only gets you part of the way there.  I'm still now sure exactly what mechanism you will use to upload the file.  That is why I asked can you perform the action from a PC.  I was trying to figure out if there is a webpage on this external server that has a UI for uploading the file. Just making an HTTP connection isn't going to magically transport your file up to this external server.

  • Writing File into Application Server

    Hello,
    In one scenario i ve to upload a text file into the Application Server.
    I know to upload the file through tcode CG3Z, but i have to upload the file through the code.
    How to do that?
    Please reply.
    Regards,
    Rahul

    Hi Rahul,
    Save the excel file as Tab delimited, and use the FM: GUI_UPLOAD.
    DATA: i_file like rlgrap-filename value '/usr/sap/tmp/file.txt'.
    DATA: begin of it_datatab occurs 0,
    row(500) type c,
    end of it_datatab.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = i_file
    filetype = 'ASC'
    has_field_separator = 'X'
    TABLES
    data_tab = it_datatab "ITBL_IN_RECORD[]
    EXCEPTIONS
    file_open_error = 1
    OTHERS = 2.
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • Writing the files in different server

    Hello
    I am using oracle8i. I am converting the data into XML files. My company wants to
    keep the converted XML files in different server. I am planning to use UTL file to
    create the files. So UTL FILE would not write in another server. What is the
    best way to solve this issue ?.
    My option is
    1. Create the XML files in Oracle server(using UTL FILE).
    2. Write the batch script to move the files to another server.(can you give me a sample script for writing the batch file ?)
    Is there any other alternate way to solve this problem ?.
    I would appreicate if you could give me any other simplest way.
    Thanks
    Govind

    Can i specify the remote file path in UTL_FILE_DIR(parameter files)... Please clarify .
    Govind

Maybe you are looking for

  • ITunes opens with error -42110 in Windows 8

    Have a variety of iTunes libraries. All those running on Windows 8 have an error -42110 on opening. Googling yields no help. Anyone? What causes error and what does it mean. And how is it fixed? TIA.

  • Sync key format changed in FF4

    I started using the Firefox Sync add-on when it was just an add-on. I was allow to make my password in the form of "xxxxxxxxxxxx" (letters and numbers were mandatory). Now, since the last few FF4 Betas, when I try to set up sync so I can get all my d

  • Can't upload photo's to ebay- tried ALL troubleshooting suggestions provided, please help.

    Tried clearing cache and cookies. Reset Firefox. Re-installed Firefox. Disabled Plug-ins. Started in safe-mode. Not sure what else to do!

  • Forcing static method implementaion!!

    hi guys, I want to force the implementation of a static method in my subclasses! How can i do it?

  • Search engine default

    My MacBook automatically started searching with the Yahoo! search engine. I have reset safari and changed my default search.  The search bar says google search and the drop down options before I hit enter also says google searches, but still it searc