Accessing All Files in a Folder and Deleting Old Files

My problem is that I have an applet that communicates with a servlet and the servlet stores user designed objects on the server. These objects are piling up and the older ones are no longer useful. What I want to do is have a method in the servlet that periodically scans this folder and deletes files that are over two months old. Any advice on how I could do this is greatly appreciated.
Thanks!

I think it's Linux, but I'm not sure. This is for a job that was done a while ago and I'm just revisiting to touch up a few things.

Similar Messages

  • VBScript to read the content of a .csv file and delete old files mentioned in the .csv

    I have a Windows 2003 file server.
    I have generated a report in .csv format, about the files which are older than 1 year.
    I need a VBScript to read the .csv file and delete the files which are enlisted there.
    Can someone please help me with this?

    Look into the "Learn" link above.  There are resources and instructions on how to write VBScript code.  Look into how to use the FileSystemObject.
    ¯\_(ツ)_/¯

  • Missing all files of a folder and the pst file cannot be repaired

    All files under folder Inbox\TechSupport suddenly are missing.  The Folder Size window shows this folder has a size of 180719KB.
    I used "C:\Program Files\Microsoft Office\Office15\SCANPST.EXE" to try to fix the post files a few times, the problems remains.  No matter how many times I run SCANPST.EXT on this pst file, it always find the following error:
    Internal errors were found in this file. They must be repaired for this file to work correctly.
    Here is the log:
    Microsoft (R) Inbox Repair Tool
    © 2012 Microsoft Corporation. All rights reserved.
    Version 15.0.4667.1000
    **Beginning NDB recovery
    **Attempting to open database
    **Attempting to validate header
    **Attempting to validate AMap
    !!AMap page <@416752640> has csFree of 7, but should have 255
    **Attempting to validate BBT
    **Attempting to validate NBT
    **Attempting to validate BBT refcounts
    **Attempting to validate header NID high-water marks
    **Beginning PST/OST recovery
    **Attempting to recover all top-level objects
    **Store created by build: 15.4667
    **Attempting to walk all folders
    **Attempting to locate any orphaned folders/messages
    **Performing final HMP validation
    **Attempting to check top-level objects for consistency
    **Updating folder hierarchy
    **Attempting to fix original file
    **Attempting to copy back BBT
    **Attempting to copy back NBT
    Any tip to remedy this will be greatly appreciated.
    Hong

    Thanks for the update, Hong.
    If we copy some emails to TechSupport folder, are those emails still visible in the TechSupportfolder?
    Although it doesn't look like a view problem, we may also try to open Outlook with /cleanviews switch to seek our fortune. To do this, exit Outlook, press Windows key + R to open the Run command, type
    outlook /cleanviews and press Enter. We may also try to search for the missing emails using Instant Search to see if there is any result.
    In addition, we may also try to use the MFCMAPI tool to look into the TechSupport folder and check if we can see and open the missing emails. To do this, please follow the steps below:
    1. Download MFCMAPI tool: http://mfcmapi.codeplex.com/
    2. Exit Outlook and start MFCMAPI.exe.
    3. Click Session > Logon, choose your profile and click
    OK.
    4. Double-click the PST file that has this issue from the list.
    5. In the opened new window, expand Root Container > Top of Outlook data file > Inbox.
    6. Find and right-click the TechSupport folder under Inbox, select Open contents table.
    7. In the opened new window, check if you can see your emails in the upper portion of the window. If so, double-click an item to see if you can open the email in Outlook window.
    Please let me know the result.
    Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • How can I see the contents of the "Other" folder and delete unwanted files?

    Cleaning up "Other" folder

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • Does Time Machine replace changed files and delete old files?

    I haven't upgraded to Leopard yet, but my son is a NEW CONVERT to the Mac; has uses Dells for years. He has a new Macbook Pro with Leopard. I use SuperDuper! with my Tiger Mini Mac.
    I don't understand what Time Machine does. Does it continually update files on the target device, and if so how does it handle deleted and renamed files on the source device.
    Thanks.

    Time Machine takes a snapshot of the drive it is backing up every hour. If a file is new, renamed or modified since its last backup, Time Machine will make a physical copy of that file. To conserve drive space Time Machine will only make hard links back to its previously backed up files for files that exist on its source drive which remain unchanged. Hard links work in a somewhat similar fashion as aliases. If a file has been deleted Time Machine won't make a copy or hard link. You can read about how hard links work in Time Machine in this Ars Technica review.
    http://arstechnica.com/reviews/os/mac-os-x-10-5.ars/14
    If a file is not on the hard drive for over an hour and is deleted before Time Machine makes its hourly backup that file will not be in any of Time Machine's backups.
    Time Machine only retains the first hourly backup of the day as its daily backup. The other hourly backups get deleted in the course of the day. That means that to be retained in the daily backups a file must be on the hard drive for over a day or be physically present on the source drive for the first backup of the day.
    After a month, Time Machine retains the daily backup made on the same day of the week as the initial backup as its weekly backup. If a file is on the source drive for less than a week and is not in the daily backup retained as the weekly it will end up being deleted when Time Machine thins its daily backups.
    When the Time Machine volume fills up, Time Machine will start deleting its earliest backups to make room for new ones.

  • Delete old files

    Hello,
    In usual when I create scenarios with file (Inbound or outbound) I sand backup file to backup folder.
    I'm  looking for easy way to create scenarios or something else that clean the backup folders.
    I'm looking for process that clean the older files, for example I want to erase all the files that older then 3 month.
    Do you have any idea?
    Regards
    Elad

    Hello,
    I found a script for that:
    '* File:               fdel.vbs
    '* Created:               June-2006
    '* Version:               1.0
    '* Main Function: Check "DateCreated" of specific files and if difference between Now time
    '*                pass the Time limit and delete old files
    '* Usage:   WSCRIPT.EXE fmon.vbs [Path to Directory with old files] [Time limit in days]
    '* Example: WSCRIPT.EXE fmon.vbs C:\Windows\Temp 7
    Dim objExCmd, fso, Time_Out_Before_Action, Base_dir, filename1
    On error resume next
    Set WshShell = WScript.CreateObject( "WScript.Shell" )
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set objArgs = Wscript.Arguments
    Const ForReading = 1, ForWriting = 2
    For  intI = 0 To Wscript.Arguments.Count - 1
    next
    Base_dir = Wscript.Arguments.item(I)
    Time_Out_Before_Action = Int(Wscript.Arguments.item(I+1))
    '**** Getting list of files *****
    'Set objExCmd = WshShell.Exec("cmd /c echo off"&Chr(38)&"for /f "&Chr(34)&"tokens=* delims=. "&Chr(34)&" %a in ('dir "&Chr(34)&Base_dir&Chr(34)&" /b') do echo %a")
    Set objExCmd = WshShell.Exec("cmd /c echo off"&Chr(38)&"dir "&Chr(34)&Base_dir&Chr(34)&" /b")
    Do until objExCmd.StdOut.AtEndOfStream
    filename1 = objExCmd.StdOut.ReadLine
    If DateDiff("d", fso.GetFile(Base_dir&"\"&filename1).DateCreated, Now) > Time_Out_Before_Action Then
    'MsgBox filename1&"; Diff="&DateDiff("d", fso.GetFile(Base_dir&"\"&filename1).DateCreated, Now)&"> time ="&Time_Out_Before_Action
    f = fso.DeleteFile(Base_dir&"\"&filename1,true)
    End If
    Loop
    Regards
    Elad

  • My hard driver is apparently full - but it is full of "other" files.  I have cleared downloads and removed my music and pictures, but it still thinks it is full - how do I access and delete the files?

    I am having real trouble with the mac book air and i dont know what to do.  It thinks it is full, i get warning messages every day, but when i check how the storage is being used it is 45.79 GB of "other" and I can't work out where to locate and delete these files.  I have removed all my music and pictures, there are nearly no documents on the bloody thing, i have cleared the downloads, I have run a cc cleaner programme but nothing seems to touch this "other" amount.  Its so annoying as it is getting to a point where i can't use the computer properly anymore.  Do you have any clue what it could be or how i can deal with it?
    It did this last year but not as bad, i never solved it then i just removed all my own files but now "other" is taking that space too.  On a windows computer you would be able to click through and view what was taking up the space but you can't seem to do that on a mac. could it be a virus that makes the hard driver think it is full?
    Any ideas what I can do?

    For information about the Other category in the Storage display, see this support article.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown asBackups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Reboot and it should go away.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders, sorted by size with the largest at the top. It may take a few minutes for ODS to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • HELP. ............Hi folks hope some one can help me please.Having a problem in Bridge I open my images in ACR,  as I open files in a folder and lets say they are labeled in yellow  they are all going back to  the camera raw default , in other words no ma

    HELP. ............Hi folks hope some one can help me please.Having a problem in Bridge I open my images in ACR,  as I open files in a folder and lets say they are labeled in yellow  they are all going back to  the camera raw default , in other words no matter what work I have done, inc cropping they  all go back to ,as they came out of camera. What on earth is happening? I am on PS CS6. I might point out everything was working normally up to  yesterday, when this first started.
    I recently changed computer to 64bit from 32bit, not sure if this causing  the problem or not. Any help would be appreciated.

    Robert,
    Would you be so kind to rephrase your question with concise, precise information and without any "let's say that" hypotheticals?  Sorry, I can't quite follow you.
    Also please give exact versions of Photoshop CS6 (13.what.what), of Bridge and of your OS.
    Thanks.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Walk through all files in a folder and do this for all subfolders and...

    ... and their subfolders, etc. I mean I want to recursively walk through all subfolders of a folder and when I'm "in" in each folder I would like to walk through all files alphabetically of that folder.
    While iterating through the files (of a certain type: .mp3, .mp4, .m4a) of that folder, I need to make a simple counter. e.g. when counter is 3 it means we are on the 3rd file alphabetically of the folder.
    Then I simply want to set the track # mp3 tag of that file to this counter value (e.g. 3)
    Anyone know how to do this? or at least to be able to show me the walking the folders and iterating the files bit? I'm brand new to applescript.
    Why do I want to do this? Well I have a lot of live music shows, each in its own folder, but in my apple devices and itunes when I play a show it will not show the songs in the correct order. The file names are alphabetical in the correct order though and I suspect if I assign track #s then itunes, ipods and iphones will be able to play the "album" back in the order listed by track #??

    What are you using to play your items? iTunes can use various properties to sort a playlist, independent of what the file name is (Finder too, for that matter). If you are just wanting to add a prefix number to a file name, you would also probably need to use leading zeros to keep it in order when sorted by name.
    The following is a general purpose handler to go through the items in a folder - I just put various text into the output list as an example.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on run -- example
    set TheFolders to (choose folder with multiple selections allowed)
    choose from list (ProcessStuff from TheFolders)
    end run
    to ProcessStuff from SomeItems
    process items contained in SomeItems, recursively descending the directory tree
    parameters - SomeItems [list]: the items to process
      returns [list]: a list of processed items
    set FilesList to {} -- this will be a list of processed items
    repeat with AnItem in SomeItems
    set AnItem to AnItem as text -- get the contents
    set FileInfo to (info for AnItem as alias) -- see Standard Additions
    if (folder of FileInfo) and not (package folder of FileInfo) then -- a folder (not a package)
    -- do something with the folder, if desired
    set the end of FilesList to "folder  " & AnItem
    try -- sort and process contents, skipping any errors
    tell application "Finder"
    set SubItems to (get items of folder AnItem)
    set SubItems to (sort SubItems by name) as alias list
    end tell
    set FilesList to FilesList & (ProcessStuff from SubItems)
    end try
    else -- a file
    -- do something with the file, if desired
    set the end of FilesList to tab & (name of FileInfo)
    end if
    end repeat
    return FilesList
    end ProcessStuff
    </pre>

  • Show Thumbnail of all files in a folder and its subfolders

    Hi Guys,
    I want to set the Filter Panel (Adobe Bridge CS3) to "show all items in this folder and all its subfolders" through Java script on windows.
    From UI it is possible by clicking on icon buton present in the filter panel and content panel shows the files from current folder as well as from its subfolders.
    Can any one suggest some Java script to do it?
    -P. M. Mitchell

    Any solution?
    Good Luck.
    My
    Si
    tes

  • Is possible search all the files in one folder and get list all with the same extension.??

    Hi,
    I would like to get, if it is possible, do searching in one determinate folder and get all the files with the same extension, For example, Give the *.pou and get all the files on one list of the files in this folder and sub-folders...
    If it is possible i would like to see any example.
    Thanks a lot, Fonsi.

    Hi Dennis,
    I got your advise, I download the openG (i had problems, and downloading directly and install one to one).
    Ok, i got but i have one problem, which i can't solve. I entry the promt  to search and put the directory to save, later i push 'Do it' and it search the files, show the paths and number, then save in the folder and finally show the window , all ok!.
    The problem is with the target path, when i want use the browse, it doesnt run properly. I want select one carpet, and it demands one file, i dont understand why??, i changed the options browse but it didnt work. Also i would like when i put one path if folder doesnt exist, directly create it and save the files, if exist copy it.
    Thanks for all!. I attached the file in lv 7.1
    Attachments:
    buscar3.vi ‏50 KB
    capture.GIF ‏48 KB

  • I need applescript to change all files in a folder and its subfolders ending in .xlsx changed to .xlsb

    I need applescript to change all files in a folder and its subfolders ending in .xlsx changed to .xlsb

    try something like this:
    with timeout of 3600 seconds
      -- long timeout to because the Finder is horribly slow
              tell application "Finder"
      -- collects the files from a folder called "whatever" in your user home folder
                        set xlsbFiles to every file of entire contents of folder "Whatever" of home whose name extension is "xlsb"
                        repeat with thisFile in xlsbFiles
                                  set name extension of thisFile to "xlsx"
                        end repeat
              end tell
    end timeout
    you could make a more efficient script using System Events.app, but this will get the job done with a minimum of thought.

  • Launch daemon's, I have deleted the files in the folder and can not log in to recover the files , safe book didn't help can you ?

    Launch daemon's, I have deleted the files in the folder and can not log in to recover the files , safe book didn't help can you ?

    - Can you use Target Disk Mode : How to use and troubleshoot FireWire target disk mode  to assist to recover the files.
    - Need another Mac and a Firewire cable
    Cheers

  • Some Virus Files that been created inside the Windows system file folder and System32 sytem file folder

    I have here some copies of the files that I have retrieve inside the Windows folder and System32 system file folder. This files was created by a virus or some malware of some sort. Please take a closer look at thsi becasue this virus doesnt have a visible
    events or something that you see at your screen to get you worried or to let you know that there is something bad happening on your system. I just cant get a copy of the virus file that is in a usb or a mass storage device of many students here in my internet
    shop. And I'm worried even thou it does not do anything visible, I'm worried that it might made some security holes or privacy leaks that I can't seem to see it. Can't find the main program if it has one, because deleting the files seems to work but if my
    computer plugs an infected usb device again the files comes back even thou the main virus file inside the usb device has been block and deleted by Avast, the files still is being created by some program of some sort inside the system, maybe it is already inside
    the system or maybe not because the files will only be created if an infected usb device has been plug in even thou Avast has already detected the main .fat file inside the usb device still the files are created. I'm guessing this virus didn't penetrate the
    system because full system scan came out clean twice. Boot time scan and start-up scan all users and all loaded to memory files also came out clean, but the files was already deleted before the scan so I don't know for sure of the result if these files were
    scan. I just want to know why these files penetrated the Windows system folder even if my UAC is active, how come this virus has gain access to the system folder and bypassing the UAC, DEP and my Windows Defender. And also I'm gonna post in Avast forums about
    this too.
    My Unit:
    OS: Windows 7  Ultimate SP1
    MOBO: Gigabyte G41M COMBO
    CPU: Pentium(R) Dual-Core E5800 @3.20ghz x2
    RAM: 2.00gb
    System Type: 32 Bit
    http://www.mediafire.com/download/41lercy9xdzn3wq/Windows.rar

    Not really relevant to DPM, I'd suggest you post over at
    http://social.technet.microsoft.com/Forums/en-US/home?forum=w7itprosecurity

  • File from application server -Read and process and delete the file .

    Hi All,
             I writing a ZEE program which will read the file from application server(file will be in text delimat format) and moving the data to internal table and uploadind data base.The part which iam facing problem is -
    > I hve read the file from application server like below ,
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
    Spliting part i having problem .i need to seperate each field which is seperate from tab delimite and pass it into respective fields of internal table .
    Second if another file come to the appicaltion server , wether my first file will be there ? or should i need to delete the first file after redaing how should i proceed further ?.
    Regards
    SRIRAM...
    THANKS In ADVANCE

    HI,
    1.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
    DO.
    CLEAR: wa_string, wa_uploadtxt.
    READ DATASET ld_file INTO wa_string.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
    SPLIT wa_string AT cl_abap_char_utilities=>horizontal_tab INTO wa_uploadtxt-name1
    wa_uploadtxt-name2
    wa_uploadtxt-age.
    APPEND  wa_uploadtxt TO itab.
    ENDDO.
    CLOSE DATASET ld_file.
    ENDIF.
    2. If the another file get's generated in the application server with same file name then the data in old file get's over written with the new data. You are not required to delete the file.

Maybe you are looking for

  • Insert operation takes looooooooooong time

    One of our ETL procedures does an Insert operation on a table with the records selected from a couple of tables across DB link. While the SELECT query takes about 6 seconds to retrieve nearly 42,00,000 records, the insert of those records to a table

  • ORA-06550 - while compiling the PL/SQL block.

    I am trying a to populate a table based on the below pl/sql block Declare temp source.source%type; tregion varchar2(40); tversion varchar2(40); tsource varchar2(100); Cursor c1 is Select * from Source; Begin Open c1; Loop fetch c1 into temp; select R

  • Attaching pdf in email msg

    Simple question.  How can i attach a pdf file as an attachment in email--ie, NOT have the pdf file display in its entirety in the body of the email? Thanks.

  • Missing font and alignment capabilities in properties box

    We finally got an upgrade to our Dreamweaver & Fireworks from the original macromedia. I'm so lost with the changes, I had to build a "need it now" new page in Fireworks. I saw where someone said DW wasn't a WYSIWYG program, but that was why I origin

  • How can i get rid of that colored ball

    I keep getting this rotating colored ball and the whole time it is showing, my computer is you might say locket?