IDOC to be sent via FTP(S)

Hello Experts,
My questions are: (*We don't want to use XI/PI)*
1. Are there  FMs to upload files to FTP with SSL  (LIKE :'FTP_CONNECT')?
2. Is there a configuration for ftp/s without FMs (like SM59 or else ) ?
Thank you,
Boaz

Hi,
Once the IDOC is written into your application layer, you can execute a Unix script which would send the file to the prefered FTP location.
If you don't want to a unix script, you can also write a ABAP program to read the file from Application layer and transfer it to the prefered FTP location, for this you need not use either XI or any other middleware system.
Thanks,
Mahesh.

Similar Messages

  • Mapping Errors Log file to be sent via FTP

    Hi All,
    Functional specs of a file to file scenario require to create an aditional log file containing the file name, creation date and a list with the lines were a problem occurred with an error description and then send it to R3 via FTP.
    Does anyone know if it's possible or not? and if it's possible, how could I do that?
    Thanks in advance.
    Cheers.

    Daniel,
    This is possible.
    1. To get the Source File name and and appned the date to it, you can use Adapter Specific Identtifers -- File Name in the Sender and receiver file adapter and in the message mapping, set the file name using this code,
    2. Rest of error handling can error record creation for the error file can be handled via the mapping itself.
    String newfilename="";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    // Get Sourcefilename
    String oldfilename=conf.get(key);
    //get the date
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    dateformat.format( new java.util.Date() );
    //append source+date+L
    String nwfilename=oldfilename+dateformat;
    conf.put(key, newfilename);
    Regards,
    Bhavesh

  • How to avoid partial files via FTP from XI to an external server?

    Hi all,
    I'm working in an interface where XI sends a big file (greater than 1MB) via FTP to the client. The client needs an empty file to be created once the file has been fully sent from XI, with format <b>.ok</b>, so that their server can trigger their interface to process the file.
    They want this procedure to ensure no partial files are processed.
    Could someone please help me out on how to do this in XI.
    Thank you.
    <b>Juan Carlos</b>

    HI rajendra
    look into this
    file.checkFileModificationInterval=<msecs>
    Use this parameter to define a length of time (default value: 0) for the file/FTP adapter to wait after the file has been read to see if the file length changes. If this is the case, the system repeats the read procedure. This is useful if the files to be imported by the adapter are generated dynamically without being locked on the operating system level (for example, files received from FTP servers). Without this workaround, the file/FTP adapter cannot recognize whether the generation of the file is complete in such applications with operating system functions.
    regadrs
    nisar

  • PSD files sent over FTP given 1kb file size, archived, and have .bin appended to extension

    I'm trying to deliver PSD files to someone over our server's FTP. If the FTP shared folder is accessed via a browser (like safari which is the main thing I've been testing on), the files in are listed as being only 1kb in size when each is approximately 60MB and all have had .bin appended to the .psd file extension. When the file is downloaded it's still 1kb and when opened it is associated with the archive utility which attempts to unarchive it and produces and identically named and extensioned file of 4kb size which cannot be opened by preview or text edit or photoshop.
    Changing the extension does not help as suggested here http://forums.appleinsider.com/archive/index.php/t-25119.html . Also if the file is downloaded via 3rd party FTP software like cyber duck, though the file size is listed as 1kb, the correct size file is downloaded though still has the .bin extension. When this full sized .bin file is opened, archive utility instead of unarchiving attempts to archive it and produces a file roughly half the size which too cannot be opened. Speaking with apple care resulted in the suggestion that I use terminal command line to force the client to use binary mode when downloading the file which also downloads a file of correct size but with the .bin extension and that can not be opened.
    Is this a known issue with PSD files? I've not come accross this before, the server is configured correctly and different file types are successfully downloading with no changes to size or extension and then opening as they should upon receipt at the client side.

    Hi and thanks,
    that was my next port of call but I stumbled across a more permanent fix. Mac OSX server automatically converts files sent over FTP to something called MacBinary on the fly and it seems this process doesn't agree with PSD files. Someone else encountered this problem back in 2003 and found this solution
    http://forums.appleinsider.com/archive/index.php/t-25119.html
    speaking to apple care they also sent a link for the official mac instructions for achieving the same thing here
    http://support.apple.com/kb/TA20996
    and here
    http://support.apple.com/kb/TA20645?viewlocale=en_US
    in the second explanation it's important to note for anyone attempting to follow this that if you're fixing the problem on MacOsX server rather than just MacOSX it isn't necessary to enable the root account as it is automatically enabled by default. Simply log out and log back in as root and use the same password as the first administrator account you set up when the server was first configured.

  • Loading data via ftp

    Hi,
    From my reading of XML Db papers, it seems to indicate to me, that it is possible to load XML datafiles via ftp.
    Please could someone give me an example of how this would be done, as I cannot find a concrete
    example in the documentation.
    Thanks for your attention.
    Pete

    C:\>ftp
    ftp> open localhost 2100
    Connected to mdrake-lap.
    220 mdrake-lap FTP Server (Oracle XML DB/Oracle9i Enterprise Edition Release 9.2
    .0.1.0 - Production) ready.
    User (mdrake-lap:(none)): scott
    331 pass required for SCOTT
    Password:
    230 SCOTT logged in
    ftp> cd public
    250 CWD Command successful
    ftp> mkdir test
    257 MKD command successful
    ftp> cd test
    250 CWD Command successful
    ftp> pwd
    257 "/public/test" is current directory.
    ftp> put c:\temp.txt temp.txt
    200 PORT Command successful
    150 ASCII Data Connection
    226 ASCII Transfer Complete
    ftp: 305 bytes sent in 0.00Seconds 305000.00Kbytes/sec.
    ftp> get temp.txt -
    200 PORT Command successful
    150 ASCII Data Connection
    Hello
    This is a simple text file.....
    It is stored in the Resource View, If it were a schema based XML file, and the
    Schema had been registered with XML DB, then the Resource View would contain a
    reference to a row stored in the default table identified by the XML Schema.
    Does this help...
    226 ASCII Transfer Complete
    ftp: 305 bytes received in 0.03Seconds 10.17Kbytes/sec.
    ftp> quit
    221 QUIT Goodbye.
    C:\>sqlplus scott/tiger
    SQL*Plus: Release 9.2.0.1.0 - Production on Mon Jun 24 12:54:27 2002
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> set long 10000
    SQL> select xdburitype('/public/test/temp.txt').getCLob() from dual;
    XDBURITYPE('/PUBLIC/TEST/TEMP.TXT').GETCLOB()
    Hello
    This is a simple text file.....
    It is stored in the Resource View, If it were a schema based XML file, and the
    Schema had been registered with XML DB, then the Resource View would contain a
    reference to a row stored in the default table identified by the XML Schema.
    Does this help...
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    C:\>

  • R/3(sends IDOC data)  to IBMMQ via XI.

    Hi,
    My requirement is R/3(sends IDOC data)  to IBMMQ via XI.
    I need to sent up Integration Builder: design as well as configuration.
    Can anyone send me a document which describes a complete end to end scenario?
    I have seen the forum and the blogs but none decsribe the complete end-to-end scenario.
    Plz reply at the earliest.
    Regards,
    Mateen.

    <i>My requirement is R/3(sends IDOC data) to IBMMQ via XI.</i>
    >>>
    there is no document as sucj available on SDN that will help u implement the above scenario. But you can have help on
    1. sending the IDoc to  XI - Ref: https://wiki.sdn.sap.com/wiki/display/XI/SAPR3%28Idocs%29ToXI--Steps+Summarized
    2. IBMMQ - you will have to use the JMS adapter. To receive help on configuring the receiver JMS adapter ref: http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm

  • Secure IDOC transfer to external via XI

    Hi
    I would like to send an IDOC to external customer R/3 system.
    Below option is unsecured FTP communication, and customer may not agree to accept to open the FTP port.
    My R/3 IDOC fileFTP>XIFTP>Customer FTP server<--Customer R/3
    What are the other options of secure IDOC file transfer?
    Kindly advise, thanks a lot in advance.
    //PSL

    Hi,
    >>1. So, the IDOC will be transferred via ALE RFC or EDI file transfer?
    1. yes via RFC
    we also send RFC requests in the same way
    (r3 rfc -> XI -> saprouter) -> (saprouter -> r3)
    >>2. Is there any guide I can use for setting up the saprouter to external party.
    2.sorry don't know that our basis people do that
    but probably yes
    Regards,
    michal

  • I can't connect to Windows Server via FTP

    I've been using FTP for about 13 years and it works fine on Apache servers but can't connect to a windows Server via my Fetch FTP program. The site owner sent me a screenshot and copied/pasted the password so I know I have the info correct. It is still giving me errors.
    Is there a special method to connect to Windows server via FTP?

    Hi Lorel,
    Try FileZilla...
    https://filezilla-project.org/

  • Link idoc in R3 sent form PI

    hi,
    can you share somethoughts on finding the idoc created by xi....i know how to find using message type but is it possible to find it via the xi message id?

    Hi,
    I think Prabhu means that he wants to search in R3 for Idocs that were sent there from PI to R3.
    I dont think IDX5 can give you those Idocs. Idx 5 is only usable for Idocs sent from R3 to the PI system.
    But than i'm not sure how to find the particular Idoc in the R3. I think it would be best to get a close range of date/time from PI and then use that same range in R3 in transaction WE02.
    Kr
    Robert

  • WVC210 recording via ftp or smb

    Hi to all,
    i'm new on this forum. I'm searching about a one way to recording via ftp or smb.
    What i understand is that the ipcam could record to a smb server automatic. Via ftp, just for motion capture.
    Is it true?
    I'm trying to setting both way, but something doesn't work:
    12/29/2011 09:19:37 Samba Record: Failed to connect to the server [host: xx.xx.XX.XX].
    12/29/2011 09:19:02 Samba Record: Start to record video.
    12/29/2011 09:19:37 Samba Record: Failed to connect to the server [host: xx.xx.xx.xx].12/29/2011 09:19:02 Samba Record: Start to record video.
    Also i read
    12/29/2011 09:22:12 HTTP: Streaming end (HTTP: xx.xx.xx.xx, admin).
    12/29/2011 09:17:35 HTTP: Streaming start (HTTP: xx.xx.xx.xx, admin).
    But in the destination host nothing find.
    Could someone help me please?

    Hi Enzuccio82,
    Welcome to the community!
    The camera can send motion alerts to an FTP server, which are the same as email alerts sent to an email address. You will get about 5 seconds of video on an alert or multiple .JPEG images. You need to have an FTP server configured and you need to configure the camera to send to that server. You can send video or images to an FTP server over the internet.
    Using SMB/CIFS you can record continuously to a properly configured Samba server. This can be simply a shared folder on a PC or a Network Attached Storage device. Either way the camera needs to have Read/Write access to the shared folder. The easiest way to get started is to create a wide open share that anyone can access on the root of the drive. (Example: C:\Video) Put the IP address of the PC (i.e. 192.168.1.101) or NAS into the camera as well as the folder name where it asks for Path (i.e. Video). When SMB/CIFS is enabled, the camera should record to that share until it is disabled.
    Please reply and let us know if this helps and if you have any questions.

  • When i upload my site via ftp to 3rd party hosting i only get 'index of/' when looking at the webpag

    I have exported my site and even tested on adobe and everything looks ok.  For some reason when I export and uplaod via ftp to my 3rd party hosting and look at the site I just get the index of/  and a list of the pages and directories underneath

    Thanks for that.  Now sorted.  It was a problem on my hosting
    Ian
    cid:[email protected]
    cid:[email protected]<http://twitter.com/dieselthefrog>[cid:[email protected]][cid:[email protected]]<http://www.facebook.com/dieselfrog>[cid:[email protected]][cid:[email protected]]<http://uk.linkedin.com/pub/ian-royle/30/a20/928>
    From: Abhishek Maurya [email protected]
    Sent: 04 July 2012 23:02
    To: Ian
    Subject: when i upload my site via ftp to 3rd party hosting i only get 'index of/' when looking at the webpag
    Re: when i upload my site via ftp to 3rd party hosting i only get 'index of/' when looking at the webpag
    created by Abhishek Maurya<http://forums.adobe.com/people/Abhishek+Maurya> in Help with using Adobe Muse - View the full discussion<http://forums.adobe.com/message/4538835#4538835

  • JAN 4, 2012  As of the  Upgrade to   Lion,. and the  Email portion, ..   DOES NOT  allow a Video Clip to be sent via the Email  as the I-Photo is not supported by Video Clips  ( Previous Leopard  No problem  clip and drag  via Quick Time Pro to the email

    JAN 4, 2012 
    As of the  Upgrade to   Lion,.   2007  I-Mac  -   the  Email portion, ..   DOES NOT    allow a Video Clips to be sent via the Email 
    as the I-Photo is not supported by Video Clips  ( Previous Leopard ) 
    No problem  clip and drag  via Quick Time Pro to the email  and select the  Attchment  size to send. .  Depending on the 
    Size of the Video Clip  ..      Now  Lion only  Export's   1 size, .   only  and as a result . . teh  File is  TOO  Large and
    Will NOT  send via  E-Mail    ??? 
    Between the   Issue of   the   Lion,  and  Email  issues ,   and  the   Upgrade  of   I-Touch  to  5.1  from  4.2.1 
    as my  Photo  Size is  Huge ..    70,000  +  photos in the  Computer. .   and was   40,000  in the   I - Touch  .. .  
    The  New I-Touch  too will not Load the  same  as Previously  used  on  either  my  16 GB   or  32 GB   Unit . . 
              No Help . ..   so far, ..  as a Apple user   since   1996 ..    I  have Never  experieanced such  frustration    ??? 
                   (  any one have some help  if similar  experiances    ?     thank you     )

    JAN 4, 2012 
    As of the  Upgrade to   Lion,.   2007  I-Mac  -   the  Email portion, ..   DOES NOT    allow a Video Clips to be sent via the Email 
    as the I-Photo is not supported by Video Clips  ( Previous Leopard ) 
    No problem  clip and drag  via Quick Time Pro to the email  and select the  Attchment  size to send. .  Depending on the 
    Size of the Video Clip  ..      Now  Lion only  Export's   1 size, .   only  and as a result . . teh  File is  TOO  Large and
    Will NOT  send via  E-Mail    ??? 
    Between the   Issue of   the   Lion,  and  Email  issues ,   and  the   Upgrade  of   I-Touch  to  5.1  from  4.2.1 
    as my  Photo  Size is  Huge ..    70,000  +  photos in the  Computer. .   and was   40,000  in the   I - Touch  .. .  
    The  New I-Touch  too will not Load the  same  as Previously  used  on  either  my  16 GB   or  32 GB   Unit . . 
              No Help . ..   so far, ..  as a Apple user   since   1996 ..    I  have Never  experieanced such  frustration    ??? 
                   (  any one have some help  if similar  experiances    ?     thank you     )

  • How do I stop DW CS6 randomly changing file permissions via FTP?

    How do I stop Dreamweaver CS6 12.0.1.5842 randomly changing file permissions when it uploads files to my web server via FTP.
    I can no longer trust Dreamweaver to upload websites correctly as it changes permissions on some files which then deny the server access to the file which in turn makes the webpage unreachable/return a 403 error.
    This is driving me insane.
    I'm using an early 2011 Macbook Pro 10.7.5.

    Hi,
    I'm having this problem too. Has Adobe fixed the issue yet? This appears to be an Adobe problem, not all the web hosts out there. CS6 is ramdomly (meaning: not every time) changing permissions on files uploaded with it and is not usable for web work until this problem is fixed by Adobe or a solution is provided. If I wanted to use a separate FTP program I would not have recommended that my employer buy multiple Adobe CS6 product licenses. One of the primary appeals of DW is the integration of FTP into the workflow.
    I am using a destop iMac2.8 GHz Intel Core 2 Duo, 4 gigs of 800 MHz DDR2 SDRAM.
    OSX 10.7.5
    I am using DW Version 12 Build: 5808
    Dreamweaver CS4 that I was using until this new purchase was working just fine. No file permisssion changes. I am being forced to go back to using it until Adobe posts a fix for this.
    I should ask while I'm here: has anyone found a solution for this yet?
    Thanks,
    -c-

  • How can FTP users access my NAS system via FTP client?

    I recently purchased a 2 bay, 4TB Buffalo Link Station DUO in order to solve some FTP issues.  I have about 50 users outside my LAN that need to connect drop files on my NAS, however nobody seems able to connect via FTP client.  If they login using the Web Access Dynamic DNS address they can read and write via their web browser, but it's clunky and slow.
    My NAS system has been given the IP adress of 192.168.1.254 which seem to me that it's a local IP adress, not a public/static IP. Do I need to manually assign an IP adress to my NAS system in order fot users to log into that specific IP and go directly to the shared folders on the NAS system?
    Thanks in advance!

    Your NAS is getting that IP because it is behind your Router, which is the normal way to use it and as it should be.
    You can not ASSIGN a public IP you your NAS. Only your ISP can do that and usually that incures an extra cost for more than 1 Public IP address. Usually included with a Business account and most of the time only available with a Business account. ISP do not want home owners running FTP or Mail servers on a residential acounts.
    As noted you have to forward the noraml FTP port, port 21, in your Router to the IP of the NAS. Since you already have that port forwarded to your Mac, which I have no idea why you did that, you have to either change that port forwarding to the NAS IP or make the FTP server on the NAS respond to some other port and forward that on the router to the IP of the NAS. The to access the NAS FTP server you have to enter the piblic IP address of your router followed with a :and port #. XXX.XXX.XXX.XXX:22 or whatever port # you assign to the FTP server on the NAS.

  • Cannot connect to cFP-2120 via FTP

    I am using several cFP-2120 running LV RT 8.2.1 with the FieldPoint drivers version 5.0.1. for process control and data acquisition. All data are logged to a file and broadcasted via network-shared variables. The data files can be downloaded using an external ftp client. Lately, two of our units have been giving me some trouble as I sometimes can not access the cFP2120s via ftp. I can ping the unit on the network though, all programs are still running and I can still access the network-shared variables. Only a reset of the controller seems to solve the issue.
    Any pointers would be greatly appreciated.
    Volker 

    Kyle,
    Thanks again for contributing.
    > Can you only connect one time after you reset and it stops working if you try to reconnect shortly there after or does it work for awhile and then eventually it stops working?
    After we reset the controller it seems to always work for awhile before it stops working again.
    > Are you using the controller to perform any other tcp communications with an other servers, besides the network shared variables? 
    Our system is configured as a slave on a Modbus TCP network and is queried typically once a minute.
    > Whats your memory usage on the cFP? Do you have the System State Publisher software loaded? Try connecting with DSM and see how much CPU and Memory usage you are using.
    No, I havent done this yet. I think this was instroduced with LV8.6? I just upgraded to the latest LV version and will investigate. This will take a week though.
    > Can you check the timeouts in MAX to make sure they didn't get changed? Right click on the cFP and select Communication Timeout Settings. From stock they should be 15000 ms.
    The timeout in MAX is still 15000ms.
    > Are these cFP dedicated to just this one task or are they reconfigured from time to time?
    We only reconfigure these units when we upgrade the software. This has been less frequent lately and happens maybe once a year.
    All the best,
    Volker

Maybe you are looking for