Delete without warning client's files with an app that runs in the sandbox

Please see [http://forums.sun.com/thread.jspa?threadID=5405392|http://forums.sun.com/thread.jspa?threadID=5405392].

I was aware of the tutorial. It does not answer my question. None of the examples show DnD of files. I am wondering if it would be possible, since it may violate the security policy of the sandbox. Dnd of the file contents only would be good enough for my purposes, but even that seems to be impossible.

Similar Messages

  • Read the names of the files in ABAP program that runs in the background

    Hello,
    I have a program that uploads information from file on application server.
    What I can't figure still is how to get the <b>names </b>of the files that are in <b>specific directory</b>.
    There is an other application that will post those files into this directory. I wont to get file names and file types from this directory and put it into an internal table.
    File names are changing based on date and version.
    Please keep in mind that the program runs in the background, (presentation server is not included in the process)
    Thanks in advance,
    Milan

    Hi,
    one epossible solution that i have used is:
    1. Create an operating system comand with transaction SM69
    command  OS                              OS-command  Parameter
    ZDIR         Windows NT Customer  cmd.exe          /C dir &
    2. Call Functionmodul
      CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
        EXPORTING
          COMMANDNAME                         = 'ZDIR'
          ADDITIONAL_PARAMETERS               = P_PARA1
      OPERATINGSYSTEM                     = SY-OPSYS
      TARGETSYSTEM                        = SY-HOST
      DESTINATION                         =
      STDOUT                              = 'X'
      STDERR                              = 'X'
      TERMINATIONWAIT                     = 'X'
      TRACE                               =
       IMPORTING
          STATUS                              = G_OK
      EXITCODE                            =
        TABLES
          EXEC_PROTOCOL                       = GTBL_PROTO
       EXCEPTIONS
         NO_PERMISSION                       = 1
         COMMAND_NOT_FOUND                   = 2
         PARAMETERS_TOO_LONG                 = 3
         SECURITY_RISK                       = 4
         WRONG_CHECK_CALL_INTERFACE          = 5
         PROGRAM_START_ERROR                 = 6
         PROGRAM_TERMINATION_ERROR           = 7
         X_ERROR                             = 8
         PARAMETER_EXPECTED                  = 9
         TOO_MANY_PARAMETERS                 = 10
         ILLEGAL_COMMAND                     = 11
         WRONG_ASYNCHRONOUS_PARAMETERS       = 12
         CANT_ENQ_TBTCO_ENTRY                = 13
         JOBCOUNT_GENERATION_ERROR           = 14
         OTHERS                              = 15
    3. Loop at GTBL_PROTO and make your coding with the filenames
    Hope this helps
    Regards
    Bernd

  • How can I delete the apps that run in the background in iOS 7

    HOw can I delete the apps running I the background in the new Ios7. Earlier all that I had to do was to press continuously and then could delete when the   Mark would appear. now I am unable to do it.
    AAlso, I am unable to save a photograph as a wall paper.

    Thanks so much. This solved my problem.
    Can you tell me how to save a photograph as a wall paper on the new IOS 7
    Thanks

  • How to delete pages in a pdf file with mac OSX Mavericks?

    Indeed i don't have Pages options in my tools window... Is that normal for the mac version? Please it's urgent...

    Sorry, it was my fault. When I searched on the Internet, I was reading the Acrobat help pages, without knowing it, because in my research I wrote "how to delete pages in a pdf file with Adobe reader", i was just automatically redirected toward Acrobat help but i didn't notice.
    So no incorrect information exist in the Reader Help pages.

  • Is there any possibilty to integrate a EAR file with cq5 project??? the ear file is generated from a

    Is there any possibilty to integrate a EAR file with cq5 project??? the ear file is generated from a WSDL..

    Is there a reason why you need an "ear" file ? So what is the task you want to fullfill.
    For me it sounds like you want to integrate a jax-ws service inside a cq5 project. To achive that you have to integrate a jax-rs client in cq5.
    One option to achive that is to integrate Apache CXF like documented here:
    http://www.pro-vision.de/adaptto/downloads/110915_adaptto_sling_cxf.pdf
    Samplecode can be found here:
    http://www.pro-vision.de/adaptto/downloads/110915_adaptto_sling_cxf_sampleproject.zip
    Best regards,
    Dominik

  • Hi. I clicked some snaps from my iphone and post that without copying it i restored the iphone with all apps etc available from the backup taken. How do i get back the photos which were clicked earlier. Is there a way to get it back?? Please help

    Hi. I clicked some snaps from my iphone and post that without copying it i restored the iphone with all apps etc available from the backup taken. How do i get back the photos which were clicked earlier. Is there a way to get it back?? Please help

    Yes i had not taken back up before restoring it. However i was just going through some links on the net and there is a software available for MAC to retrieve such lost data. But the point is will the said software work on iphone as the OS is not MAC..
    Will have to give a try to this. If successful will share it with all. Anyone else has any idea about this please so share.

  • I have my camera (Canon 5D MARK 2) set to take both JPEG Large and Raw files with each shot. I uploaded the images from the card to my Pro (Aperture 3) and while the import info said 1500 images were uploaded, I can't find the RAW images.  Aperture put ab

    I have my camera (Canon 5D Mark 2) set to take both JPEG Large and Raw files with each shot. I uploaded the images from the card to my Pro (Aperture 3) and while the import info said 1500 images were uploaded, I can't find the RAW images.  Aperture put about 700 images in an untitled project folder, but all the images are the JPEGs.  What am I missing?
    Thanks,
    upsjdris

    Have you checked your "Import" settings for "Raw&Jpeg" pairs in the "Import" panel?
    You can set Aperture to import raw, jpeg, or raw&jpeg.
    If you imported Raw&Jpeg, but have set Aperture to use the Jpeg as original, you will see the imported image as Jpeg image, not as a raw image, even if the raw has also been imported. You can switch between Raw and Jpeg originals for selected images from the Photos menu:
    Photos > Use Raw as original.
    Regards
    Léonie

  • When trying to install Aid Virtual Instruments I get a warning no mountable file systems. I need help fixing the problem.

    When trying to install Pro Tools 10.3.3 Aid Virtual Instruments I get a warning no mountable file systems. I need help fixing the problem.

    Thanks Linc for responding to my post. I searched a little further and found I was missing a file. Once I downloaded the fix, I was able to install the software from the original download.

  • How do I delete partially installed apps. I erased iPad and installed iOS8. I installed new apps. Suddenly all paged populated with old apps that never install and I can not delete.

    How do I delete partially installed apps. I erased iPad and installed iOS8. I installed new apps. Suddenly all paged populated with old apps that never install and I can not delete.

    Hi Try a Reboot press power & menu button hold both down until you see the Apple Logo you will not lose any data But you me need to do this more than once. Cheers Brian

  • After Compressing file with Compressor when somthing move in the picture

    After Compressing file with Compressor when somthing move in the picture , it will get a kinda interlaced in the edges of it , the orginal files was Uncompressed DV and I add subtitle on it and then used the 90 min best dvd preset for it .
    I really need some help .
    thanks a lot .

    I would take  a step back here before going further.  William's suggestion might very well clean up the library but something obviously did not go right and to start mucking about in the library might make things worst.
    For starters I'm surprised to see the folder structure you showed in your first post. Aperture stores managed masters (originals) by import date and time. The structure (in all libraries I've ever seen) looks like:
    So something seems wrong with your master folder.
    Also the three folders you showed the first and third are identical ( the middle one has the (1) added to which is how the OS handles duplicates in a folder) so this shouldn't even be possible, those folders should not be there.
    I'm wondering if this is something left over from your using Duplicate Annihlator. Do you have a copy of the library before you ran the merge and used DA on it? Would be interested to see what the master folder looks like.
    Finally when you ran the merge which library did you tell Aperture to use as the master, the one that was used to resolve conflicts?
    Again William's suggestion might be all you need to do but it would be good to figure out want went wrong before proceeding.
    regards
    Message was edited by: Frank Caggiano - A better first step might be to run the Aperture first aid tools, repairing and possibly rebuilding the library.

  • How do i get the driver to use an HP laserjet 5mp with my Mac that runs Lion?

    how do i get the driver to use an HP laserjet 5mp with my Mac that runs Lion?  I'm told by HP to get it through Apple updates but it doesn't show up. 

    The term "server", while technically correct, is misleading.  A print server takes the low-level protocol spoken by a printer and serves it over a higher-level protocol.  For example, parallel printer port (a.k.a. Centronics or IEEE 1284) and serve it over USB.  Or parallel or USB and serve it over Ethernet with a variety of printing protocols (lpr/lpd protocol, JetDirect protocol, port 9100 protocol, the names are confusing).
    In reality, a print server looks nothing like what we usually associate with "server" (which is typically a biggish computer).  Instead they usually look like adapter plugs or even adapter cables, or like a little network hub (just with printer connectors instead of network connectors).
    Here are a few examples (I'll use Amazon as a guide book, without implying that I endorse them).  Let's start with USB to parallel; it seems they tend to look like adapter cables.  Here is one that takes a USB plug (male) and creates a female port that you can plug your regular old printer cable in: http://www.amazon.com/Cables-To-Go-16899-IEEE-1284/dp/B000UX21PY/ref=sr_1_1?ie=U TF8&qid=1333640548&sr=8-1
    And here is one that goes from a USB plug directly into the printer: http://www.amazon.com/Parallel-Printer-Adapter-Connect-parallel/dp/B000BV8604/re f=sr_1_4?ie=UTF8&qid=1333640548&sr=8-4 replacing the old printer cable.
    Then there are (really cheap) Ethernet to printer adapters.  Here is one that you put into the printer (warning, the plastic cover will probably not fit afterwards): http://www.amazon.com/TP-Link-AC-TL-PS110P-Single-Parall/dp/B003CFATR4/ref=sr_1_ 11?s=electronics&ie=UTF8&qid=1333640755&sr=1-11 By the way, I really don't like this type, I always find them unreliable.  But they are cheap.
    The ones I like look more like a network hub. Here is the NetGear PS110: http://www.amazon.com/NETGEAR-PS110-parallel-Ethernet-100Base-TX/dp/B0002AF9JU/r ef=sr_1_2?ie=UTF8&qid=1333640860&sr=8-2
    And the HP external JetDirect: http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/18972-18972-236253-34214-64302-273 16.html?dnr=1&jumpid=reg_r1002_usenc-001&lang=en&cc=us (I think this is the best one of the lot).  Both of those you put next to the printer, use your existing parallel printer cable, and connect them to the network.  Don't get scared by the astronomical price of the HP; it's commonly available used.
    There are even some wireless models around.  In theory, you might be able to use a parallel-to-USB adapter cable and then plug the USB cable into your trusty Apple Airport (as a good Apple fanboy or fangirl you've bought an Airport, right?), but I don't know whether that will work.  With the HP JetDirect box I'm quite certain that it will work (but it's old-fashioned, doesn't come in white, doesn't do wireless, and is not the slightest bit hip or cool).

  • Is there anyway to take a downloaded app from one computer and put it on another without rebuying it. I have a macbook that I bought the new iMovie and iPhoto on, but I would rather it be on my iMac. So is there anyway I can change it?

    Is there anyway to take a downloaded app from one computer and put it on another without rebuying it. I have a macbook that I bought the new iMovie and iPhoto on, but I would rather it be on my iMac. So is there anyway I can change it? I thought that if I bought it the apps on my macbook, they would be avaliable on my imac like the mobile devices operate. The macbook has 10.6.8 cause its a older model and I think lion would slow it down. Any help??

    Just redownload it on the other computer by logging into the App Store with the same Apple ID you used to purchase it.

  • Is there any way that you can delete APPS that come on the iPad? For example, the stock app, can you delete that or is it permanently on there?

    Is there any way that you can delete APPS that come on the iPad 2 when you buy it? For example, the stock app, can you delete that or is it permanently on there?

    You cannot delete the preinstalled apps on the iPad. You can check by tapping and holding down on the icon until it wiggles. If no X appears, you cannot delete it.
    Move it to another screen or bury it in a folder called" Stuff I don't Want"

  • I have apps on my iPad and my computer is not connected to the Internet. How do I get my apps to load on the computer ? Because it says the apps on my iPad will be replaced with the apps that are on the computer but there is none there!

    I have apps on my iPad and my computer is not connected to the Internet. How do I get my apps to load on the computer ? Because it says the apps on my iPad will be replaced with the apps that are on the computer but there is none there!

    Authorize the computer in iTunes -- Store>Authorizie this computer.  Transfer the purchases from the iPad into iTunes and then you can sync with iTunes. Read this for instructions on transferring purchases from the iPad into iTunes.
    Transfer purchases.
    http://support.apple.com/kb/HT1848

  • How can i stop apps from running in the background with the new ios7 update

    How can i stop apps from running in the background with the new ios7 update

    Double tap the Home button...slide the last used view of the app(above the icon) up. Tap Home button when finished.

Maybe you are looking for