How to delete zip file in sftp server

Hi Gurus,
I am having one .zip file with data files inside on the sftp server. Can you please how to delete the .zip files in the sftp server. I am able to delete normal files by using 'rm' on sftp.
And one more request my sftp is prompting for the password everytime, then i need to enter the password manually. Can any one suggest how to write in shell script to accept that.
Thanks in advance.
Regards
Nagendra

You might want to look into user equivalence and configure a certificate for ssh so it does not prompt for a password.
It will also allow you to use sftp without a prompt for a password.
On the server side:
Edit /etc/ssh/sshd_config and remove the # from the following:
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
Then restart the ssh server:
/etc/init.d/sshd restart
Login as the user for whom this is for:
su - <username>
mkdir .ssh
chmod 700 .ssh
On the client side:
Run the following command:
ssh-keygen -t rsa (omit password)
Then use the following to copy the public key from the client to the
corresponding login .ssh directory on the server side;
scp .ssh/id_rsa.pub username@remote_host:.ssh/authorized_keys

Similar Messages

  • How to delete a file from application server?

    Hi gurus,
    i want delete a file from application server . can any one tell me the BAPI/Fm .
    thanks in advance

    See the replies of the thread;
    How to delete  File from the Application Server,ABAP
    But i can smell something fishy in both  The specified item was not found. and The specified item was not found. style of posting questions. Also both of you have similar questions in your profile....
    Hmmm, Mods have to take care of the Rest...
    Regards
    Karthik D

  • In adf,how to delete a file generated on server,when the webpage is closed

    Hi,
    I have an application consisting of 2 pages. in the 1st page i will give some input details and when i click on submit, some java code is getting executed in the back. That java code generates a csv file in the server location. after succesful execution of java code, i was redirected to 2nd page. In 2nd page, i am giving option to download and when the user clicked on download button and after the file is downloaded -- in the backend i am deleting the file from the server. Till this point everything is fine. But if the user didnt click on the Download button and instead if he closes the browser, the csv file gets remained on the server itself. This is the issue i am facing .. I am not able to get an idea in ADF Framework, how to delete a file when the browser is closed. Please help me out in this.
    Thanks in advance !!!

    ADF has nothing to do with tracking browser close buttons. What you can do is call a JS function and call the method which deletes the file from within the JS function. ADF has a component for calling java code from JS call.

  • How to delete a file from Appliction Server.

    Hi Gurus,
    I want to delete a file from application server .
    can any one tell me the FM/BAPI.
    Plz Reply me ASAP.
    Thanks in Advance.

    BAPI_DOCUMENT_DELETE ?
    GUI_DELETE_FILE ?
    maybe just go to SE37, enter DELETE, and click on the document icon to find from repository system.
    Regards,
    Vincent

  • Very Urjent: How to delete temporary files on the server.

    EBS:
    We are facing a big issue with huge volume of temporary directory.We have created invoice program which uses Bursting concept. Every concurrent program is erroring out. How to delete those files automarically.
    Where these temp files are getting stored. How can we delete them once the concurrent request is completed.
    Please help me..its a huge issue. Thanks in advance.

    Sorry Steven,
    I saw your solution. Thanks for that. But I just want to know, do we have any setups in XML Publisher Administrator or bursting control file to delete the files automatically once the concurrent request is completed.
    And one more thing I found is, In the xml administrator, General properties i have specified the temporary directory as '/tmp'. But all the temporary files are loading in '$XDO_TOP/temp' directory. Why is this..

  • How to get zip file in SFTP receiver adapter

    Hi Experts,
    we got one scenario, which the PI need to pick the .zip file from file path using  file adapter and process to SFTP server with same name and extension .zip.
    we tried using ASMA setting and when ever we are placing the '*' in receiver channel file name , it showing error as "Putting * failed".
    so could you please provide solution how we can able to receive the .zip file with same name.
    regards
    raju

    Hi Raju,
    In ASMA the default namespace was like this http://sap.com/xi/XI/System you can changed it to http://sap.com/xi/XI/System/File.
    please try this...
    Regards
    srinivas

  • How to delete a file on web server without using FTP

    Hi All
    I hv given a facility to a site user to upload some files..
    And an interface to web administrator to view all the files..
    I want to know how can i write a code in JSP which allow the web administrator to delete any of that file which is not of his/her interest through provided interface only.
    OR
    Is it possible to delete a particular file from web server without getting login into FTP account
    Thanx

    new File(strFileName).remove;
    Simply as this.
    Don't forget to import java.io.FileInputStream.

  • How many appsutil.zip files for database server w/multi application tiers

    Hi Gurus,
    Two questions needing your help:
    1) Patching in a multiple application tiers systems, do we need to create the appsutil.zip file from each application tier (three) and ship it to each of the database tier (two) and unzip appsutil.zip?
    Go to Apps tier and create the appsutil.zip file:
    perl <AD_TOP>/bin/admkappsutil.pl
    I am unable to find any document to address this question. Please help.
    2) Noticed $ORACLE_HOME/appsutil/admin directory missing following autoconfig per RUP7 patching
    Not sure what caused it.
    Thanks,
    Newbie

    Hi,
    1) Patching in a multiple application tiers systems, do we need to create the appsutil.zip file from each application tier (three) and ship it to each of the database tier (two) and unzip appsutil.zip?
    Go to Apps tier and create the appsutil.zip file:
    perl <AD_TOP>/bin/admkappsutil.pl
    I am unable to find any document to address this question. Please help.You will have to do this only once (not three times).
    2) Noticed $ORACLE_HOME/appsutil/admin directory missing following autoconfig per RUP7 patching
    Not sure what caused it.Please see if (Note: 820077.1 - How To Recreate The Missing "scripts" Folder Under $ORACLE_HOME/appsutil On the Database Tier Server ?) helps. Once you follow all the steps, run AutoConfig on the database tier and see if the directory still there or not.
    Regards,
    Hussein

  • How to delete zip files on iPhone

    I'm using Safari on iPhone 5S (iOS 8.1.3) to surf the web. Unfortunately, it downloaded a .zip file. I don't know how to delete it.
    I try to open it in a app and delete it in that app. However, opening the safari this file's still there.
    Thanks for your help.

    Hi, hduc.yds.  
    Thank you for visiting Apple Support Communities.  
    I understand that you are experiencing an issue with Safari for iOS.  I would recommend clearing all website data, force closing Safari and restart the phone.  One this is done test the results.  
    Clear information from your device
    To clear your history and cookies from Safari in iOS 8, tap Settings > Safari > Clear History and Website Data. In iOS 7 or earlier, tap Clear History and tap Clear Cookies and Data.
    To clear other stored information from Safari, tap Settings > Safari > Advanced > Website Data > Remove All Website Data.
    Safari web settings on your iPhone, iPad, or iPod touch
    Force an app to close in iOS
    -Jason H.  

  • How to delete pdf files created on server using cfdocument pdf?

    I am using <cfdocument format="pdf" ...
    to create a dynamically named and generated .pdf and it works rather well.  Navy managers can easily email the pdf to ships in the fleet and planning forces in the shipyards. (Planning data changes almost daily). However I have noticed that the pdf file stays on the server.  Over time this could become a problem with numbers.  Is there something I am missing to remove these pdfs over time.  Other than a manual review and delete.  This government server requires 4 logins and your right arm to update, so something auto is needed.

    Thanks for responding:
    I am not using cfmail - I am leaving it up to the user to print save or email.
    Your second option sound good but I really was hoping I was just missing something easy (new to cf).
    I did try giving the pdf the same name but I was having lots of troble with always returning the cached version.

  • How to exreact multiple pdf files from a zip files from application server to presentation server

    Hello exprts,
    I am passing one pdf file and one text file to zip file in apllication server through my custom program and then downloading it using standard function module to my desktop. its working fine. Then I added  another pdf file to my zip file. But only single pdf file is getting download . So can you please help me regardiong this issue? 

    Dear Experts ,
    I finded out the way to extrcat pdf files in presentation server. But now my problem is that I am not able to add multiple pdf files in a zip file. When I am adding new pdf file then older one is not coming in read data set. So please kindly tell me how can I add multiple pdf file in my zip file and again I can get all the pdf files from here.

  • How to delete the files from server through OAF page

    Hi All,
    I have a requirement in which i am creating files on server through my CO code.
    Now once the page is rendered, i want to delete the files from the server.
    Just wondering how can we achieve this.
    Kindly advice!
    Thanks,
    Sachin

    Hi Sachin
    all the methods in the processRequest() are called during loading of the page.
    all the methods in the processFormRequest() are called during any action events on the page.
    So Use the method in processFormRequest() : write a method in
    that on which action you want to delete the file.
    regards
    sridhar

  • How to rename a file in Application server

    Hi All,
    Here I have a issue with  the present file which is being generated in application server.
    Before the completion of the file the EDI tool is extracting the file from the app server.So here I would like to generate the file with a temp name and then rename to the actual file name which EDI recognises and fetches.
    Please correct me If I am wrong and let me know how to rename the file in application server.
    Thanks,
    Vijay N

    you can try using unix command , if your application server is unix.
    use move command
    mv   <source>  <target>
    REPORT ZUNIX line-size 400
                    no standard page heading.
    data: unixcom like   rlgrap-filename.  
    unixcom = 'mv file1 file2'.
    data: begin of tabl occurs 500,
            line(400),
          end of tabl.
    data: lines type i.
    start-of-selection.
      refresh tabl.
      call 'SYSTEM' id 'COMMAND' field unixcom
                    id 'TAB'     field tabl[].
    or else you can open dataset/ read the dataset and move it to another file and delete the old file.

  • System exception while deleting the file from app server in background job

    Hi All,
    I have a issue while the deleting the file from application server.
    I am using the statement DELETE DATASET in my program to delete the file from app server.
    I am able to delete the file from the app server when i run the program from app server.
    When i run the same report from background job i am getting the message called System exception.
    Is there any secuirity which i need to get the issue.
    Thank You,
    Taragini

    Hi All,
    I get all the authorization sto delete the file from application serever.
    Thing is i am able to run the program sucessfully in foreground but not in the background .
    It i snot giving any short dump also just JOB is cancelled with the exception 'Job cancelled after system exception ERROR_MESSAGE'.
    Can anybody please give me suggestion
    Thanks,
    Taragini

  • Question:  why isn't how to delete a file available.

    How come you have to search for the information on how to delete a file from Adobe Reader.   This should be in the instructions on how to use with how to download.  Does anyone agree?

    If it is a system file and even if the file is corrupted, it cannot be deleted.
    Try reinstalling phone software using Nokia suite if the phone supports Nokia suite and an USB port.
    -------------------If this post helped you, click on accept as solution.------------------
    -----------------------------Appreciate by clicking on white star.----------------------------

Maybe you are looking for

  • Help Please? Flash Player not working, windows 7 32 bit IE.

    Hi. I cannot get the Flash player to play content in Internet Explorer 32 bit. I am extremely frustrated.  My info is: Windows 7/64 bit All windows updates are current Dell studio 1749 Lap top IE 8 32 bit IE 8 64 bit 32 bit Flash Player 10.1.85.3 64

  • Business System and Logical system

    Hi Experts, in SAP if we want to exchange the Data between the systems we use Logical Syestem. Why we  need Logical systems basically? and Why need Business system in XI? Thanks, Manoj.

  • Prompting the user to enter a valid value in an applet

    hi everyone! i have this code and i want to prompt the user to set a value<1000. this doesnt work.if i enter a value <1000 the input dialog appears again. whats wrong? public void init()    String j = JOptionPane.showInputDialog(null, "Enter a number

  • System Preferences Icon renamed .de0115.0e8.  Also can't drag & drop

    Thanks in advance for your help. For whatever reason, when I roll the mouse by my doc it displays the name of the program which corresponds with the icon. All of a sudden system preferences has been renamed: .de1150e8. Also, I can no longer drag and

  • Triggering of Action in recurring manner

    Hi, I have a situation where an action needs to be triggered in a recurring manner. Here is an example. 1) An action(email) is scheduled to get triggered two weeks from today on condition that status of the document is incomplete. 2) Now after the la