Copy a local folder

Dear all,
Exist a function or a method which copy an entire folder ( with its subfolders ) to a destination ? or only copy each file recursively.
Thank you!
Bogdan

Hi,
If you use Win OS, you can use one of the command-lines tools.
example:
call method CL_GUI_FRONTEND_SERVICES=>EXECUTE
            exporting
                APPLICATION = 'xcopy.exe'
                parameter = 'C:\Test_files /i'.
Svetlin

Similar Messages

  • Force Copy to a local Folder

    I have a workgroup accessing a large XSAN and Sharing files. It is quite common that users wish to post a copy of a file in a different folder for other users to access. Because it is a single volume, dragging files between locations results in a "Move".
    Of course by holding the Option key while dragging will create a Copy but that leaves the choice up to the User, and mistakes are made.
    I am looking for the best way to assign a local Folder a Property that will force a Copy to any file dropped onto it.
    Thanks,
    OSX Server10.6.8

    This works as a simple case:
    mount volume "afp://APEx.local"
    set sf to POSIX file "/Volumes/Net Drive/Test"
    set df to POSIX file "/Users/frank/Desktop/tmp"
    tell application "Finder"
      duplicate every item of folder sf to folder df
    end tell
    Notr that the destination folder must exisit already

  • Copy emails from local folder to an IMAP folder on the computer?

    The title really doesn't describe what I want to do, sorry.
    My mum's Mini runs 10.7.5 and she uses Mail to read her Gmail account. Until now she's used POP to access and download emails but I've now set up IMAP.
    She has three local mailboxes on her computer - totalling some 1,5GB - which I would like to turn into Gmail mailboxes (i've already created the Labels in Gmail). I could copy the messages from these POP mailboxes to the IMAP boxes (both accounts are currently active in Mail) but that would eat up all of my mum's 3G broadband internet allotment.
    Is there anyway to circumvent this? What happens if I copy the local mailboxes in ~/Library/Mail/V2/Mailboxes to the IMAP folder in ~/Library/Mail/V2? Will that simply tag the messages or will that also move them across the internet connection?
    Could I use some Mail app rules or such which would be recognised by Gmail as labels?
    Thanks in advance for any insight. I have a feeling I will have to move the messages across the net but thought I should ask first.
    Many thanks
    philip

    Hi,
    I had tried using that very same extension right after messing things up, but it hadn't worked because I deleted the original folders as well.
    Then I tried doing a System Restore (luckily, Windows had decided to do an automatic one the night before), but still the missing emails weren't showing.
    A while after that I saw your suggestion and it hit me that I had not tried it after doing the System Restore, so I tried it and all messages were flooding back just like magic.
    Thank you very much for your help! I'm very happy right now.

  • Any single file in my local folder of RoboHelp 10 which can be copied onto the application server?

    Pleasant Hello Pals, ( This is Vipin Nambiar from Bangalore)
    I am currently evaluating Adobe Robohelp 10 version for one of my technical architecture writing. Requesting help at the very earliest for the below-said big time hurdles.
    I have completed my technical writing for a in-house application system and have generated and viewing the primary layout (courtesy File -> View -> Primary Layout. ) as Contents, Index, Glossary and would like these to be hosted onto the server so that all the users of this application can access these Contents, Index, Glossary and act as a knowhow notes to use this application.
    Is there any single file in my local folder of Adobe RoboHelp 10 which can be copied onto the application server ?
    (My Adobe RoboHelp 10 local folder contains
    a.)Sub-folders called !Language!, !ScreenLayout!, !SkinSubFolder!, !SSL!
    b.)File Types called *.ALI File, *.APJ File, *.Bitmap image, *.BRS File, *.Cascading Style Sheet Document, *.CPD File, *.FPJ File, *.GIF image, *.GLO File, *.H File, *.HHC File, *.HHK File, *.HHP File, *.HTML Document, *.HTT File, *.JPEG image, *.JScript Script File, *.LDB File, *.PPF File, *.PSS File, *.Robohelp HTML Project File, *.SSL File, *.XML Document)
    Any help here will serve me in plentious

    First, your username cannot be changed and it is not a good idea to have email addresses visible on any forum, unless you enjoy reading spam.
    This question is covered in the online help. When you create an output it is generated to whatever folder you specify in the single source layout. Everything that is in that folder needs to go on the server.
    If the help is in !SSL! > WebHelp, then everything in that folder including sub-folders is what needs to go on the server.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • IMAP messages not downloading to local folder?

    Hi. I've just switched from an iBook G4 to my new monster, MacBook Pro. However, I've run into a problem:
    I'm using an IMAP account in Mail, hence there was no problem getting all my emails to my new computer, as they were all located on the server. However, on my iBook, I stored some of the emails locally as they were too big to store on the server over time. To get them downloaded to a local storage, I simply dragged the messages from my IMAP-folder to my local folders in Mail. I thought this deleted the messages from the IMAP-account and stored the complete message (including attachements) locally. However, now it seems like I was wrong. I've tried to import all the locally stored messages into my new Mac Book Pro, but Mail refuses to import them, even though they're in mbox-format. Then I tried to upload them to the mailserver from the iBook, and then download them to the MacBook Pro. This sort of worked, but then the messages appeared as they were all blank. To me, it seemed like only parts of the messages were downloaded when I first dragged them over to my local folders? So basically, I'm wondering if anyone can give me a hint on what causes this? Am I doing something wrong when I'm trying to download it to a local folder? I'm suspecting this might be the reason, as it seems like I'm using much more storage space on my mailserver than I can find any reason for. Any suggestions? Thanks a bunch!
    MacBook Pro, Intel Core Duo 2.33 GHz, 17"   Mac OS X (10.4.9)   2GB RAM

    David,
    Sorry for not being more specific in my last post. It had been a while since I tried to import, so I trusted my memory on what happened. Obviously a mistake
    Anyway, I've now tried to import once again, and you're right, they are in fact .mbox-folders, not files. Also, I've always tried to select the mbox-folder itself, or files within the mbox-folder. What I did wrong, as you pointed out, was that I did not select the folder which contained the mbox-folders.
    Now, after I imported using your instructions, everything worked like a charm. I got all my emails imported Thanks a million!
    I have one last question, though: To store emails locally instead of on the server, I've always dragged them onto a local folder. Is this the correct way of doing it? Will the emails on the server (which I store locally) be deleted, or will I just get a copy of them stored locally?

  • How do I move all the messages and folders in `Local Folder' to my main account folder? The stuff in local is from importing from Outlook

    I imported my mail from Outlook and they went to Local Folders. I want them in the main folder section for my account. How do I move them there?
    At the moment I have to create each folder and then copy the contents from one folder to the other - crazy, and I have dozens of folders

    As Chgrist1 said, that is how it works. Having looked as how Outlook stores mail, and everything else. It is a wonder anything ever comes out that is useable. PST files are a mess. First thing they do is pull the email apart and store header, body and attachments is three different places.
    You will also find (most likely) that your accounts in Outlook were POP and the default in Thunderbird is IMAP. merging IMAP and POP files and folders is fraught with difficulties and dangers. It would be a brave developer that tried that in an import.
    In the case of IMAP all your mail is one the server, so import is not all that important. However copying a gigabyte or two of of outlook mail into your imap server could exhaust your available message storage space there and cause the import to fail completely.
    So If you want to do what your saying, first confirm that your not using IMAP mail. Otherwise your experience is most likely going to be exceedingly poor.
    If you are using POP mail, then changing the setting in your pop account to cause it to use the global inbox will make a single mail account appear, "Local Folder", with your outlook mail as a sub folder of that.
    Dragging a folder from the imported outlook tree to Local folders is not difficult, as long as you remember that folders hang of other folders, so your dragging them to a parent, not a position on the screen you like.

  • Permissions sticking to read-only when folders copied to local drive

    Hello! So... I have a sharepoint that is read-only (archived jobs) everything works fine, but when people copy a folder to their local drive, they are forced to enter the server admin password when they try to move it to the their trash. If they copy individual files, they can erase those, but folders are retaining the server's permissions.
    Everyone is on 10.5.6, I tried making the group both POSIX and ACL and it didn't make a difference.
    Is there a fix? THanks - Don

    Please provide a read-out of your file stricture using *ls -ela* for the directory in question, and showing a file that, when copied, becomes read-only.
    Generally speaking, when a file is copied, the copy's permissions are set like this:
    * The POSIX permissions are preserved. So if they are rw-rw-r-- (0664), then they remain that way on the copy. Note that umask behavior would put those at rw-r--r-- (0644) by default.
    * The POSIX owner is changed to the action-bearing user. The action-bearing user is the one that performs the copy, so that's typically the currently logged-in user. Where the user is defined (either locally or via remote directory does not matter.)
    * The POSIX group is changed to match the POSIX group assigned to the copy's parent folder.
    * Any explicit ACLs will be preserved on the copy, if the destination filesystem supports them. (Destination filesystem ACL support is turned on in 10.5 client by default, but not in 10.4 or 10.3 client.)
    * Any inherited ACLs as defined on the original will not be set on the copy.
    * The copy will inherit any inheritable ACLs as defined on its new parent.
    Now I'll take a wild guess: Since you're having this problem with 10.4 and 10.3 clients, I'm thinking that the POSIX permissions of the original file have the POSIX owner set to read-only. This would produce a read-only copy because the POSIX permissions are preserved! There is a reason for the default umask and create masks that set POSIX owner to read and write!
    Of course, if this is the case, then the copy's POSIX owner can change the permissions on it and open it with read-write access.
    --Gerrit

  • Adobe Connect Desktop local Folder???

    Hi,
    I'm running Adobe Connect Desktop on Mac, and I've already one recordings in Zip.
    I would like to see this recording using the Adobe Connect Desktop offline function, the problem is that I can't find/define the folder where to put the Zip file.
    Can anyone help.
    Regards

    Enabling this feature takes a couple steps, but once it is done, you should be able to download the recordings for offline viewing.
    First, go to Administration > Compliance and Control > Recordings and Notice and check the box to Allow for distribution of local copies of recordings to end users
    Next browse to the desired recording(s) and go to the Edit Information page. This is done through the Edit Information if the recording is in the Content library, or by selecting the recording name and then the Edit link in the Recording Information header (not the Edit Recording button). Check the box for Allow Users to download copy to local device
    Now in Connect Desktop, you will see the Fetch button for recordings that are set up to allow local downloads.

  • How can I copy my local emails to icloud?

    With drag and drop some emails get loss and aren't copied to icould. (Error Message: "Message contains NUL characters“ and the transfer stopps...)
    I have thousands of emails and can't copy one by one...
    Does someone of you have the same problem? Is a solution for this problem?
    Many thanks in advance

    The cloud doesn't do website hosting. You need to publish your site via the iWeb FTP or to a local folder and upload to a hosting account...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    http://www.iwebformusicians.com/iWeb/Website-Hosting.html

  • How do I create a repo on a local folder

    I use FaunOS which is a live version of Arch.  The build is somewhat outdated but at any rate,
    Sometimes I need to install or upgrade a package for a session, but do not necessarily need to save it in the squashfs overlay.
    i copied the files out of /var/cache/pacman/pkg into a local folder.  I can do something like
    pacman -U /path/file/*
    but this is kind of ugly, as I have to make sure I clean the cache between installing different apps and copying them to an appropriately named folder so I don't end up installing a whole bunch of things I don't need, hence taking up the live memory.
    I know there is a way to do call pacman o install a file and just its dependencies from a local folder by somehow telling it that the folder is a repo, but I forget how, and posting to the FaunOS forums has been down for some time.

    My system uses ....pacman --cachedir /mnt/md/upgrade....
    I have a raid0 array of three Compact Flash cards which have combined read speed of 133MB/s and 22MB storage space.  These are combined and accessed in /mnt/md (using mdadm soft raid).
    This system is in use in FaunOS and in x86_64 on the same machine.
    In addition to the pacman files, I also have pix and video files and some seldom used folders with pacman packages which include depends and are addressed when needed.
    The key to the arrangement is the ...--cachedir.. as provided by pacman.  The files are .pkg.tar.gz and are installed with pacman -U (package .tar.gz)
    In FaunOS, this installs the package in ram via aufs but does not retain the package in reboot unless "save" is enabled.
    I have had this system for four or more months now and use it a lot.
    I hope this info is helpful................

  • Unable to transfer an entire local folder to Inbox

    To transfer a local folder to an inbox I usually can simply drag the folder from the 'Local Folders' section up to '[email protected]' and it will begin copying the emails to the server. However every time it hits email 377 it errors out saying that the email cannot be parsed. I need some information as to how to identify which email is 377 as there are many conversations/emails back and forth in the folder. There seems to be no way to transfer the folder any other way that I know of. Is there a way to fix/properly parse this email other than deleting it?
    It's also worth noting we do not manage the mail server and have no way to drop the local folder there on the server side.

    I don't like dragging folders in Thunderbird. I don't know what's supposed to happen. I don't see any formal descriptions of how/if this functionality is implemented.
    If it's using IMAP then it would be most unusual for Thunderbird to be unable to create a folder on the server.
    Try this: go to your Inbox, right-click and select "New Folder" or "New Subfolder" as appropriate. Then open your folder in Local Folders, select the required messages, use right-click and "Move to" and select the required folder in the account.
    Do you have no access to the mail account via webmail, i.e. via your browser?

  • Download all excel files from sharepoint location to local folder

    Hi,
    How to I copy all excel files stored at sharepoint location to local folder?
    Regards,
    Nidhi

    Hi NidhiP,
    To download Excel files from a SharePoint library by using SSIS, we need to make use of the Script Task. In the Script Task, we can use the methods provided by
    Lists Web Service to work with SharePoint files, and then use the
    WebClient.DownloadFile Method or
    FileStream Class to transfer the files from SharePoint to local file system.
    For the code examples, please refer to:
    http://www.codeproject.com/Questions/457161/how-to-download-files-from-Sharepoint-document-lib?tab=mostrecent 
    http://blogs.msdn.com/b/sowmyancs/archive/2007/09/15/how-to-download-files-from-a-sharepoint-document-library-remotely-via-lists-asmx-webservice-sps-2003-moss-2007.aspx 
    http://sqlblogcasts.com/blogs/drjohn/archive/2007/11/04/downloading-excel-files-from-sharepoint-using-ssis.aspx 
    Regards,
    Mike Yin
    TechNet Community Support

  • Importing multiple jpeg files from local folder into database LOB column

    I have to programatically save multiple pictures (jpeg) from the folder on my PC into Oracle table LOB column. I have to be able to choose local folder on my PC where are the pictures, and press button on Oracle Forms to save pictures in LOB column in database.
    I'm using Forms 6i and Oracle 10g Rel2 database.
    Is this possible with Oracle Forms or the only way to do that is to use create directory database command and use dbms_lob package which I shouldn't do, because Oracle database directory is not allowed to see my local folder.

    As I said I don't know how to use object data type, I just given a shot as below. I know the following code has errors can you please correct it for me.
    Public
    Sub Main()
    ' Add your code here 
    Dim f1
    As FileStream
    Dim s1
    As StreamReader
    Dim date1
    As
    Object
    Dim rline
    As
    String
    Dim Filelist(1)
    As
    String
    Dim FileName
    As
    String
    Dim i
    As
    Integer
    i = 1
    date1 =
    Filelist(0) =
    "XYZ"
    Filelist(1) =
    "123"
    For
    Each FileName
    In Filelist
    f1 = File.OpenRead(FileName)
    s1 = File.OpenText(FileName)
    rline = s1.ReadLine
    While
    Not rline
    Is
    Nothing
    If Left(rline, 4) =
    "DATE"
    Then
    date1 (i)= Mid(rline, 7, 8)
     i = i + 1
    Exit
    While
    End
    If
    rline = s1.ReadLine
    End
    While
    Next
    Dts.Variables(
    "date").Value = date1(1)
    Dts.Variables(
    "date1").Value = date1(2)
    Dts.TaskResult = ScriptResults.Success
    End
    Sub

  • Saving data to local folder

    Hi, I am new using LiveCycle and this question would seem stupid but I create a form to enter clients data. I need to submit that data to a folder located in the same computer as an XML format. How can I set up the submit button to save the data in that local folder?
    Thanks in advance.
    Edmundo

    You woudl not submit to your own machine. You can add a button to save the data locally. Put a normal button on the form. In the click event add this javascript code:
    xfa.host.exportData("", false)
    This will bring a dialog up and allow the user to choose the location and filename of the data file. If you do not pass parameters then the default extension of XDP will be used. By passing the false param then you are asking for a file extension of XML. In either case you are saving xml data it is just the extension that will change.

  • Help Fetching files from an FTP server into a DBase or local folder

    Hello Gurus!
    I need help to automate or design/write an app capable of (replace a manual process) reading log files in an ftp server folder, this log files are called CDR (Call Detail Record) and named as follow cdr.txt.20020221010000 meaning that this log file was created on 2002/02/21 at 01:00:00.
    This CDR log files are generated every hour by a Lucent telephone switch using a software/program called EXS ExchangePlus in ASCII format (fixed length delaminated, Char data type). EXS ExchangePlus writes a record in this CDR/log files after the call is completed, i.e. Calling_Number, Called_Number, Date_connect (yyyymmdd), Time_connect (hhmmss), Charged_time (hhmmss, duration of the call), and so on.
    The manual process I am using now is:
    1. Log in the ftp server into the folder where the CDRs log files are, located the latest generated CDRs log files and downloaded them into a local folder/directory. Normally I download the CDR for full day or 24 CDRs log files.
    1a. Optionally sometimes I used a program called VEdit compiled/gather all 24 CDRs into a single file.
    2. Once I have downloaded the CDRs I want to process (normally I process a full day 24 CDRs) I imported then into a Data Base temp table, where then I do the conversion of data types (i.e. Dates and times fields from char type -> to ->Date type) and calculations for billing purposes.
    So if somebody can help with this, I would really appreciated ideas or any kind of information on how to automated this process.
    I�m familiar with Java2 platform (using JDeveloper ) so if somebody has done something like this before using java, this would very helpful. Or Maybe using Visual Basic 6.0 would help too.
    Thanks Gurus, and I look forward to hear from you soon!
    Alf Pathros!

    Thanks for the idea, even though an example would help me more.
    I already found the FTPClient class.
    I also would like to knwo if there is a away Ican append/merged various files CDRs into a single/one to then dump/import it into the database

Maybe you are looking for

  • How to change font size

    Just purchased Deskjet 1010 & don't know how to change font size.

  • How to Use " ASSERT ID " , in the programm and what is the use of it?

    Hi, friends, I wanted to write a program (TEST CASE) by using ASSERT ID . But i got the description (Hint) like what iam mentioning below: *" Detects uses of ASSERT ID and flags cases where there is code to be executed after the command. In productio

  • My Ipod touch 2nd generation stopped making sound

    I have had my ipod for many years so I know it doesn't fit under this topic but none of them did... All of a sudden last night my ipod touch 2G just stopped making sound for music or notifications even with headphones. I restored it from itunes but n

  • Why are Financial Reporting Reports not showing in FR studio?

    Hi, We had to change the BI server's DNS name. We have Workspace, FR, WA, IR installed all on this BI server. After changing the DNS name, and reconfiguring using ConfigTool, we were not able to find our old FR reports. 1) Can anyone tell me in which

  • Safari problems viewing javascript & more

    I am a PC user and need help configuring Safari to read our web site correctly. (Hopefully we don't have to rewrite the site). Safari doesn't read the javascript correctly and doesnt' respond to clicks on menu choices. I have similar problems with Fi