SXPG_COMMAND_EXECUTE - transfer files to FTP

Our OS is Windows NT.
I am using SXPG_COMMAND_EXECUTE to execute a script to transfer files from R/3 App Server to FTP Server.  I created a command in SM69.
command name: ZZ_MOVE
Operating system: Windows NT
Type: Customer
Operating system command: cmd
Parameters for operating system command: Full path of the batch file
This batch file contain command for transfer the files. I am getting an error..Command not found.....Is this correct parameters i am passing or anything wrong....

It's Windows NT server, it's not Unix system. I want to move files from one folder to another folder in Application server using FM SXPG_COMMAND_EXECUTE.
I have the Script (for moving files from one folder to another in Application Server). I pasted the script in notepad and saved as .bat file and dropped in Application server source folder. I gave the Application server file path(Script file location) in command create(Parameters for operating system command) in SM49.
Operating system command
cmd
Parameters for operating system command
C:\usr\sap\work\300\testftp.bat
Does it work this way ?  I executed the command without errors but the file transfer not happening.....
My question Is does it works if i pass the Script file location in Command create ? if not how can i do this.....
Edited by: fract_get on Mar 15, 2010 8:01 PM

Similar Messages

  • Transfer files using FTP from one r/3 server to another on windows platform

    Hi ,
    I am trying to transfer a text file from one r/3 server to another
    this should be done using ftp.
    I am working on widows OS & i have tried all the RSFTP* pgm's none satisfy my req. please tell proper method to do so or if any pgm please tell properly.
    Regards,
    Prateek Kumar

    If you haven't figured the migration out already, you may want to check out this thread:
    http://discussions.info.apple.com/thread.jspa?threadID=2205892
    It looks like the path to take from everything I'm seeing, but if you've found a friendlier solution I'd be happy to give it a shot!

  • How to transfer file using FTP

    Hi All
    I want to transfer few files from one instrument running WIndows Xp to another PC running on Windows Xp.
    I do have installer LabVIEW 8.2 & also Internet Toolkit on the PC.
    Now do i need to install anything on instrument also from where i need to transfer the files.
    Thanks & Regards,
    Rajan
    Thanks & Regards,
    Rajan

    duplicate post

  • Large Files from FTP to Azure Storage Account.

             We required to transfer files from FTP to Azure Storage Account.
    Our FTP contains Almost 4 TB data and in future it will be growing.
    We require some automate process which will transfer data from FTP to Windows Azure Storage.
    Currently Implemented Solution:  We have created
    a windows service which will download files from FTP and converting to file stream and with Blob Storage object it will be uploaded to
    Storage account.
    With the mentioned approach bandwidth is utilized at 2 places
    For downloading file from FTP
    For Uploading to Azure Storage 
    Can you please provide any solution/suggestion which will reduce the consumption of bandwidth and large data will transfer in less time

    Hi,
    Please have a look at below article, it is talking about Blob Transfer Utility tool. Blob Transfer Utility is a GUI tool to upload and download thousands of small/large files to/from Windows Azure Blob Storage.
    #https://blobtransferutility.codeplex.com/
    Disclaimer: This is not a Microsoft official tool and it is not supported by Microsoft. It's just a (very useful) sample.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • File transfer: AFP vs FTP

    Setup:
    Cable modem to Linksys WRT54g broadcasting only in G only mode for PBG4.
    AEBSn#1 in bridge mode via Ethernet from Linksys, N only mode, broadcasting wirelessly.
    AEBSn#2 is wirelessly extending N-only from AEBSn#1, and is connected to a mini with external hard drive.
    Using PBG4, if I mount a volume from the mini and transfer a file, transfer time is very slow: approx. 20 minutes for a 200MB file. If I FTP from PBG4 into the mini, transfer time is 2 minutes.
    (I think the same happens if I use a Macbook Pro connected to the N-only network, but it's in for repairs right now, so I can't be sure.)
    Any idea why the transfer times are so different b/w AFP and FTP and, more importantly, what I can do to remedy this? Thanks.

    Same problem here. I have two AEBS Gigabit in bridge mode. Transfering a file via FTP or with Apple Remote Access (ARD) brings up to 3 MB/sec. Same file and same configuration connected via AFP only brings 60 kB/sec.
    I hope somebody has an idea how to fix this.
    Thanks in advance

  • File transfer from a FTP server to another External FTP server

    Hi,
    I have one FTP server , I need to transfer a file from this FTP server to aother external FTP server. Could any one please help me how to write a batch file on FTP server so that my file is transfered to another FTP server by executing the Batch file. I don't want to use SAP server for this.
    best regards
    bobby

    CREATE CONTROLFILE
    Caution:
    Oracle recommends that you perform a full backup of all files in the database before using this statement. For more information, see Oracle9i User-Managed Backup and Recovery Guide.
    Purpose
    Use the CREATE CONTROLFILE statement to re-create a control file in one of the following cases:
    All copies of your existing control files have been lost through media failure.
    You want to change the name of the database.
    You want to change the maximum number of redo log file groups, redo log file members, archived redo log files, datafiles, or instances that can concurrently have the database mounted and open.
    Note:
    If it is necessary to use the CREATE CONTROLFILE statement, do not include in the DATAFILE clause any datafiles in temporary or read-only tablespaces. You can add these types of files to the database later.
    An alternative to the CREATE CONTROLFILE statement is ALTER DATABASE BACKUP CONTROLFILE TO TRACE, which generates a SQL script in the trace file to re-create the controlfile. If your database contains any read-only or temporary tablespaces, that SQL script will also contain all the necessary SQL statements to add those files back into the database.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_54a.htm#SQLRF01203

  • I have Macbook Air with Yosemite os but i can't transfer my file on ftp server

    i have Macbook Air with Yosemite os but i can't transfer my file on ftp server
    i need help

    I'm confused how you think someone on Apple's discussion board can help you with what's clearly a Windows Server problem.
    Surely this would be something better asked in a Microsoft support forum?

  • How do i transfer files between two macs over the net (FTP)

    Hi,
    Couldn't find a thread like this, apologies if its been discussed already recently, I'm trying to enable two iMacs both Intel, both running 10.4.10 to be able to swap files (quite large 350MB) over the net just using Tiger.
    We both have .Mac accounts but the files only upload properly to our iDisk 1 out of 3 times and its getting annoying, I basically want my mate to be able to drag a file off my HD onto his via the net using no other programs just Tiger, is this possible?
    If not, what's the best free program to use.
    Thanks

    You'll have to get an FTP client as the Finder only reads, not writes to an FTP server. I can't suggest a free one. You will also need to open your computers up to the world. If you don't know how to do that, search for Port Forwarding and your particular router. You'll have to open up port 21 for FTP.
    Plain old FTP is not very secure, so you shouldn't leave it open all the time. SFTP is Secure FTP, and you can use Fugu to use it. You'll still need to set up Port forwarding, but you can pick whatever port number you want. Fugu lets you pick the port number. You should set up standard users on each machine and make a sftpTransfer folder in the /Users/Shared/ folder. This will allow each of you to access the files. sftp allows anyone to see the directory structure, but still maintains the permissions from OS X. So, as standard users, you can look into each other's Home folder, but you won't be able to get into the subfolders or transfer files to or from any unshared locations.
    By the way, I wrote an entire post describing how to use sftp from the command line before I decided to look for a client app for you. Then I found Fugu and changed it all.
    Edit:
    I forgot to mention you must turn on Remote Login in the sharing pane, and you'll have to use port 22 as this is the only one Mac OS allows remote connections on.
    Message was edited by: Barney-15E

  • CRIO FTP transfer file size limit

    Hi,
    I generated a data file on my cRIO that is about 2.1 GB in size. I'm having trouble transferring this file off of the cRIO using FTP. I've tried windows explorer FTP, the built in MAX file transfer utility, coreFTP,and WinSCP. I am able to transfer other files on the cRIO that are smaller in size.
    Is there an FTP transfer file size limit? Is it around 2 GB? Is there anything I can do to get this file off of the device?
    Thanks!
    Solved!
    Go to Solution.

    I am not making the FTP transfer programmatically through LabVIEW. Rather, I am trying to utilize the cRIO's onboard FTP server to make the file transfer using off the shelf Windows FTP file transfer applications. I generate the data file by sampling the cRIO's analog inputs and recording to the onboard drive. I transfer the file at some point after the fact; whenever is convenient.
    To program the cRIO, I am using LabVIEW 2012 SP1 and the corresponding versions of Real-Time and FPGA. I am using a cRIO-9025 controller and 9118 chassis.
    I do not get any error messages from any of the FTP clients I have tried besides a generic "file transfer failed".
    I have had no issues transferring files under 2 GB using FTP clients. I have tried up to 1.89 GB files. The problem seems to only appear when the file is greater than 2 GB in size.
    I have found some information elsewhere online that some versions of the common Apache web server do not support transferring files greater than 2 GB. Does anyone know what kind of FTP server the cRIO-9025 runs?

  • Using JCA FTP and File Adapters to transfer files as attachments

    I am trying to develop a flow that picks a file up using the JCA FTP adapter and writes it using the JCA File Adapter. I can get this to work using opaqeElement but the issue I have is that the files that will be transferred are regularly very large > 1 GB and using the opaqueElement simply results in a OutOfMemoryException.
    Reading the Adapter documentation it seems that Reading/Writing file as an attachment may be an answer. I therefore did the following.
    . Created FTP Read and File Write adapters in JDeveloper
    . Inmported this in to OEPE
    . Created Proxy Service and Business Service and wired them together
    The problem i am having is that even though there is no error and the file is being read on the FTP server, the resulting file only contains that attachment details, the file is not a copy of the file that was picked up from the ftp server.
    I am assuming that this behaviour is not correct and that the file should be transferred in its entirity. Unfortunatly the documentation is not very detailed and I cannot find any examples on the internet.
    Can anyone offer any advice or even better suggest where I can find an example.
    Regards
    My JCA adapters are as follows:
    FileWriteAsAttachmentAdapter_file
    <adapter-config name="FileWriteAsAttachmentAdapter" adapter="File Adapter"
         wsdlLocation="FileWriteAsAttachmentAdapter.wsdl"
         xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/HAFileAdapter"/>
    <endpoint-interaction portType="Write_ptt" operation="Write">
    <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
    <property name="PhysicalDirectory" value="C:\fileserver\download\toprocess"/>
    <property name="Append" value="false"/>
    <property name="FileNamingConvention" value="attachment_%SEQ%.csv"/>
    <property name="NumberMessages" value="1"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    FileWriteAsAttachmentAdapter.wsdl
    <wsdl:definitions
    name="FileWriteAsAttachmentAdapter"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/AtatchmentApp/Project1/FileWriteAsAttachmentAdapter"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/AtatchmentApp/Project1/FileWriteAsAttachmentAdapter"
    xmlns:imp1="http://xmlns.oracle.com/pcbpel/adapter/file/attachment/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    >
    <plt:partnerLinkType name="Write_plt" >
    <plt:role name="Write_role" >
    <plt:portType name="tns:Write_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/attachment/" xmlns="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified" >
    <element name="attachmentElement" >
    <complexType>
    <attribute name="href" type="string" />
    </complexType>
    </element>
    </schema>
    </wsdl:types>
    <wsdl:message name="Write_msg">
    <wsdl:part name="body" element="imp1:attachmentElement"/>
    </wsdl:message>
    <wsdl:portType name="Write_ptt">
    <wsdl:operation name="Write">
    <wsdl:input message="tns:Write_msg"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>
    FtpGetAsAttachmentAdapter_ftp.jca
    <adapter-config name="FtpGetAsAttachmentAdapter" adapter="FTP Adapter"
         wsdlLocation="FtpGetAsAttachmentAdapter.wsdl"
         xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/ftp/TlmsHAFtpAdapter"/>
    <endpoint-activation portType="Get_ptt" operation="Get">
    <activation-spec className="oracle.tip.adapter.ftp.inbound.FTPActivationSpec">
    <property name="AsAttachment" value="true"/>
    <property name="DeleteFile" value="true"/>
    <property name="MinimumAge" value="300"/>
    <property name="PhysicalDirectory" value="/ftp/tlms2atas"/>
    <property name="Recursive" value="false"/>
    <property name="FileModificationTime" value="FileSystem"/>
    <property name="PollingFrequency" value="60"/>
    <property name="FileType" value="ascii"/>
    <property name="IncludeFiles" value=".*[_][0-9][0-9][-][0-9][0-9][-][0-9][0-9][_].*\.csv"/>
    <property name="UseHeaders" value="false"/>
    <property name="ModificationTimeFormat" value="dd/MM/yyyy HH:mm"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    FtpGetAsAttachmentAdapter.wsdl
    <wsdl:definitions
    name="FtpGetAsAttachmentAdapter"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/AtatchmentApp/Project1/FtpGetAsAttachmentAdapter"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/AtatchmentApp/Project1/FtpGetAsAttachmentAdapter"
    xmlns:attach="http://xmlns.oracle.com/pcbpel/adapter/file/attachment/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    >
    <plt:partnerLinkType name="Get_plt" >
    <plt:role name="Get_role" >
    <plt:portType name="tns:Get_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/attachment/" xmlns="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified" >
    <element name="attachmentElement" >
    <complexType>
    <attribute name="href" type="string" />
    </complexType>
    </element>
    </schema>
    </wsdl:types>
    <wsdl:message name="Get_msg">
    <wsdl:part name="attach" element="attach:attachmentElement"/>
    </wsdl:message>
    <wsdl:portType name="Get_ptt">
    <wsdl:operation name="Get">
    <wsdl:input message="tns:Get_msg"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>

    System resources are finite and have a threshold limit for processing. The Oracle SOA Suite, dependent on system resources, also has certain size limitations, largely due to the underlying resources beyond which the system cannot process incoming requests.
    For example, Oracle JCA Adapters can process large payloads but the Oracle BPEL PM consumes huge memory when processing large payloads, which can cause OutOfMemory conditions and affect the whole system.
    You can try File ChunkedRead option.This will read your large CSV file in chunks so chances of memory out will be less. You can define your own chunk size.
    This is a feature of Oracle File and FTP Adapters that uses an invoke activity within a while loop to process the target file. This feature enables you to process arbitrarily
    large files. See below link's section "4.5.5 Oracle File Adapter ChunkedRead"
    http://www.orastudy.com/oradoc/selfstu/fusion/integration.1111/e10231/adptr_file.htm#BABDIABG
    Thanks,
    Ashu

  • How to send a file from FTP to external server

    My requirement is to send a file from FTP to D3(External) server.
    Now I am able to store the file in Appln server.
    I want to send the file created by the program thru FTP to D3 server.
    I know the username,Password,HostID,RFC destination details.
    How to send the file from FTP to D3.
    If u have any program,Plz send it...
    I dont want the function modules name...I want the example code ....
    Thanks in advance.

    Hi Sumi,
    You could do it so that you create a .bat or .cmd script to your server which does your ftp transfer.
    To do this you must use sm69 to create a external operating system command which you can call from FM SXPG_COMMAND_EXECUTE. To SXPG_COMMAND_EXECUTE you the file you need to transfer as a parameter.
    What happens is that your abap program passes the file to windows batch script (.bat .cmd) which will then do the transfer for you.
    Here's a sample of ftp-script for windows:
    echo open IP_ADDRESS_TO_YOUR_SERVER > c:zftp_transfer.ftp
    echo USERNAME>> c:zftp_transfer.ftp
    echo PASSWORD>> c:zftp_transfer.ftp
    echo put YOUR_FILE>> c:zftp_transfer.ftp
    echo quit>> c:zftp_transfer.ftp
    ftp -s:c:zftp_transfer.ftp
    also take a look here for more details:
    http://support.microsoft.com/?kbid=96269
    Ok, this might be a bit trivial but if your server is unix/aix etc.. Instead of using batch script you must do a shell script.
    Regards,
    Ville

  • No Data in PDF file in FTP server

    Hi All,
    I am trying to place a PDF file in FTP server.
    Used
    CONVERT_OTFSPOOLJOB_2_PDF to convert spool to PDF
    SCMS_TEXT_TO_XSTRING
    FTP_R3_TO_SERVER to transfer data to FTP.
    I am able to see PDF file in FTP and no of pages matches with that of R/3 but there is no data in PDF file.

    To get pdf file , you need to set the itcpo-tdgetotf = 'X' and need to pass in the exporting parameter (options in open_form  function module ).Then in close_form function module take all the data of otfdata table into an internal table . Then use SX_OBJECT_CONVERT_OTF_PDF function module to convert it to pdf.
    I will show with an  example.
    tables itcpo.
    DATA: ch_otf  TYPE  STANDARD  TABLE OF  itcoo.
    DATA: w_otf TYPE itcoo.
    DATA: w_pdf TYPE solisti1. "For PDF
    DATA: i_content_txt TYPE soli_tab.   
    DATA: temp1 TYPE sx_format VALUE 'OTF',
            temp2 TYPE sx_format VALUE 'PDF'.
      DATA: c_printer TYPE sx_devtype VALUE 'PRINTER'.
      DATA: w_transfer_bin TYPE sx_boolean. "Content
      DATA: i_content_bin TYPE solix_tab, "Content
            wa_content_bin TYPE solix,
            i_objhead TYPE soli_tab.
    itcpo-tdnoprint  = 'X'.
      itcpo-tdpreview = 'X'.
      itcpo-tdgetotf = 'X'.
    These three parameters need to be passed along with other required parameters
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING form = xformular
                     language = ekko-spras
                     OPTIONS = itcpo
                     archive_index  = toa_dara
                     archive_params = arc_params
                     device = xdevice
                     dialog = xdialog
                     mail_sender        = sender
                     mail_recipient     = recipient
           EXCEPTIONS canceled = 01.
      CALL FUNCTION 'CLOSE_FORM'
        IMPORTING
          RESULT  = RESULT
        tables
          otfdata = ch_otf.
    LOOP AT ch_otf INTO w_otf.
        CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
        INTO w_pdf.
        APPEND w_pdf TO i_content_txt.
      ENDLOOP.
    converting otf file to pdf file
      CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
        EXPORTING
          format_src      = temp1        "'OTF'
          format_dst      = temp2        "'PDF'
          devtype         = c_printer
        CHANGING
          transfer_bin    = w_transfer_bin
          content_txt     = i_content_txt
          content_bin     = i_content_bin
          objhead         = i_objhead
          len             = v_len_in
        EXCEPTIONS
          err_conv_failed = 1
          OTHERS          = 2.
    Then open dataset and transfer to ftp of the content of table content_bin(i_content_bin) as shown in above example.
    I think this will be helpful for you

  • Error while downloading PDF file from FTP Server

    Hi Friends,
    I have sent a PDF file with data to FTP , Then i want to check that uploaded pdf file , whether that is correct or not?
    for that , i have downloaded that file from FTP and i am trying to open the file . but it is giving this problem .
    "There was an error opening the document . The file is damaged and could not be repaired."
    will you suggest me regarding this.
    thanks in advance.
    balaji.T.

    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
              EXPORTING
           SRC_SPOOLID                    = spoolno
                src_spoolid                    = wa_file-rqident
                no_dialog                      = ' '
          DST_DEVICE                     =
          PDF_DESTINATION                =
              IMPORTING
                pdf_bytecount                  = numbytes
                pdf_spoolid                    = pdfspoolid
          OTF_PAGECOUNT                  =
                btc_jobname                    = jobname
                btc_jobcount                   = jobcount
              TABLES
                pdf                            = pdf
              EXCEPTIONS
                err_no_otf_spooljob            = 1
                err_no_spooljob                = 2
                err_no_permission              = 3
                err_conv_not_possible          = 4
                err_bad_dstdevice              = 5
                user_cancelled                 = 6
                err_spoolerror                 = 7
                err_temseerror                 = 8
                err_btcjob_open_failed         = 9
                err_btcjob_submit_failed       = 10
                err_btcjob_close_failed        = 11.
    because of this one PDF internal table is obtained.
           OPEN DATASET L_FILENAME  FOR OUTPUT in text mode  MESSAGE MSG.
      LOOP AT pdf.
        CONCATENATE pdf-tdformat       "Material group
                     pdf-TDLINE       "Basic Material
               INTO ITEXT-TLINE ..
        APPEND ITEXT.
        TRANSFER ITEXT TO L_FILENAME.
      ENDLOOP.

  • Regaring file from FTP server to application server

    Hi frnds,
    Below is my code where i am transferring Presentation server file to FTP server.
    Now i want to transfer that file from FTP server to application server.
    any help. below i am providing my code.
    <code>
    *& Report  demo
    report  z_demo_ftp.
    Variables declaration
    data : mi_handle type i,
           pwd       type char30,
           slen      type i,
           key type i value 26101957,
           it_file2 type filetable,
           w_file2 like   line of it_file2,
           l_rc type i,
           v_index type i,
           v_file(30) type c,
           v_path(100) type c,
           v_path_tmp(100) type c.
    *Internal table declaration
    data: begin of mtab_data occurs 0,
           line(132) type c,
          end of mtab_data.
    Selection scree parameters
    parameters: p_file type string default 'C:\'.
    Get the file path
    at selection-screen on value-request for p_file.
      data: p_file1 type string.
      p_file1 = p_file.
      call method cl_gui_frontend_services=>file_open_dialog
        exporting
          default_filename        = p_file1
        changing
          file_table              = it_file2
          rc                      = l_rc
        exceptions
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          not_supported_by_gui    = 4.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      else.
        read table it_file2 into w_file2 index 1.
        p_file = w_file2-filename.
        clear w_file2.
        refresh it_file2.
        split p_file at '\' into table it_file2.
        describe table it_file2 lines v_index.
        read table it_file2 into w_file2 index v_index.
        concatenate 'put' w_file2-filename into v_file separated by space.
        delete it_file2 index v_index.
        clear w_file2.
        loop at it_file2 into w_file2.
        if sy-tabix = 1.
        v_path = w_file2-filename.
        endif.
        if sy-tabix ge 2.
        concatenate v_path '\' w_file2 into v_path.
        endif.
        endloop.
        concatenate 'lcd' v_path into v_path_tmp separated by space.
      endif.
    Start of selection
    start-of-selection.
    pwd = 'file456'.
    slen = strlen( pwd ).
    call function 'HTTP_SCRAMBLE'
      exporting
        source      = pwd
        sourcelen   = slen
        key         = key
      importing
        destination = pwd.
    Connect to FTP
    call function 'FTP_CONNECT'
      exporting
        user            = 'client'
        password        =  pwd
        host            = 'saturn'
        rfc_destination = 'SAPFTP'
      importing
        handle          = mi_handle
      exceptions
        not_connected   = 1
        others          = 2.
    if sy-subrc = 0.
    Excute FTP command
    call function 'FTP_COMMAND'
        exporting
          handle        = mi_handle
          command       = 'cd staff
        tables
          data          = mtab_data
        exceptions
          tcpip_error   = 1
          command_error = 2
          data_error    = 3
          others        = 4.
    Excute FTP command
          call function 'FTP_COMMAND'
        exporting
          handle        = mi_handle
          command       = v_path_tmp
        tables
          data          = mtab_data
        exceptions
          tcpip_error   = 1
          command_error = 2
          data_error    = 3
          others        = 4.
    Excute FTP command
      call function 'FTP_COMMAND'
        exporting
          handle        = mi_handle
          command       = v_file
        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.
      endif.
    endif.
    *FTP disconnect
    call function 'FTP_DISCONNECT'
      exporting
        handle = mi_handle
      exceptions
        others = 1.call function 'FTP_DISCONNECT'
      exporting
        handle = mi_handle
      exceptions
        others = 1.
          end-of-selection.
    </code>
    so what more code shuld i write.
    regards,
    kamal

    Hi Che Eky  ,
                          Actually the above code is for putting the presentation server file to FTP Server.
    But now i need to Put the same file present in the FTP server to Application server.
    So any help or code which will be helpful.
    regards,
    kamal

  • How to transfer files Pages docs in bulk from iPad to Mac

    Since the lovely iCloud Drive came out and Yosemite, things have been woefully out of sync with my iPad.  I've posted in a number of places on these boards and even, according to a rep I've been in touch with from Apple Support, an engineer is troubleshooting the problem. I have a LOT of Pages docs I've accumulated in iCloud on my iPad.  I cannot access iCloud through a browser or on my desktop Mac.  In other words, I can view and edit files from my iPad, but I canNOT do the same on my Mac.  If I want to transfer files from my iPad the only way I can think of is
    Open Pages
    Tap the arrow up at the top
    Tap send a copy
    Tap ONE selected document
    Tap what format to send it in (sadly, I'm using Word b/c I don't trust Pages anymore)
    Tap selection of how to send (to ITunes)
    Only then can I go to iTunes on my Mac and transfer the file.  I have probably hundreds of docs I want and need and can't afford to have them floating semi-available in the cloud or lost forever.
    A few other details: 
    - I cannot access Pages in iCloud through a browser (any browser, any machine, anywhere; I've tried every combination possible, when I log into iCloud and go to Pages, it cycles and then dumps me out to the login screen)
    - I have a few third-party apps which let me look into my iPad and have slightly more functionality than iTunes permits, but none of them permit wholesale basic drag-and-drop a bunch of files and save to another drive.  I know this is b/c the files are ostensibly in iCloud, but
    - Here are other places I've posted about this problem
    can't log in to iCloud.com
    Pages under Yosemite not in sync with iCloud Drive and other issues
    Thanks in advance.....

    Though no one replied to this topic, I'm updating with what I've learned after spending many hours on the phone with an Apple tech rep who had esacalated to engineers.  There is NO solution.  Docs that are out of sync or unretrievable from iCloud or iCloud Drive, they cannot assist with.  They offered to wipe my iCloud Drive account and reset it, but I wanted them to restore it afterwards.  Just a simple, pull the data off, dump it on an FTP server so I can access it. Nope.  No assistance.  Not their problem.  I have to manually pull ALL the files off my iPad's iCloud account, the ones I can get to and go through this insane 6 step process to get to those docs.  Really disappointed with Apple.  Using MS Word on the iPad and though not perfect...at least the Pages docs won't be lost. 

Maybe you are looking for

  • How to make the outbound call in the CCA

    HI everyone, i have opened the CCA URL and they are agents and supervisor.now i want to make the outbound cal to the mobile no inside india. when i make call i am getting this error "currently unable to reach the phone try again later" and my port fo

  • Problem in Adobe Interactive forms' Page breaks..

    hi all, I am using Table wizard in the Form Builder to create a table. And i am binding the data to this table. The table which i have created will increase its rows dynamically depending on the number of records. The problem is the page break is not

  • 1.4 update

    Anyone had the 1.4 update go horribly wrong? I use a pre on o2 and the update went on, but now the device wont boot- it just stays flashing the palm splash screen.. Any ideas.. O2 said they have no idea (very useful) (am i on the right board??)

  • Using Same Document in Photoshop and Photoshop Extended

    We are a school that has the education version of Design Premium CS3, which incldes Photoshop Extended. We want to purchase a copy of Design Standard CS3.3, which includes regular Photoshop. Can we work on the same document or file (stored on server)

  • How do i activate the mms option on an 8530

    I have 2 blackberry curves.  One has the mms option available, the other only has sms.  How do I get the mms option on the 2nd one?  There is no mms in the options list.