Using Secure FTP to extract a file

Dear all
we want to create a mapping to read data from a set of tables and after some transformation to export the data into a flat file over a secure FTP protocol to a remote location.
I am wondering :
a) if that is feasible and if yes, then
b) what are the parameters we have to use to achieve that.
many thanks in advance

A quick search at google reveals there are plenty of FTP libraries available for the various mainstream programming languages (Java, C, C++ etc).
However, FTP has a very basic command set. (MKDIR, GET, PUT, DEL etc).
So you are not going to be able to perform more advanced document management tasks (such as lock a document, check-in, check-out, modify metadata, modify security, search, sort etc) through standard FTP commands.
In terms of setting metadata through FTP, you could potentially store the various processing instructions required in some type of XML file (or equivalent) and upload this XML file to the repository. A custom event handler could be created that listens for DOCUMENT_CREATED events, and then attempts to process the XML files and perform the various instructions contained within by calling the appropriate in-process Content DB FDK API.
It's ugly, but possible.
cheers
Matt.

Similar Messages

  • FTP site extracting old files to BI system daily

    Hi,
    I have an incident as -
    BI System is connected to an FTP server ..initially it used to extract 140 files daily to BI system..but now some changes have been during clean up activities and now around 7000 files are being extracted daily from the FTP server.
    I have been given the path for FTP server..i am not sure how should i approach the solution for this?
    Please guide me !!
    Thanks,
    Sravani

    I got to know that i have check in the transaction AL11 for the length of file ..but where can i find the files and where would be the program for FTP coded?

  • Can we do a Secure FTP for an XML file from ABAP when firewall is enabled?

    Hi all,
    I have a requirement to send an XML file to an External FTP Server which is out of our corporate network and our firewall is enabled.
    I have to send an XML file with Purchase Order details. I completed that with the help of this blog https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2657. [original link is broken] [original link is broken] [original link is broken]
    Now I need to FTP the XML file that is generated. How should I be doing this? Can some of help me with this?
    I need to do a Secure FTP to the external non SAP server which is out of our corporate network and our firewall is enabled. Can some one tell me if SFTP is possible in ABAP.
    This is not a web service. I am working on dropping an XML file in an external FTP serveru2026 I have searched the forums but still in a confusion if weather Secure FTP is possible in ABAP  or not when our company firewall is enabledu2026
    If some one encountered this situation earlier please help,,,..any help will be highly appreciated.
    Regards,
    Jessica Sam

    Thanks a lot for your valuable suggestions Richu2026
    I agree with you Rich that web services would be a better option. But I need to send this file to an external third party and they dont have web services.
    They are telling us that either we can send them an XML file or a CSV file in the format that they want. We decided to go with XML file format.
    I am done with formatting the Purchase Order details in the format that they want. Now the challenge is that I need to send this FTP file to them and it should be a Secure FTP when our fire wall is enabled,
    When you say
    1) Run an ABAP program to generate the XML file and put it on the local PC
    2) Log into the FTP site via some FTP client, could simply be windows as well.
    3) Manually cut/paste the file from the PC to the FTP site.
    For Step 1 running ABAP Program can I schedule a batch job?
    For Step 2 and Step 3 can I automate it in any other way..if not in ABAP?
    Can I advice my company to follow any alternate method in which they can automate this step 2 and step 3u2026if not in ABAP can it be possible in any other way as the third party does not have web services I now have no other alternative.
    Please Helpu2026
    Regards,
    Jessica Sam

  • Keynote (6.2) file won't open. Can I make a new Index.zip file using some of the extracted .iwa files?

    Keynote (6.2) file won't open (hung and crashed during auto-OS update).  Trying to salvage everything possible.  I know about grabbing the pictures from Data folder, but is there a way to extract the good .iwa files and make a new Index.zip? 
    Tried extracting, capturing uncorrupted .iwa and deleting corrupted ones, but can't figure out how to re-compress to readable format for Keynote.  Seems silly that I can't ge the new .zip file to work.  There has to be some sort of manual work-around, yeah?
    Thanks.

    This problem has been reported to the AppleWorks team, but I doubt that we will ever hear if there is a fix. AppleWorks 6 is now nearly 6 years old & hasn't even had an update since March, 2004.
    Nothing has been found to be able to make AppleWorks 6.2.9 open the problem files. I've had it happen & not happen with all AppleWorks file types. These files can be opened by any other version of AppleWorks 6, including the OS 8/9 component 6.2.8. If you have the retail version of AppleWorks & have Classic installed, you can "Force" AppleWorks 6 to open in Classic to open the files, save them as AW 6 files & then open them in the OS X version. You do want to make sure you don't have both the Classic & OS X versions of AppleWorks 6 running at the same time. I find it much easier to use AppleWorks 5 in Classic to open & save the files. AppleWorks 6.2.9 has no problem opening AppleWorks 5 files.
    Peggy

  • How to use secure FTP using FTP adapter in PI

    Hi,
    PI does not give SFTP adapter, for using the SFTP adapter we need some security certificates + we need to purchase the
    SFTP adapter.
    How to achive SFTP functionality using FTP adapter? We need to do some script coding.
    Pl throw some light on this.
    Thanks,
    Krishna

    HI Krishna,
    Ref:  http://weblogs.sdn.sap.com/cs/blank/view/wlg/22415
    http://weblogs.sdn.sap.com/cs/blank/view/wlg/22776
    http://aedaptive.com/index.php/solutions/pgp-for-sap-netweaver
    Thanks,

  • Using secure FTP (SFTP) with XI 3.0.

    Hi,
    I must bring a document with SFTP protocol.
    Is it possible use SFTP with XI 3.0. What must I do use SFTP with XI. Is it necessary to install some component to XI or it needs some 3hrd party components?
    Thanks

    Hi Cemil,
    Right now, XI does not have the feature of communicating with SFTP. You can extend the functionality of the File Adapter by writing some adapter modules to enable it to communicate with SFTP.
    Regards,
    Hari.

  • Secure FTP using FTPS (SSL/TLS) - need help!

    I am trying to use an FTP Sender Channel using Secure FTP.  I am currently getting a "java.net.ConnectException: Connection timed out: connect" error.
    I am on XI 3.0 with SP13. 
    Settings are FTPS (FTP Using SSL/TLS for Control and Data)
    Command Order Auth TLS, USER, PASS, PBSZ, PROT.
    I am able to connect from my pc using WSFTP Pro which looks to be using the same command order.  I made sure WSFTP Pro was set for passive connections as XI only supports this until SP15.
    I have asked our Basis support to make sure the proper ports are open that are used for the connection and file transfer.  They have deployed the Java Cryptographic Toolkit on XID, and changed the startup mode for SSL runtime from 'manual' to 'always'.  The site I will connect to uses a certificate from Equifax which was added to the TrustedCAs keystore view.  After still not being able to get a file, I also added the certificate of the site, which I was able to export from WSFTP Pro and import onto XI with STRUST.
    I have increased the J2EE trace for com.sap.aii.adapter.file to Debug, but I haven't been able to get much out of the log.  I see entries, such as some SSL activity and the timeout, but nothing that points me to an answer.  Of course, I really don't know what to look for.
    I have tried to connect to the remote server by name or ip with the same connection timeout. 
    I currently don't have it set to use X.509 certificate for Client Auth, but I did try a few of those options with no luck.
    Any pointers would be appreciated.
    Thanks,
    Eric Peterson

    Eric,
    Did you ever solve the problem ? I am having the same issue.
    Cheers
    Jon

  • BPEL Process with multiple file types using one FTP adapter is not working

    i created a bpel process which will fetch the files from remote location using FTP adapter.
    Now the process works for only one format or file type like *.xls.
    How can i use more than one file format in one FTP adapter.
    OR
    is there any other way to do it.
    file type assignation is 5th step in FTP adapter configuration.
    i have tried *.xls,*.csv and *.xls;*.csv and *.xls:*.csv by seperating with comman, colon, space... still not working.
    i read the documentation *.* will not work.. for one file format it's working fine.
    looking forward for reply as soon as possible.

    Are you positive that it is not working? I'm not sure how you can use one FTP adapter for multiple file types unless the underlying data is exactly the same format or you are processing it as opaque data. Sometimes when a FTP adapter chokes on a file with a bad structure it doesn't create a BPEL instance, it simply moves the bad file to a separate folder.
    So I assume you are using opaque as the data type instead of using an XSD element?
    That said, I don't think you can put two separate file types in the filter. Is it possible for you to do something like: CommonFileName*.* or do you have similar files with other extensions?
    I know the above probably isn't of much help, but I had so many problems with the FTP adapter and its lack of features that I am writing my own. Unfortunately that is a large undertaking and there isn't any good documentation of JCA resource adapter / BPEL PM integration.

  • When extract omni.ja file using winrar program give me that file is corrupted for version 17.0.2 windows and language is EN-US ?

    i need to update and set default bookmarks show always when install firefox
    when update omni.ja file i do this steps :
    Steps to change “Bookmarks.html” file in “omni.ja”:
    - Copy “omni.ja” file and change the prefix of the file to “zip” so that you can extract it using WinRAR program, then extract the file.
    - Make the changes you want to the extracted files.
    - Open the original “omni.ja” file using WinRAR program.
    - Using “Add” button to replace the modified files.
    the first step when extart the file it's give me that file is corrupted only for this version (firefox 17.0.2 windows EN-US)

    There is no need to edit files in the omni.ja! archives to achieve this.
    *http://mike.kaply.com/2013/05/06/dont-unpack-and-repack-omni-jar/
    *http://mike.kaply.com/2012/03/26/customizing-firefox-distribution-ini/
    If you need to initialize specific files in a new profile then create a template folder in the Firefox program folder (C:\Program Files\Mozilla Firefox\browser\defaults\profile\) and place the files in that folder.
    *http://mike.kaply.com/2013/04/24/major-changes-coming-in-firefox-21/
    *http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/

  • Secure FTP in SAP XI

    Hello,
    I have seen that there is an FTP adapter in SAP XI. We currently have guidelines to use Secure FTP (SFTP) for FTP communication over an 'unsecure' network.
    We would like at least 128bit encryption, preferably 1024bit key.
    Can SAP XI also support this (and how)? Or is there a possibility with third party adapters?
    Best regards

    While the File/FTP adapter does not support secure FTP, there are a couple of options for protecting FTP communications.
    1. Develop a custom FTPS adapter.  There are some good commercially-available Java libraries that implement FTPS; I've found the Secure FTP Bean from Glub Tech (www.glub.com) to be reliable and compatible with many common FTPS servers.  It's called a bean, but it really is just a basic Java API library.  (It's shareware -- free to download for prototyping, $500 for internal use.)
    You do need to understand the various options in the FTPS specification to get this to work.  Reading IETF RFC 2228 will help.
    2. Use the FTP adapter, and encrypt/decrypt the file contents through a user exit in the adapter.  Something on the FTP server side will have to do the same.
    --Dan King
    Capgemini

  • Coldfusion secure FTP & digital certificates

    Hello !
    I am currently in the process of developing a corporate CF intranet site that is behind a corporate firewall and part of the application will need to send a data file (FTP put) to a remote FTP server using secured FTP (FTPS). I have never used Coldfusion before for either secured or unsecured FTP.  I am planning on using the CFFTP tag to open the connection and send the data file but I have a number of other questions regarding the use & installation of the digital certificates.:
    Current development environment setup:
    CF version 9 standard edition running on Windows Server 2008 R2
    Microsoft IIS 7
    Current production environment setup:
    CF version 9  enterprise edition running on Windows Server 2008 R2
    Microsoft IIS 7
    1.  The data file that is being created must be sent to a finanacial institution and they will be providing a digital certificate (p12 format) to me.  What do I do with that certificate once I get it ?  I have installed SSL certificates before on http web sites with IIS without any issues but I am not sure what to do with the certificate for secured FTP.  Do I import the certificate into IIS using the MMC snap on or does the certificate need to be integrated into Coldfusion in some other way and if so, what needs to be done ?
    2.  What other steps need to be prior to being able to use the CFFTP tag for a secured FTP send ?
    I would appreciate as much help as possible as I haven't used CF for FTP before.
    Thank you.

    Dave,
    Thank you for answering.
    1.  I have imported the certificate into the cacerts file by using the following command:
         keytool -import -keystore ../lib/security/cacerts -alias x  -file c:\downloads\y
         where x was the alias name I assigned and y was the certificate name (extension of 'der').
    I tried importing a p12 and p7b certificate but neither of those worked.  I received the message 'Not a valid X.509 Certificate' from the command.  I then successfully imported a Base64 certificate (der).  I believe the certificate has been successfully imported because I ran the following and it shows the MD5 fingerprint:
         keytool -list -alias x -keystore ../lib/security/cacerts
         where x is my alias name I assigned in the original import
    2.  I then ran the following CFM command replacing the '*'s with the appropriate server name, user name, and password
         <cfftp action="open" connection="conn1" secure="yes" server="********" username="******" password="*****" port="21"
         </cfftp>
         I am getting the CF error
    An error occurred while establishing an sFTP connection.
    Verify your connection attributes: username, password, server, fingerprint, port, key, connection, proxyServer, and secure (as applicable). Error: User Authentication failed.
    Any suggestions or help would be appreciated.
    Thank you.

  • Utility to extract ADS file from Planning application

    Hi,
    We had a Planning System 9.3 Classic application. We wanted to create a replica of the same as an EPMA application. We used a utility to extract ADS file from classic application. Post that the classic application has locked i.e we are not able to edit it. All dimensions are in view mode. Kindly let us know how to revert back in edit mode for classic application.
    Thanks and Regards,
    Meenal Dhall

    Hi,
    I think you have come across the bug in the EPMA extractor, if I remember correctly it changes a value in a table which stops you editing in classic.
    You can resolve this looking at your planning system database.
    There is a table called HSPSYS_PROPERTIES.
    The field property_id is the application id, you find what application it relates to by looking at HSPSYS_APPLICATION
    Once you know the id for your application
    In the table HSPSYS_PROPERTIES look for a row with EDIT_DIM_ENABLED and change the value in the next field from false to true
    Restart planning and you should be able to edit again.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Extract Audio Files

    Once you have split a large file into many regions. How do you save all regions in a track as separate files?
    Logic 9 manual - p609 - Using Strip Silence to Extract Audio Files from a Disc
    "...Strip Silence can be used to split these into individual regions, which
    can be used directly in the Arrange area. Regions can also be converted into individual
    audio files (samples),…"

    Use the copy/convert function from the Audio Bin to batch resave all regions. In the Arrange you can press control+f to open the copy/convert function (that was the default key command on my version but you can assign any other KC to it). The region will be converted to a new file and the new file will be imported automatically substituting the original region even preserving the fades you have applied to it (but not saving the fades with the new file, if you want that, use the Bounce function).

  • Secure FTP feature on windows

    I wanted to use secure ftp feature on windows platform.
    Can anybody tell me where can I find the related articles.
    In the following it is said that "The FTP adapter supports the use of the secure FTP feature on Solaris". Then what about the windows.
    http://docs.huihoo.com/oracle/docs/B14099_19/integrate.1012/b25307/adptr_file.htm#CIABDJEF
    Thanks
    V Kumar

    thanks it was helpful to me.
    but i am getting this error when I am trying to start the service(Type net start sshd to start the sshd service.)
    the CYGWIN sshd service could not be started
    The service did not report any error.
    more help is available by typing net helpmsg 3534
    When I type "net helpmsg 3534"
    It again says "The service did not report an error"
    When I tried from the services console I got the following message
    "The CYGWIN sshd service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."
    any Ideas?
    Thanks
    V Kumar
    Edited by: user640551 on Oct 16, 2008 7:34 AM
    Edited by: user640551 on Oct 16, 2008 7:37 AM

  • SSIS and Secured FTP Commands to GET a Remote File using wildcards

    So my biggest caveat here is dealing with wildcards! For the life of me I cannot find any good examples of SSIS and scripting that uses FTP wildcards to GET certain Files. In a nutshell, here's what I need to do...
    Query a SQL Server Database which has a parsed File Name, the first 50 characters of the file name.
    The Query "Result Set" is put into an Object Variable User::SQLServerFileList
    I then utilize a "Foreach Loop Container" which reads the User::SQLServerFileList and puts it into Variable User::SQLServerFileNm...which is again the first 50 characters of the File Name
    Within the "Foreach Loop Container", I then utilize an "Expression Task" which builds a variable User::RemoteFileLookup which is a concatenation of the User::RemoteFolderPath + User::SQLServerFileNm + the wildcard *(Variable
    User::RemoteWildCard)
    I then try and utilize a "FTP Task" to use that concatenated Variable to go and GET the Filename but every time I try, it does not like what I'm sending via the "FTP Task"
    Error: 0x0 at TF Secure FTP Task, ExecuteTask Failed:: Illegal characters in path.
    I realize I might have to do something like this via C#.
    My biggest challenge is providing the GET Command via the Remote FTP Site with a parsed Filename and utilizing a wildcard.
    mc7i1231_20140227_050114_27_05_02_09*.999
    And the Filename that exists on the FTP Server is...
    mc7i1231_20140227_050114_27_05_02_09_x12_a43419452ca844a9b8a00f61e655dca3.x12-20140303180032.999
    Can any gurus out there PLEASE help me out???
    Thanks in advance for your review and am hopeful for a reply.
    PSULionRP

    Hi PSULionRP,
    According to the document
    FTP Task, we can read that:
    The FTP task supports the ? and * wildcard characters in paths. This lets the task access multiple files. However, you can use wildcard characters only in the part of the path that specifies the file name. For example, C:\MyDirectory\*.txt is a valid
    path, but C:\*\MyText.txt is not.
    So, when you use expression tobuild the variable RemoteFolderPath, make sure the evaluated value of the expression conforms to the above rule. 
    Regards,
    Mike Yin
    TechNet Community Support

Maybe you are looking for

  • 500 Internal server error while running sqlsrv_query in PHP

    Hello everyone I am having a problem with sqlsrv_query I will be grateful to you please provide some help. I am running a query through php: $ls_parcel_query = "select  * from  ParcelDetail order by ExtractDate"; $result = sqlsrv_query($conn, $ls_par

  • Invoice History Report not fetching any data without parameters

    Hi As per user guide, you can run the Invoice History Report without giving supplier parameter. "If you want to submit the report for one supplier, enter the supplier. Leave this parameter blank to submit the report for all suppliers." But when we ru

  • Survey response in campaign automation

    Hi Experts, I have set up a campaign automation scenario in CRM 7.0 but am not able to trigger next campaign element based on survey response. The campaign automation scenario is as below. Campaign u2013 Campaign Element 1 -> Decision Node -> Campaig

  • Add On Issue ( HR Module  )

    Hi Team ,               I have installed Enterprise portal with dual stack JAVA & ABAP without ECC now i wanted to add on HR module . Is it possible and if it is how can i go ahead please guide me through the procedure Thanks in advance Regards , Mad

  • TS1559 If i reset my network settings will all of my passwords be loss?

    If i reset my network settings will my paaswords be loss and need to be re-entered?