How to fetch movie(mpg) file from repository.

Hi All,
I have uploaded a mpg(video) file in content repositoy. But I am not able to fetch
it and display it using embed tag.
is anybody aware of a right method to do the same?
I am using weblogic 8.1.
Thanks in advance.

Can can do it via FTP transfer.
Use the below code
REPORT ZFTPSAP LINE-SIZE 132.
DATA: BEGIN OF MTAB_DATA OCCURS 0,
LINE(132) TYPE C,
END OF MTAB_DATA.
DATA: MC_PASSWORD(20) TYPE C,
MI_KEY TYPE I VALUE 26101957,
MI_PWD_LEN TYPE I,
MI_HANDLE TYPE I.
START-OF-SELECTION.
*-- Your SAP-UNIX FTP password (case sensitive)
MC_PASSWORD = 'password'.
DESCRIBE FIELD MC_PASSWORD LENGTH MI_PWD_LEN.
*-- FTP_CONNECT requires an encrypted password to work
CALL 'AB_RFC_X_SCRAMBLE_STRING'
     ID 'SOURCE' FIELD MC_PASSWORD ID 'KEY' FIELD MI_KEY
     ID 'SCR' FIELD 'X' ID 'DESTINATION' FIELD MC_PASSWORD
     ID 'DSTLEN' FIELD MI_PWD_LEN.
CALL FUNCTION 'FTP_CONNECT'
     EXPORTING
*-- Your SAP-UNIX FTP user name (case sensitive)
       USER            = 'userid'
       PASSWORD        = MC_PASSWORD
*-- Your SAP-UNIX server host name (case sensitive)
       HOST            = 'unix-host'
       RFC_DESTINATION = 'SAPFTP'
     IMPORTING
       HANDLE          = MI_HANDLE
     EXCEPTIONS
       NOT_CONNECTED   = 1
       OTHERS          = 2.
CHECK SY-SUBRC = 0.
CALL FUNCTION 'FTP_COMMAND'
     EXPORTING
       HANDLE = MI_HANDLE
       COMMAND = 'dir'
     TABLES
       DATA = MTAB_DATA
     EXCEPTIONS
       TCPIP_ERROR = 1
       COMMAND_ERROR = 2
       DATA_ERROR = 3
       OTHERS = 4.
IF SY-SUBRC = 0.
  LOOP AT MTAB_DATA.
    WRITE: / MTAB_DATA.
  ENDLOOP.
ELSE.
do some error checking.
  WRITE: / 'Error in FTP Command'.
ENDIF.
CALL FUNCTION 'FTP_DISCONNECT'
     EXPORTING
       HANDLE = MI_HANDLE
     EXCEPTIONS
       OTHERS = 1.

Similar Messages

  • How can I move mp3 files from my ext.drive to my iPad via MB Air 11 ?

    How can I move mp3 files from my ext.drive to my iPad via MB Air 11 ?
    Thx

    You could drag your files to your macbook air's desktop then plug in you iPad...? I don't really know about this as i don't have a iPad. =S

  • MY hard drive crashed and i lost all my files. How do i move my files from my phone or ipad back to my new hard drive?

    MY hard drive crashed and i lost all my files. How do i move my files from my phone or ipad back to my new hard drive

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • I have e9 running a cpu A. I have e11 now running on cpu B. How do i move my files from A to B?

    I have elements 9 running on computer A. I now have elements 11 running on computer B. How do i move my files from computer A to B?

    Do a full backup using the organizer's backup command on computer A. Then restore that to computer B.
    EDIT It will probably go smoothest if you use some kind of removable drive for the backup location.

  • How do I move my files from my PC to the Cloud?

    How do I move my files from my PC to the cloud?

    i use a Photo Sync... Buy at AppStore... $2.99 only 
    Very easy to transfer photo from iPhone to Pc or from Pc to iPhone. That awesome!

  • How do I move music files from the startup disc to iTunes in the other internal hard disk os 10.5.8?

    How do I move music files from the startup disc to iTunes in the other internal hard disk os 10.5.8?
    The music I want to move was in iTunes but is now just files. I had to reinstall a new iTunes and lost all my old music.
    Thank you!

    That article is about using your iPod as an external hard drive, to move files from one computer to another computer.  It is not related to your question.
    You can't use iTunes to move song files from iPod to computer, except for songs you purchased from the iTunes Store (and you can also re-download purchases).  However, there are third-party methods and utilities that can move song files from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.
    Once the song files are on your current computer, add them to that computer's iTunes library by dragging the files (or folder containing the files) to the iTunes window.  After confirming everything is there (and fixing the data issue you mentioned) you can sync the iPod.  You may want to do a Restore on the iPod, if it might have a data corruption issue, which will erase the iPod's hard drive, re-install the latest software, and set it to defautl settings.

  • How do I move photo files from computer to ipad 3?  Sync is dimmed.

    How do I move photo files from computer to ipad 3?  Sync is dimmed.

    Could this be what you are experiencing?
    http://ipadhelp.com/ipad-help/sync-apply-buttons-grayed-out-in-itunes-over-capac ity/

  • How do I move my files from my Macbook to a pc?

    How do I move my files from my MAcbook to my pc?

    What operating system is the PC running?
    You will need to turn on file sharing on the PC. For Windows XP use methods described here. Windows 7 here.
    Connect to the shared Windows volume by going to the Go menu in the Finder and selecting Connect to Server... In the resulting dialog type smp:// and the IP address of your windows machine. Click Connect and enter your Windows machine's username and password when prompted.
    The Windows share will now appear on your Mac's desktop. Drag the items you want to copy over to it.
    Best of luck.

  • How do i move video files from PC to iCloud?

    how do i move video files from PC to iCloud?

    You can't move videos to iCloud, but you can upload photos

  • How do I move all files from an old PPC to a new Mac Mini?

    How do I move all files from an old PPC to a new Mac Mini?

    The new mini has a Firewire 800 port. Likely the PPC version only has Firewire 400.  The OP will need a converter cable which is why I was asking first about what hardware is available and how much is being copied.
    Probably go with using the external hard drive if you decide all you want are data files.
    If you want to migrate:
    Kappy: A Basic Guide for Migrating to Intel-Macs - http://discussions.apple.com/message/10257343
    Mac OS X 10.3, 10.4: Transferring data with Setup Assistant / Migration Assistant FAQ - http://support.apple.com/kb/HT1554
    Setting-up a new Mac from an old one or its Backups - http://web.me.com/pondini/AppleTips/Setup.html

  • How do I move large files from a Windows computer to my MacBook Pro? There are a lot of photos (tiffs

    How do I move large files from a Windows computer to my MacBook Pro? There are a lot of photos (tiffs, jpgs, some photoshopped files), iTunes library, word docs. Is there a particular type of external hard drive that can be used or am I limited to copying stuff onto z-drive and moving that way?

    If both computers are on the same network, you can share the files from the Windows host using SMB and mount the share on the Mac. Otherwise, the Mac should be able to read (not necessarily write) any storage device formatted in Windows.

  • How do I move aiff files from the viewer to the timeline-it is not working when I try to drag and click or clicking on overwrite or insert in Final Cut Pro 7. Thanks

    How do I move aiff files from the viewer to the timeline-it is not working when I click and drag or when I try to move the files to the overwrite or insert buttons-Thanks.

    hi
    You cannot move audio from the viewer
    Mark your in and out points then in the browser grab hold of the audio tracks icon and drag that to the time line
    PJ

  • How do I move a file from "Recents" in Adobe Reader for Android to a folder in "Documents"?

    How do I move a file from "Recents" in Adobe Reader for Android to a folder in "Documents"?
    Files from Google Drive are appearing in "Recents" where I cannot organize them hierarchically.
    I cannot find a user manual for Adobe Reader for Android with this level of detail.

    Hi John,
    Files opened via Google Drive are not listed in ‘Documents' section of Adobe Reader, because they are read only files. If you really want to save these files to ’Documents' then please follow below steps -
    Open the file from Google drive in Adobe Reader.
    Tap on the Comment icon placed at top toolbar(Second icon from the beginning)
    You would encounter a 'Read-Only document’ dialog, tap on Save button.
    Once you performed above steps , your file will be saved in /Download/Adobe Reader/ folder.
    Hope this will solve your problem.
    Thanks,
    Adobe Reader Team

  • How do I move a file from Icloud to my hard drive?

    How do I move a file from Icloud to my hard drive?

    From the appropriate application (eg, Pages, TextEdit, etc) find your file(s) in iCloud (use File - Open), then highlight (you can multiple-select) the files you want to move, and drag them to your desktop or another Finder location.
    Matt

  • How do I move a file from my mailbox to my desktop/

    How do I move a file from my mailbox to my desktop ?

    As there is no "desktop" on the iPad, do you mean you want to move a file attachment from an email received on your iPad to the desktop of your computer?
    If so, the easiest way is just to access your email account on your computer and save the attachment directly.

Maybe you are looking for

  • Gradient problems

    ive got a serious issue with illustrator,if anyone can pls assist me it would be great so i can solve this problem once and for all! no matter on what pc i use illustrator and i do various designs using alot of gradients and i mean alot of gradients,

  • Create time-limited license for my application

    Hi, I have created an application for my client, but i would like to add in a function below into my software for license renew. For example, after the application is used in a PC for one year, it will be locked and will ask user to renew the license

  • Not able to connect to DB in Redhat Linux - intermittent wired problem

    Hi, I need some help from you if possible please help me. There is a wired problem in the Linux based Oracle server. OS: Redhat Linux 8 Database: Oracle Enterprise server 9.2 There is an intermittent wired problem. After some time (it happen twice la

  • Automating a border around graphics that is 5in wide and .5in from top/bottom of graphic w/stroke

    I have a repetitive task at work that sidetracks me from my 3d work quite a bit.  I take graphics that are converted to .ai from Coreldraw.  My task is to create a border around the graphic that is either 5in wide or 6.5 wide and whatever height I ne

  • Premiere Pro CC crashes when importing media.

    Premiere Pro CC crashes when importing media. Every time. Driving me crazy. It crashes as soon as the Windows dialogue box comes up. Does it in new projects and in a project I created and imported into just fine 2 days ago. Have rebooted. Running Win