Urzent: Delete files in FTP server using FTP receiver adapter

Hi Experts,
We are doing 2 asyncronous scenarios. frst scenario should delete existing file and place the request file. Second scenario should pick(delete) response file and delete request file it placed also.
Scenario 1 : File(NFS) to FTP  (Asynchronous)
Scenario 2: FTP to NFS  (Asynchronous)
Scenario 1: (Receiver FTP Adapter )
step-1: PI has to delete all existing files in FTP server
step-2: PI has to place Request file in FTP
Scenario-2: ( Sender FTP Adapter)
step-1: PI has to Delete request file i FTP server
Step-2: PI has to pick and delete response file in FTP server
Doubts:
How can we do above steps in PI
Thanks,
Murali

Hi Krish - For scenario -1 You have to make use of the OS commands to delete the files on FTP server before placing the request file.
          -> write some script which wil connect to the FTP server and delete the files.
          -> call that script from the file adapter "using execute OS commands" option
For scenario -2 :
pick both the files(request and response) and set the processing mode to delete..
during the receiver determination, process only request files(based on filename/content)

Similar Messages

  • How to fetch and save file in common server using FTP in SAP

    Dear All,
    My requirement is to fetch a image and save an image in a common server through SAP .
    I think there is some concept of doing the same using FTP.
    Please put some light on this issue.
    REgards,
    Amruta

    Hi,
    Below are the FM's use to FTP.
    FTP_CONNECT                    Connect to FTP server
    FTP_COMMAND                    Execute FTP Command
    FTP_DISCONNECT                 Disconnect from FTP server
    You can search SDN for more details on each of the FM's.
    Hope this helps
    Regards
    Shiva

  • Failure to connect to FTP server using FTP Adapter?

    Attempting to setup a SOA 11g composite app to demo the use of a FTP Adapter. Composite used a File Adapter (Read, opaque schema) wired to a mediator which was wired to a FTPAdapter (ASCII-Put, opaque schema). The routing rule in the mediator maps the File-Read opaque schema to the FTP ASCII-Put opaque schema.
    In the document "+User's Guide for Technology Adapters 11g Release 1 (11.1.1)+" I followed the steps in 4.2.21 Securing Enterprise Information System Credentials to set username/password (ftpuser/oracle) for the eis/Ftp/FtpAdapter connection. This is the default JNDI name for the FTP Adapter.
    For the FTP server installed Filezilla server. Configured the home directory to appropriate folder.
    Installed Filezilla client to test the server using ftpuser/oracle - as the created user on the server. No problem here – can see the appropriate folders and ftp files to/from the folders.
    Used a similar composite using a File Adapter-Write (opaque schema) instead of the FTPAdapter (ASCII-Put - opaque schema). This composite works with no issues. FYI – using JDev 11.1.1.1, SOA Suite 11g.
    Was not using VPN.
    When placed the required file in its directory (for the File-Read) it was read but the ASCII-Put file from Filezilla server did not appear.
    Based on error/fault messages seems to be a login issue. However, have no idea as to where the issue as all usernames/passwords are correct. But then - isn't that always the case?
    After having worked on this for a couple of days - need some help - please.
    The following error messages appeared:
    Filezilla Server:
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> Connected, sending welcome message...+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.37 beta+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220-written by Tim Kosse ([email protected])+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> USER+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 501 Syntax error+
    +(000004)11/3/2010 14:07:53 PM - (not logged in) (127.0.0.1)> disconnected.+
    Fault message from WLS enterprise manager for the composite
    onMessage
    Nov 3, 2010 2:06:54 PMonCase "FTPPut.Put"
    Nov 3, 2010 2:06:54 PMTransformed message part "opaque" using "xsl/opaqueElement_To_opaqueElement_3.xsl"
    Nov 3, 2010 2:06:54 PMError during invoking 1-way operation "Put" on target service "FTPPut"
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in. Error in logging in. Unable to log in to the server. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Output from SOA Server console window
    Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=>  FileR FileRAdapter Service FileR was unable to perform delivery of inbound message to the composite default/Project1!1
    +.0*03f979cb-4a66-4c89-8a68-cce43fcdef88 due to: BINDING.JCA-12563+
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log+
    +WARNING: File Adapter Project1 InboundTranslatorDelegate caught Generic Exception , the Resource Adapter will ignore this+
    +Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log+
    +WARNING: File Adapter Project1+
    +BINDING.JCA-12509+
    +Unable to post inbound message.+
    +Unable to post inbound message to Composite.+
    +The JCA Listener of the JCA Binding Component was unsuccessful in delivering an inbound message from the endpoint FileR due to the following+
    +reason: oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +Please examine the log file for any reasons. Make sure the inbound XML messages sent by the Resource Adapter comply to the XML schema defini+
    +tion of the corresponding inbound WSDL message element.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:552)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:376)+
    +at oracle.tip.adapter.file.inbound.Publisher.publishMessage(Publisher.java:377)+
    +at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:455)+
    +at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:116)+
    +at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:252)+
    +at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:157)+
    +at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349)+
    +at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)+
    +at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:171)+
    +at java.lang.Thread.run(Thread.java:619)+
    +Caused by: oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteracti+
    +onException.java:75)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.getFabricInvocationException(AdapterReference.java:294)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:281)+
    +at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)+
    +at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)+
    +at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    +at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +at java.lang.reflect.Method.invoke(Method.java:597)+
    +at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)+
    +at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)+
    +at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +at $Proxy195.post(Unknown Source)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(MediatorServiceEngine.java:870)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:200)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:94)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)+
    +at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:47)+
    +at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:64)+
    +at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:121)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:467)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:366)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:272)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:138)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:655)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:481)+
    +at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)+
    +at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)+
    +at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    +at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +at java.lang.reflect.Method.invoke(Method.java:597)+
    +at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)+
    +at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)+
    +at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +at $Proxy195.post(Unknown Source)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:509)+
    +... 10 more+
    +Caused by: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:427)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:530)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:49+
    +4)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteractio+
    +n.java:463)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:244)+
    +... 52 more+
    +Caused by: BINDING.JCA-11439+
    +Error in logging in.+
    +Error in logging in.+
    +Unable to log in to the server.+
    +Please ensure userid and password specified to login to the server is correct.+
    +at oracle.tip.adapter.ftp.FTPClient.regularLogin(FTPClient.java:1614)+
    +at oracle.tip.adapter.ftp.FTPClient.login(FTPClient.java:1561)+
    +at oracle.tip.adapter.ftp.FTPAgent.login(FTPAgent.java:1094)+
    +at oracle.tip.adapter.ftp.FTPAgent.preCall(FTPAgent.java:1515)+
    +at oracle.tip.adapter.ftp.FTPAgent.validateOutputDir(FTPAgent.java:1154)+
    +at oracle.tip.adapter.file.outbound.FileInteraction.validateDirectory(FileInteraction.java:2726)+
    +at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(FileInteraction.java:548)+
    +at oracle.tip.adapter.ftp.outbound.FTPInteraction.execute(FTPInteraction.java:238)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:297)+
    +... 56 more+

    I've an ftp adapter configured to read from windows server(SOA server running on IBM AIX, filezila on Windows server). I've provided the hostname,username,password, accountname,ftpAbsolutePathBegin as /, port as 21.
    I've set listParserKey to WIN.
    Still FTPAdapter is unable to read from Windows server.
    I'm able to get, delete etc from ftp commands through putty.Port 21 is open.
    Any clue?

  • Help Downloading a file from a server using FTP with only URL methods

    Hi All
    I have written this code and it is not working I dod not know why the download is not working please help is there anything that's missing?
    * Download the file
    public void download(String fileName, String destination)
           BufferedInputStream bis = null;
           BufferedOutputStream bos = null;
          // File destDir = null;
           try
               String urlString = "ftp://"+userName+":"+password+"@"+hostName+"/"+fileName;
               URL url = new URL(urlString);
               URLConnection conn = url.openConnection();
               conn.setDoOutput(true);
         conn.setDoInput(true);
               conn.connect();
           //set the destination directory
           File destDir = new File("U:\\2004\\"+fileName.trim());
            System.out.print("\n\n");
            System.out.print("Destination set to :" +destDir);
            System.out.print("\n\n");
              bis = new BufferedInputStream( conn.getInputStream() );
              bos = new BufferedOutputStream( new FileOutputStream(destDir.getName()));
              System.out.print("get file name :" +destDir.getName());
              System.out.print("\n\n");
              int i;
              while ((i = bis.read()) != -1)
                 bos.write( i );
              System.out.println("Trying to download...");
              bis.close();
              bos.close();
           catch (IOException ie)
         System.out.println( "Input not available" );
    This is what I get after runing this code.
    get umlcourse.txt U:\2004
    Destination set to :U:\2004\umlcourse.txt
    get file name :umlcourse.txtTrying to download...

    AceV wrote:
         String urlString = "ftp://"+userName+":"+password+"@"+hostName+"/"+fileName;
    You probably need to specify the transfer mode. For example:
    String url = "ftp://sam:spade@ftphost/myfile.txt;type=a";
    // Specify type=i for binary.

  • How can I create a directory on my server using FTP in applescript?

    Hi
    I have created a script which successfully uploads files to my server using FTP and a curl command.
    The one thing I haven't worked out how to do is how to create a directory on my server using applescript. At the moment I have to manually create the correct directory for the script to work, but would like to be able to automate everything.
    Would this be possible?
    Thanks
    Nick

    Thanks Bernard.
    I have tried that and still get the error message:
    "curl: Can't open '--ftp-create-dirs'!
    curl: try 'curl --help' or 'curl --manual' for more information
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
    curl: (9) Server denied you to change to the given directory"
    The other relevant parts of the script are:
    set ftp_url to "ftp.****.org.uk/artists/" & artistName2 & "/assets/"
    set ftp_username to "*****@*****.org.uk"
    set ftp_password to "****"
    set ftp_entire to ftp_username & ":" & ftp_password & " ftp://" & ftp_url
    set outPath to outputFolder & fileCounter & ".jpg"
    and then...
    do shell script ("curl -T --ftp-create-dirs " & outPath & " -u " & ftp_entire)
    Like I said, all works fine when the directories are already in place. I have permissions for the artists folder set to "777", i.e. writable. Because the script is trying to create two directories at once, i.e. "artistName2" and then "assets" under it, I wondered if this was significant, but then I tried with just one new directory, and still got the error.

  • Process TIFF file from FTP server using File/FTP adapter

    Hi,
    I have a requirement to process a scanned document TIFF file from a directory on an FTP server using the File/FTP adapter and process through XI into a Web Service via a receiver SOAP adapter.
    My question is can the file/FTP adapter be used to process the TIFF file into XI from an FTP server ? Also, what settings need to be made on the file adapter to allow this file to be processed into XI ?
    Thanks in advance
    Colin

    hi colin,
    TIFF is type of image file, it can be converted to binary using java mapping
    refer this pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
    regards
    Ramesh P

  • How to connect to a FTP server using a proxy in a DMZ with XI file adapter?

    Hello,
    Want to connect to an ftp server using a proxy in the DMZ. I don't see any standard options in the XI file adapter to use a standard. Is there a workaround?
    I already looked at https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=57137
    But it didn't help me.
    Regards,
    Erik van Lisdonk

    U can't use FTP over SSH i.e., SFTP. But u may use FTPS by enabling the SSL layer on J2EE of XI. See this
    SFTP vs. FTPS in SAP PI
    Regards,
    Prateek

  • Unable to connect to the remote ftp server using dreamweaver.

    For the last one week I have been trying to connect to the remote ftp server using dreamweaver. I spoke to the technical support agency who manage our remote server but they are saying that there is no problem with the server adn they dont know anythign about dreamweaver so cant assist me.
    I was suggested to check with adobe team directly and i spoke to a technical support person on the live chat but they said since the version is CS4 - education version, they cant assist me at all!! This is just ridiculous...I am constantly being sent from one place to the other without anything getting resolved!!
    Please help somebody!!

    I am having a similar problem... maybe.  I was connected to my remote site all day yesterday, then out of the blue I tried to "put" an edited file... as I had been doing all day, and I received an FTP error:  Cannot make connection to host. Your login or password is incorrect.  That's odd, I've been connecting all day.  So I went into my sites > manage sites and clicked the Test button on my remote server information and it returned Adboe Dreamweaver CS connected to your webserver successfully.  I went back to my file and tried once more to "put" it on the remote server... again FTP Error: cannot make connect to host...  So I reboot my computer and start Dreamweaver CS3 again.  I reenter my remoter server information and click the Test button.  "... connect to your webserver successfully".  I try to put any file, FTP error again.  So I call my server administrator, he checks the servers logs and says there are no errors and you've connected successfully several times today.  I went through the trouble shooting steps listed here, though my FTP Logs are empty.  I cannot stay connected or even see the remote folders to try to drag and drop.  I tried to run ftp from a windows command prompt and it seems to connect me.
    I downloaded an installed an SFTP client and was able to successfully connect to my remote server and upload the files.  It's definately a Dreamweaver problem.  Any suggestions?

  • Dreamweaver (on Windows 7) wont connect to IIS (v7) Server using "FTP over SSL/TLS..."

    I am evauating wether to purchase Dreamweaver CS6...
    Dreamweaver CS6 trial (on Windows 7) wont connect to IIS (v7) Server using "FTP over SSL/TLS (explicit encryption)".  I have a NEW Godaddy SSL certificate installed on the IIS server. 
    On connecting Dreamweaver states: "Server Certificate has expired or contains invalid data"
    I have tried:
    -ALL the Dreamweaver Server setup options
    -Using multiple certificates (tried 2048 bit and 4096 bit Godaddy SSL certificates)
    -Made sure the certificate 'issued to' domain name matches my domain name.
    I am able to connect no problem using Filezilla, with equivalent Filezilla setting "Require explicit FTP over TLS".  I can also connect fine using Microsoft Expression web. 

    Thanks for your prompt reply.
    My comments:
    1) You should update your tread (forums.adobe.com/thread/889530) to reflect that it still occurs on CS6 (I had already read it but figured it was an old tread and thus should be fixed by now). 
    2) You said “These warnings will also pop up for your users if you have a store saying the SSL certificate does not match the domain/ip and this can make users checking out in a storefront very nervous” .  This does not seem to be correct – my https pages display properly using the same Godaddy certificate … using IE:
    3) Godaddy is not my host (I use Amazon AWS) – but the SSL certificate is from them.

  • HOw to delete files from remote server?

    Hi,
    I want to delete files from a directory on remote server.
    I use the following command to delete on current server:
    find $srcdir -mtime +90 -name "COR*.txt" -exec rm -f {} \;
    Now, how can I delete files from remote server ?
    Thanks!
    Yogini

    Some possible options:
    1. There exists SSH implementation for Windows.
    2. You can make a workaround. You can setup share for specific/wanted directory.
    Then you can mount it on Linux machine and execute command localy and delete files "localy" in mounted directory.
    3. You can setup FTP server on Windows machine and do that remotely via FTP commands.

  • Delete file on application server (Froms9iAS)

    How can I delete file on application server (Froms9iAS) from client machine (file such as *.txt,*dbf). I try use old win_api_utility (from Forms6i) but it doesn't work.

    Check out Webutil.
    More on it in the Forms page.

  • Deleting file from application server

    can any one tell me how to delete file from application server?

    Hi,
      Use statement
      delete dataset 'tmpfile.txt'.
    \tmp\file.txt is the file path on application server which you want to delete.
    Regards
    Sailaja.

  • Process Chain - Delete File from Application Server

    Hi Gurus,
    Im working with Process chain, and i have a load from a flat file, so my question is :
    How can i delete that file from the application server after was loaded ?
    THANKS IN ADVANCED !!! I REALLY APRECCIATE YOUR HELP.
    Marcos

    hi,
    I have gone through the forum you have posted for deleting files from application server through process chain.
    I have similar reuirement in my project.
    Can you please provide me the solution?
    Your inputs will be highly appreciated.
    Thanks in advance.
    Regards,
    Lavanya.

  • T-code for delete file from application server

    Hi all!
    Please, has any t-code for delete file from application server? For upload exist CG3Z, for download has CG3Y. And for delete? Has anyone?
    I need to delete file from application server in QA system and i don't want to create a program for this because i will need to transport a request from DEV to QA.

    I don't have contact with basis team.
    The FM EPS_DELETE_FILE support directory name with max 60 char. My dir. has more than that. I need a transaction for this.
    Anybody know if this transaction exist?

  • How to delete file from Window server

    Hi
    Can anybody tell me that Is there any function module for deleting file from presentation server like C directory.
    Quick suggestion will highly be appreciated!!!!!!!

    Try this:
    CALL METHOD cl_gui_frontend_services=>file_delete
      EXPORTING
        filename             =
      changing
        rc                   =
    EXCEPTIONS
       FILE_DELETE_FAILED   = 1
       CNTL_ERROR           = 2
       ERROR_NO_GUI         = 3
       FILE_NOT_FOUND       = 4
       ACCESS_DENIED        = 5
       UNKNOWN_ERROR        = 6
       NOT_SUPPORTED_BY_GUI = 7
       WRONG_PARAMETER      = 8
       others               = 9
    this is pretty gud approach .
    Message was edited by:
            Nishant Rustagi

Maybe you are looking for