Move file or folder from al11 to FTP using an FM

Hi Experts,
            Is it possible to move a  file or folder from al11 to an ftp server using background processing?  If so, what function modules or sample codes can you suggest?  Please help.  Thanks so much.
Anna
Edited by: Anna Bechayda on Apr 28, 2008 5:10 AM

Hello Anna
Basically your report executed as batch job needs to exectue an external OS command (i.e. a FTP put or mput command).
The details for executing the FTP command depend on your OS. For a customer whose SAP system was running on a Windows server the batch job created a small FTP script which was then executed by the external OS command (FTP command of Windows server) using fm SXPG_COMMAND_EXECUTE.
Regards
  Uwe

Similar Messages

  • New user...how do you drag or move or copy a file or folder from the desktop to an external drive?  I have tried dragging and copy/pasting.

    new user...how do you drag or move or copy a file or folder from the desktop to an external drive?  I have tried dragging and copy/pasting.

    My guess the problem you are running into is the drive is formatted for a PC as NTFS. OS X can read files from NTFS however it cannot write to it. Check the formatting on the drive, if it's NTFS then it should be reformatted to Mac OS Extended (Journaled), you can use Disk Utility to do this.
    If you still have a PC and want to share the EHD with the PC and Mac please read MacWorld's Share an external drive between a Mac and a PC article.

  • How do you delete [empty] a single file or folder from "Trash"?

    How do you delete [empty] a single file or folder from "Trash"?
    Can you "securely delete" just 1 item?

    A dangerous and incorrect shell command has been posted in this thread.
    NEVER empty the Trash in the shell (Terminal.) NEVER put anything in the Trash unless you intend to delete it immediately. If you do put something in the Trash and change your mind about deleting it, move it out or use the Put Back contextual menu item. Then empty the remaining items in the Trash as usual.

  • Network users can't move file to folder

    Hello,
    I'm working with a fresh lion server installation.
    Users have their home folder on the server.
    I filled default folders (desktop, documents, music...) with files and folder from snow leopard server
    Checked and double checked posix and ACL permissions on the default folder created by lion server and then propagate
    Permissions set up by lion server are :
    Everyone - Delete, apply to this folder & descendants
    Spotlight - list & traverse folder + inheritance
    User name - read & write
    staff - none
    Others - none
    They can login from any mac in the lan but when they try to move a file to a folder they are asked to identify as administrator.
    ie move a picture file from desktop to desktop folder => type an administrator's name and password to allow finder to make change ??????
    Lion server up to date. Permissions repaired by disk utility.
    Any suggestion ?
    Thanks,
    Harold

    I had a similar experience the other day. Try the following:
    Quit all applications.
    Go to the Apple menu and select Force Quit Applications.
    Click on Finder and then click the button Force Quit. (Your desktop should refresh.)
    Select the files and move them to the trash.
    If the above does not work, reboot your computer and then try moving those files to the trash again.
    HTH

  • Move library and folder from SharePoint 2007 to SharePoint 2010?

    Hi, I want to move two libraries from SharePoint 2007 to SharePoint 2010
    And also there is one folder (in another third library) want to SharePoint 2007 to SharePoint 2010 library.
    Can I use Export command for library in SharePoint 2007 and Import in SharePoint 2010?
    And how to move folders?

    Hi Prakash,
    You can use third party tools like Metalogix which free for up to 25 GB data
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/4347677b-b232-428b-a6cf-8d43034fa353/move-files-and-folders-from-sharepoint-2007-to-sharepoint-2010-with-same-attributes?forum=sharepointadminprevious
    If you donot to keep the metadata then you  can use windows explorer
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/b0569a5f-dd30-45a1-87d9-ee1eb28f258d/migratemove-document-library-from-sharepoint-2007-to-sharepoint-2010?forum=sharepointadminprevious
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Use Automator to move files and folder structure to another folder, retaining destination contents

    I have been struggling trying to setup Automator to move files and folder structure to another folder, retaining the destination contents.  Basically, I need to add files at the destination, within the same folder structure that exists at the source.  Here's some details about the scenario:
    -I have PDF files that I create on a seperate computer than I my daily use machine
    -For security reasons, the source computer doesn't have access to any shares on the destination computer
    -The destination computer has access to shares on the source computer
    -I want to delete the original PDFs at the source after they are moved or copied
    I haven't been able to get Automator to move or copy the folder contents (files and subfolders) without dropping everything copied at the top level of the destination, resulting in many duplicate folders and a broken folder structure.
    So far I've only had luck getting this to work at the command line, but I'd really like to have this setup in Automator so that I could have either a service or application that I could use for any folder, prompting for the source and destination folders.  I'm a relatively new Mac user with limited Linux experience, so this is the command that I've cobbled together and currently accomplishes what I'm looking for:
    ditto /Volumes/SMB_Temp/SOURCE ~/Desktop/Documents/DESTINATION
    cd /Volumes/SMB_Temp/SOURCE
    find . -type f -name "*.pdf" -exec rm -f {} \;
    Thanks for any ideas!

    If you have a command-line syntax that works, why not just create an Automator workflow with a single 'Utilities -> Run Shell Script' action, where that action has your (working) shell commands?
    Seems way, way simpler to me than trying to reinvent the wheel and transcribe shell commands into individual Automator actions

  • 2008R2 FOREACH csv file - move data to db - move file to folder weirdness

    Greetings everyone,
    I'm facing a weird problem. So I'm retrieving files from an ftp server and saving them in a local 'to process' folder. Then I use a foreach file iterator to process those files and save the data in the database through a data flow task. When this operation
    finishes, I move the file in 2 possible folders: Processed or Error. This depend on the result of the dataflow task:
    To ensure my loop continues if an error should occur i've placed and event handler on the OnError action of the DFT. There in the system variables I set the value for PROPAGATE to false. This way there isn't and error escalation that would fire the package
    onerror event handler. Now all works well when all my files are correct regarding the content.
    For testing purposes I''ve created a dummy data file that would fire a truncation error. When I run the package and the irerator arrives at the BAD dummy data file, the file gets placed in the error folder as expected and I get the correct error message
    (truncation error). However when the next file, which is correct, processes in the DFT, it also produces an error:
    Error: SSIS Error Code
    DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "DS_STG" failed with error code 0xC0202009. There may be error messages posted before this with more information on why
    the AcquireConnection method call failed.
    I don't understand this. It seems like the previous error has a corrupting impact on the DFT. Is there a property that I have to set here? I've tried playing with the MaximumErrorCount and tried to run it with a configuration file to persist the connection
    manager information, but the behaviour still persists. 
    So in summary: the iteration continues until the end, but after one bad file is being processed in the DFT, all the next good files get the connection manager error...
    I can think of ways to workaround this issue, but I would think that this should work as it is, no? :) 
    Thanks for the answers in advance.

    Hi Visakh,
    I specify the folder which holds the csv files. Then I assign each file path to a variable
    Then I use this variable (path) as connection string in the DFT flat file source:
    I created a workaround which I don't like but it seems to do the job. I kept the original foreach file to determine which file is valid BUT I don't do the data insert in this DFT no more. I deleted the ole db destination so it generates an error only if
    the data doesn't come through at the DFT. 
    Then I remove the bad files from the to process folder. I copy the foreach iterator with all the components, but now I add the ole db destination in the data flow task for data insert. But at this time there are only correct files in the 'to process' folder.
    This works, but it isn't 'pretty' :) 
    Do you have an idea what could be wrong? It seems one bad file corrupts the destination connection. 
    When you say bad file is it metadata which is corrupted?
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Extra line at the end of file when transferred from XI to FTP.

    Hi All,
    Need help regarding the below query.
    I have an inbound structure with the below format
    MT_RAVE_L                     1..1 (is the main node)
          Logistic Info                 1..Unbounded (this is the structure under the main node)
                   LOGSOPTUN      1..1 (this is below Logistic Info field)
          File_Name                   1..1 ( This is also below main node with the same level of Logistic   Info structure)
    (Tried to insert a pic of the mapping but was unsuccesful)
    We are trying to move a file from XI to FTP. the file is being created in FTP succesfully but an extra blank line is being inserted at the end of the file.
    After lot of investigation we could trace the it is because of the File_Name field data is being not moved to inbound file.( Here we are using the File_Name field data for creating a file name in FTP. i.e., the File_Name is the File name under which our data is being stored in FTP and that is the reason we are not using File_Name in Content Conversion)
    Can you please suggest ways so that the empty line is not created.
    Thanks in advance
    LRK.

    Hello,
    Have you set the property in  File adapter lastFieldOptional.
    Thanks and Regards
    Hemant

  • Move files to Trush from Server

    I have set up a Mac OS X Server 10.4.6; and i share caple of Volumes to Mac OS X, Mac OS 9 & WinXP.
    So my problem is when i move somthing to Trush from OS X, a window apears to say "The item .... will be deleted immediatly. Are you sure you want to continue? if i press OK then the file will delete. This dos not hapen with OS 9. can you help me???
    I wont to move my files first to Trash and when i decide to emty my trash the file will delte.

    are these AFP shares or SMB shares?
    anyway, i found an excellent writeup on these issues on the macintouch site.... copy/pasting:
    There are some subtleties that actually determine the exact behavior of Macs when it comes to trashing files on Network volumes for both Mac OS X and Mac OS 9 and earlier.
    All of the different behaviors comes back to one basic question - where does the file moved to the trash go? Remember, the Trash Can is just a directory (actually, the summation of several directories) where files get moved to. There has to be a different one for each volume that is mounted so that you don't have to copy a file from one volume to another volume to put something in the trash - hence your "Trash Can" actually reflects the contents of these different directories on different volumes. I believe (though I can't prove it) that even when dealing with network mounted volumes this is a client decision, not a file server decision. The file server (regardless of the OS running) just gets a request to move a file from point A to point B - it doesn't know that this file is being "trashed".
    In Mac OS 9 and earlier for local volumes, there was just one directory to hold trash for that volume. Mac OS 9 and earlier didn't have the concept of multiple users (without additional software at least, and these were essentially nasty contortions to "fake it"). For network volumes there was a scheme for creating an invisible Network Trash folder on the root level of the Share. I don't know how it handled multiple users logging into the same share (and am not going to spend the time to figure out - I believe it had to do with actually having multiple Trash Can folders within the Network Network Trash folder). So, if you had write permissions to the root level of the share you could create this folder (if it didn't already exist) and the client Mac would move the trashed file there. However, it would insist (at least is some cases - again, don't know all the details) on emptying this folders contents (your trash) when you went to dismount the network volume. However, if you didn't have write permissions to the Network Trash folder or to the root level of the share to create a Network Trash folder, you would get the message that the file would need to be deleted immediately.
    In Mac OS X Apple had to change the scheme as we are now in a multi-user environment - there are many different "trash can" directories. Each user gets one in .Trashes at the root level of their home directory (whether it be a local disk home directory or a network mounted home directory). There is also a .Trashes at the root level of all volumes mounted. Inside of this root level of the volume .Trashes directory is a folder with a number on it (the number is the UID - user id which - each login actually maps to one of these, remember that computers do numbers so we are all a number to them . So, if I delete an item off of a Firewire hard drive that I have plugged in, the file gets moved to the .Trashes/{UID number} at the root level of that Firewire drive. Since each user has a unique UID, we also have unique trash cans - that in our home directory .Trashes, and then in the volume based .Trashes it is in the folder /.Trashes/{UID}.
    Now we turn to Mac OS X with network volumes. It would appear that Apple doesn't even try to create a .Trashes/{UID} at the root level of network shares. It just insists on deleting the file immediately if it is on a network share. I am not quite sure of why this decision was made, but it does make things much cleaner from a system administration standpoint. Think about a network share that 2000 different users have access to (and yes I have those - we have about 80,000 users of our servers across around 180 "shares" that is a lot of trash cans OUTSIDE of the users directory (since it must be at the root level of the share) that they have permission to write to and can have files in. That breaks entirely the paradigm of keeping all user writable spaces in one place. Now, this doesn't apply when you mount the volume as a home directory since it uses the .Trashes directory at the root level of the USER'S HOME directory, NOT the root level of the share. If you don't understand the difference between these two situations (mounting as a share and mounting as a home directory), ask someone who programs or does system administration .
    Now, since this is a client decision, the Mac OS 9 client will move it to a writable Network Trash directory if one exists while Mac OS X clients won't even try even when the two are looking at the same file server. This is why you get different behavior to the same share depending on the client OS version. However, if the user doesn't have write permission to the Network Trashes folder at the root of the share, Mac OS 9 and earlier will now behave like Mac OS X - delete immediately.
    There is one place where I get different results than what Alex Narvey described. When I mount the space via SMB with a Mac OS Xclient, I get the SAME behavior as I did when I mounted that same space via AFP. Now, if you are going via SMB to a different kind of file server (namely, a Windows one) that might explain the different behavior, but I tend to doubt it. As I said above, I believe how to move things to trash is a client decision/behavior, not server (and as I said above - I can't prove that). So, I don't have an explanation for the difference between the behavior I see and the behavior Alex described.
    Long, but hopefully educational. Doesn't explain WHY Apple made the decision they did, but should give one a better understanding of the different behaviors that can occur. Like in science, it is important to remember that different behaviors occur because something IS different. Now, perhaps Apple should make the behaviors the same (from a user standpoint) even when things are different (like what kind of volume are we dealing with, who has write permissions to where, etc). - that I will duck. That is an argument between a human interface designer and the programmer who actually has to try and make it work.
    Following up on my own post -
    It just dawned on me WHY Apple would make Mac OS X always ask to immediately delete a file off a network share, rather than trash it.
    For consistency of the user experience when dealing with network shares. In Mac OS 9 and earlier whether you could move a file to the trash or if you had to delete immediately depended on the SERVER and write permissions there on the server. So, on Mac OS 9 and earlier you would get different behavior and have no real idea why you got different behavior.
    The Mac OS X behavior is different from that of Mac OS 9 and earlier, but within itself, it is very consistent - for network volumes you are always asked to delete the file immediately. This means that the user has a consistent user experience when at that Mac, regardless of the type of server or their permissions on the different network shares they may work with. If this is why Apple made the change in OS X, I would agree with them. Consistency is more important than features (as a general statement).

  • HT1589 iMac:  How do I move my iTunes folder from one external hard drive to another external drive?

    Due to file size reasons, I found myself several years ago with the need to move my iTunes Library from my desktop's internal drive to an external drive [which I also used via partition for a backup of my internal drive]  I now have to move to a different external hard drive -- again for more space.  I've copied the iTunes Library to the new drive, but can't seem to get iTunes to recognize and run it.
    What specifically do I need to do to get this done?

    You could plug the WD drive straight into the TC but it will be much faster to do it with the WD drive plugged into the computer.. and just mount the TC hard disk in Finder.
    To move itunes library you must follow the Apple instructions.. http://support.apple.com/kb/ht1449
    You may need to reconnect itunes to the library before you try to move it.. !!

  • How can I save .mov file as another .mov file after trim from Pre9?

    I would have thought this would be simple.  Just like I can crop a still image in Photoshop and save it with a new name (or the same name), I expected to be able to trim or split an .mov file in Premiere Elements 9 and save the resulting file(s) under a new name (or the same name) while preserving the same format.
    But SIX hours later, NO.
    Instead, after I split or trim the .mov file, it seems to be held hostage inside a project that won't let it go.  I even tried "exporting" it but the choices are different than the properties of the source file (a BAD thing), and the resulting two files from the export are unreadable on my computer (USELESS).
    The .mov file was shot with a Canon EOS Rebel T3i.  Windows with Vista.  Adobe Premiere Elements 9.  I also have Photoshop CS5 Extended and Lightroom 3.4.x, if either of those would help.
    I'm sure that I'm mistaken,  There MUST be a secret menu option to SAVE-the-trimmed-CLIP-as-a-SOURCE-file.
    How could there not be something this basic?

    ~ ~ ~ ~ ~ *** ~ ~ ~ ~ ~
    Quoting Steve:
    "I'll say it once more: It's impossible to cut a piece of video and then resave your file.....[because] IT'S [against] THE NATURE OF EDITING VIDEO WITH EVERY VIDEO EDITING SOFTWARE IN THE WORLD."
    ~ ~ ~ ~ ~ *** ~ ~ ~ ~ ~
    I'm very pleased to say that I've found out how to do exactly what I wanted to do, despite Steve's strongly stated opinion that it is "impossible."
    I can:
    ..... trim or split a video
    ..... and save it under the same name or a different name(s)
    ..... WITHOUT converting it to something else before or after trimming
    ..... WITHOUT changing it from its original format
    ..... WITHOUT exporting (compressing) it
    ..... WITHOUT "rendering" it different in any way except my desired length change (and resulting smaller file size)
    This is desireable to me in order to:
    ..... save many gigs of space on my terabyte drives
    ..... while retaining source file footage that may be useful in future projects
    ..... IN ITS ORIGINAL (source) FORMAT !!!!!
    YAY!!!
    I got thinking about the software that came with my camera.  I didn't install it because it included things like a program to handle RAW images (and I prefer to use Adobe Lightroom 3) and a program that I thought might be similar to Bridge (and I really like Adobe Bridge).
    But I decided to install it and see if there was anything there that would allow me to work with the videos and sure enough, there it was - the ability to trim my videos of the junk while keeping the rest in original perfect format, just as it was shot. From a user's point of view, it is a precise video version of cropping a still image in Photoshop.  EXACTLY what I wanted to do!!!
    Here is a collage of the properties box of the "before" version (the original original), collaged together with the  properties box of the "after" version (the trimmed original).  The properties boxes are the properties as reported by Adobe Premiere Elements 9.
    In the above-shown collage of the screenshots that I've made for you, you can see that nothing has changed in terms of the properties.  The only changes are the length (because I cut it), the file size (because it is MUCH smaller now), and the name (because I wanted to preserve the original file in order to make a screenshot of its properties for you). I WANT TO REPEAT - the new CUT file is identical to the original, except the unwanted portion has been cropped away. It was NOT compressed, it was NOT rendered, it was NOT exported.  It is a true source file utilizing original footage in its original format.
    (This forum limits images to 450 pix wide so to see that all the relevant format properties are the same in both properties boxes, you may have to increase the size through your browser by holding down the [Ctrl] and hitting the "=" key (the one with the "+" above the "=" sign).)
    ~ ~ ~ ~ ~ *** ~ ~ ~ ~ ~
    Here are the steps I took to make the screenshot above:
    1 - Opened the original file in Canon ZoomBrowser EX 6.7 (which came with the camera).
    2 - Trimmed ("cut") the file by placing a start point and stop point around the desirable footage.
    3 - Saved under a different file name.  (NOTE:  This was a true save, NOT an export, NOT a "render" of some sort.)
    4 - Switched to Adobe Premiere Elements 9 and started a new "project."
    5 - Used "Get Media" to pull the original version and the cut version of the video into the project.  NOTE:  I pulled the cut version in first, so if there had been a format mismatch (as compared with the DSLR-1080p30 @29.97 setting I normally use when creating a new project), Premiere would have said so.  But there was NOT a format mismatch.  And it runs perfectly, just as it did before, including audio.
    6 - Right clicked each video and took a screenshot of the properties of each to show you.
    And this means I can use the trimmed footage for any purpose down the road, yet I didn't have to save the entire file which included unwanted footage.  And I've saved a considerable amount of space on one of my terabyte drives.
    SUMMARY:
    Easy as pie:
    I trimmed the excess off a video WITHOUT "converting," "exporting," "compressing," "rendering" or changing the format away from the original in any way.
    No loss of any type of data whether audio or visual or "other."  (Except, of course, the unwanted footage.)

  • How to get a .mov file to play from an external harddrive

    I exported videos and photos from my iphoto to an external hard drive and now when i try to import the mov files or open them they play as one second clips. is there any way i can recover them?

    I exported videos and photos from my iphoto to an external hard drive and now when i try to import the mov files or open them they play as one second clips. is there any way i can recover them?

  • .mov files not exporting from FCP

    Hi.
    I was working from the client's computer in FCP 5.0.
    I encoded a 10min video via compressor for a client. It took 2hrs to compress which was the first sign that something was wrong. Once brought into DVDSP, I noticed that the .mov file of the opening & closing animation was not there - just black w/ audio.
    Any ideas? I have to redo the clients DVD on Monday & I'm hoping I'll know how to fix this problem by then.
    Thanks in advance!
    Heather

    Heather:
    It took 2hrs to compress
    I dpoesn't mean too much with no other info from yuor project.
    What format is your sequence?
    How long in minutes?
    What do you mean with exporting to a mov file? You need to encode your movie to MPEG2 video and AC3 audio to use in DVDSP, or export your sequence as a Quicktime Movie, same settings, and use that as source and let DVDSP encode it.
    Come back with more info !!
    Hope that helps !
      Alberto

  • Can not find a movie file after downloading from iTunes.

    After downloading a movie in iTunes Store (with iTunes Extra feature), I don't know why I can't find the main movie file on my hard drive (only iTunes Extra file was showed). What can I do?

    I can't find a movie I downloaded and iTunes wants me to purchase it again.

  • How to move an app folder from screen to screen

    Can I move an app folder I created on one screen to another?

    The folder will 'bounce back' if you 'flick' the folder to the edge.
    To move the folder to another screen, you need to firmly tap and hold and slowly slide your finger to the right. Keep your finger held down on the right side of the screen until the screen shifts. Then, release your finger.

Maybe you are looking for