Setting up the FTP in OBIEE Delivers.

Hi All,
My requirement is to transfer an ibot which been generated in the PDF format from one machine to another. I know this can be done using the settings in advanced delivery options like java script.
Can anayone suggest me the settings need to be done for FTP on the machine and java script for that.

If you are using windows, java script will work fine.
In the "Advanced" tab of the iBot screen, select Add Actions --> Custom Script, select JavaScript.
In the top text box, specify the Javascript filename (ex: Results.js). Select the second radio button under "Results" section that reads "Pass delivery content to script".
Under " Other Parameters" section, specify a filename where you want the results to be captured.
Create a javascript file (Ex; Results.js) and paste the following code. Parameter(1) woukld be the filename you specify and Parameter(0) would be Javascript filename.
This file should be under the following directory %OracleBI%\server\scripts\Common
var FSO = new ActiveXObject("Scripting.FileSystemObject");
var fileName = "F:\\" + Parameter(1);
var fooFile = FSO.CopyFile(Parameter(0), fileName, true);
Make changes to the javascript as needed (specifically the folder where you want the file captured.
- Madan

Similar Messages

  • Getting javascript error while selecting the Recipients in OBIEE delivers.

    Hi All,
    I am working on OBIEE from quite a long time, but recently I came across a error while selecting the Recipients in Recipients list of OBIEE delivers.
    Making it more comprehensive, when I try to create an ibot , after entering all necessary information when I select Recipients in Recipients list and click on ok. I get a JavaScript error "null" is null or an object. The surprising thing is when i select cancel it works as ok.
    Any help will be highly appreciated
    Thanks,
    Jyoti
    Message was edited by:
    user616430

    I think you dont have a field named /BIC/XXXXXX in the table from which you are trying to fetch the data. Chech the spelling of the field name and table name.

  • Setting up the FTP Server on solaris 10 - Connection Problems

    G-day
    I am trying to set up the inbuilt FTP Server. I have followed a number of guides to set this up but have still been unable to connect to it. When trying to connect to it, it reads:
    Connected, waiting for response...
    220 unknown FTP server ready
    USER anonymous
    331 Guest login ok, send your complete email address as password
    PASS (not shown)
    530 Can't set guest privelages
    Not Logged in
    Can any1 shed some light on this please?

    FTPACCESS FILE
    # ident     "@(#)ftpaccess     1.2     03/05/14 SMI"
    # FTP server configuration file, see ftpaccess(4).
    class          realusers     real          *
    class          guestusers     guest          *
    class          anonusers     anonymous     *
    loginfails     3
    passwd-check     trivial          warn
    private          no
    shutdown     /etc/ftpd/shutdown.msg
    # email          user@hostname
    # guestuser     username
    # rhostlookup     no
    keepalive     yes
    recvbuf          65536          real,guest,anonymous
    sendbuf          65536          real,guest,anonymous
    # flush-wait     no          anonymous
    # passive     ports          0.0.0.0/0     32768     65535
    # timeout     data          600
    # timeout     idle          300
    banner          /etc/ftpd/banner.msg
    greeting     brief
    message          /etc/ftpd/welcome.msg     login
    message          .message          cwd=*
    readme          README*               login
    readme          README*               cwd=*
    # quota-info     *
    chmod          no          anonymous
    delete          no          anonymous
    overwrite     no          anonymous
    rename          no          anonymous
    umask          no          anonymous
    compress     yes          realusers guestusers anonusers
    tar          yes          realusers guestusers anonusers
    path-filter     guest,anonymous     /etc/ftpd/filename.msg     ^[[:alnum:]._-]*$ ^[.-]
    noretrieve     relative     class=anonusers          /
    allow-retrieve     relative     class=anonusers          /pub
    upload          class=anonusers *     *     no nodirs
    # upload     class=anonusers *     /incoming yes ftpadm ftpadm 0440 nodirs
    # log          commands     real,guest,anonymous
    # log          security     real,guest,anonymous
    # log          transfers     real,guest,anonymous     inbound,outbound
    # xferlog     format     %T %Xt %R %Xn %XP %Xy %Xf %Xd %Xm %U ftp %Xa %u %Xc %Xs %Xr
    # limit-time     anonymous     30
    # limit          anonusers     10     Wk0730-1800     /etc/ftpd/toomany.msg
    # limit          anonusers     50     SaSu|Any1800-0730 /etc/ftpd/toomany.msg
    # FTP Test
    upload /export/home/ftp /pub yes ftp other 0600 nodirs
    FTP USERS FILE
    # ident     "@(#)ftpusers     1.5     04/02/20 SMI"
    # List of users denied access to the FTP server, see ftpusers(4).
    root
    daemon
    bin
    sys
    adm
    lp
    uucp
    nuucp
    smmsp
    listen
    gdm
    webservd
    nobody
    noaccess
    nobody4
    These are pretty much still at the default status.
    Thanks mate

  • How do I use a specific host directory in the ftp setup?

    I am reestablishing links in CS4 to my websites after an upgrade from Vista to 7.
    I use Go Daddy and the subdirectory capability. I had a difficult time setting up the ftp connection and saw in another posting that the Host directory should be left blank. This indeed worked. The problem is that I want to control access of different designers to different websites that are contained in one hosting account. When I use the correct Host directory in the Site Definition dialogue box as I did with my setup on Vista, I get the error message:
    "An FTP error occurred - cannot open remote folder [FileName]/. Access denied. The file may not exist, or there could be a permission problem."
    However, the file does exist. I have tried various uses of forward slashes, in front, in back, and both, without success. I'm sure there is an answer.
    Any ideas?
    Thanks,
    Mark

    Can you verify that your user account has access to those other accounts?  Is this a reseller account where you have accounts under your own or is this a dedicated box or VPS where the accounts can be in different directories?  Is this a Windows or Linux box
    There's a few things that could be going on, but if it ends up being a permission issue Godaddy will be the only ones who can help with that.  But just an example of a path on a Unix/Linux environment, "public_html/".  There is no leading slash but there is a trailing slash in the path.  If you are connecting to a Windows server it could be slightly different, but my only experience with Windows is in a networked/VPN environment so if that is your case I am sure someone else here can help you out.

  • E4200 v1- problem creating a shared folder for the FTP server.

    Hi, 
    I'm trying to share an external USB harddrive (4TB- HFS+) that is attached to my e4200 router.  I'm trying to set up the FTP server, but when I try to create a shared folder, I get kicked out of the browser based interface for the router just as I'm trying to save the new shared drive.  I have tried many different things to get it to work: different computers (PC and Mac) different browsers, reflashing the firmware (which is version 1.0.06, build 3), I tried all of this with an NTFS formatted drive as well-  everytime I try to set up the shared folder- right as I hit the save button it kicks me out saying: Session Failure.
    I can see my drive on the local network, and I know the FTP server is working, because I can log into it from the outside- but I don't see anything shared, when I do.
    I have successfully gotten the media server to work using the same drive- but I can't create shared folder there either...  It seems to have shared the entire disk automatically when I first connected the drive to the router.
    Anybody have anything else for me to try?  
    Help!

    Same problem. Has anyone found a solution? I contacted tech support and got nonsense responses. I was of course asked to Factory Reset even though I told them I had done it before I called - classic brush off. Basicly here is the problem. 
    1. I cannot create a share on a USB connected HDD - this worked on the older Firmware. Now every time I try to set up the shared folder- right as I hit the save button it kicks me out saying: Session Failure. I am not the only person with the problem. Crazy thing is I had a share created and it worked after the upgrade. I wanted to add an additional share and now it wont share anything. HDD plugged into my PC works great. I was asked to try a different PC - even though I told them I tried from IE, Chrome, Firefox on a Windows 7, Vista, windows XP, IPad, Kindle and Samsung phone.
    2. While troubleshooting with the agent I discovered that although I have remote access disabled in the Administration>Management page but I can still access the router remotely. This is a huge security issue.
    3. Linksys is no longer a Cisco Company - if the code is this bad Belkin should take the Cisco logo out of the GUI. Don’t blame Cisco for your poor SW.
    I am ready to buy a new router and avoid Linksys and Belkin all together in light of these issues.
    Additionally, I would simply downgrade but the older Firmware is not available. When I asked for it I was told I could not get it. 

  • Setting Up the File Server Dynamically

    I have a scenario wherin i have to set up the FTP server name  and directory where i have to put the final file dymically.
    I was able to set the directory path dynamically using Adapter Specific Message properties.
    Can somebody suggest me if i can set the server name also by module processor (have not written one till now)or some other way. The steps to follow etc
    Waiting for your useful answers.

    Hi Siva,
    Setting up a Server name Dynamically -I don't think so it is possible with this point of time.
    So try to do in Java Proxy if required.
    Receiver File Adapter - Dynamic FTP Server Address
    Hope this helps,
    Regards,
    Moorthy

  • How to set the First Day of the week in OBIEE 11g

    In OBIEE 10g, there was a timeline.pcxml , that allowed you to change the First Day of a week (Default Sunday) to monday etc etc..
    Where can we find the same in OBIEE 11g ?
    Thank you ,
    Smrithy

    There are probably several ways. We have a universe string object named "Month" which is in the format "YYYY" then "M" and the month number. For instance any date in June 2010 would have in this object:
    2010M06
    So we made this variable in Webi for [First Day of Month]:
    =ToDate(Right([Query1].[Month];2) + "-01-" +Left([Query1].[Month];4);"MM-dd-yyyy")
    Hope that helps.

  • Not able to import the data in OBIEE 11g

    Hi Gurus,
    I had just build a new development instance from scratch.
    Q1) I am getting database connnection error on the Dashboard and when i tried to update row count from physical layer it also throws me an error, as i test i tried to import but i also got an error " The connection has failed", i am able to connect thru SQL Developer. Where does OBIEE 11g look for the tnsnames.ora file.
    Q2.) Where and what setting do i need to so that i can add the users in the application roles by searching them in the EM, means the LDAP users. I had gone thru most of the stuff in the web but could not get thru.
    Regards,
    Amit

    Ans 1. This is one of the most commonly asked questions on the Forum. I hope you'd search through available posts on the Forum before creating a new discussion. In any case, this might help: http://123obi.com/2011/03/error-the-connection-has-failed-in-obiee-11g/
    Ans 2. Have you set up the integration with the LDAP provider or are you looking for help with that too? These should help:
    http://docs.oracle.com/cd/E21764_01/bi.1111/e10543/privileges.htm
    http://www.rittmanmead.com/2012/03/obiee-11g-security-week-understanding-obiee-11g-security-application-roles-and-applic…
    http://www.rittmanmead.com/2012/03/obiee-11g-security-week-managing-application-roles-and-policies-and-managing-security…

  • PI is not able to pick the file from the FTP folder

    This is the FILE TO IDOC scenario. We have configured the file adapter. But its not able to pick the file from the specified directory. We have tried changing the transfer mode from Binary to Txt & also we have tried to put advance selection for source file but it didn't work. Its throwing the below error:
    PI Adapter Log:
    An error occurred while connecting to the FTP server '10.130.150.21:8529'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 451 Unexpected reply coderequested action aborted: local error in processing'. For details, contact your FTP server vendor.
    Also we have contacted the FTP team & they told that PI is sending an unsupported command. So instead of taking the file TLOG.txt, its treating this file name a s a directory. Please find the logs from FTP end below:
    FTP Log:
    (207197)2/5/2013 14:48:25 PM - sysisappi (63.130.82.16)> 230 Logged on
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> FEAT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 211-Features:
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MDTM
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  REST STREAM
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  SIZE
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MLST type*;size*;modify*;
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MLSD
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  AUTH SSL
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  AUTH TLS
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  PROT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  PBSZ
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  UTF8
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  CLNT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MFMT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 211 End
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PBSZ 0
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 200 PBSZ=0
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PROT P
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 200 Protection level set to P
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CWD /Qas
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas" is current directory.
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CWD SAP_ORION
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD Inbound
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION/Inbound" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD IRIIN04
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION/Inbound/IRIIN04" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD TLOG.txt
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 550 CWD failed. "/Qas/SAP_ORION/Inbound/IRIIN04/TLOG.txt": directory not found.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> QUIT
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 221 Goodbye
    It should list  *TLOG.txt*  but instead it is trying to get into a directory named  *TLOG.txt*.  same for other interface.
    So me & my team is struggling for last couple of days to fix this issue.Please share your suggestion

    Hi Sisir
    The screen shot of your config doesn't seem to correspond to the FTP log. I say this because the * is dropped from file name pattern "*TLOG.txt" (comparing your config and the FTP log). Can you share an updated FTP log?
    Sisir Das wrote:
    "/Qas/SAP_ORION/Inbound/IRIIN04" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD TLOG.txt
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 550 CWD failed. "/Qas/SAP_ORION/Inbound/IRIIN04/TLOG.txt": directory not found.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> QUIT
    Also, like Rajesh suggested, have you tried to manually check permissions by logging in, traversing the directory, and getting the file?
    By the way, we always use backslash \ instead of forward slash in our configs. Not sure this would make any difference for you though. Also, I don't normally use a trailing \ at the end of the source directory path.

  • How to set up a FTP and web server and integrate with DMM 5.2

    Hi All ...
    I need to set up a external server only for content publishing to reduce the overhead of the DMM server .
    can anyone guide me on how to set up the external server and intergrate it with the DMM 5.2
    Thanks

    semuthu,
    Notes from the Release Notes:
    Compatibility Limitations with Microsoft Internet Information Server (IIS)
    DMPs that use firmware release 5.2 are compatible with only one version of Microsoft Internet Information Server.
    That supported version is IIS 6.0 for Windows 2003 Enterprise. If you do not have the supported IIS version but
    want your DMPs to retrieve assets from a webserver, we recommend that you use Apache instead of IIS.
    I would suggest using Apache instead of IIS for the webserver service. IIS can be used as FTP if needed.
    There are plenty of Documents on the Web about setting up Apache and FTP for servers.
    Using Apache with Microsoft Windows
    http://httpd.apache.org/docs/2.0/platform/windows.html
    Quick HOWTO : Ch20 : The Apache Web Server
    http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch20_:_The_Apache_Web_Server
    Once the Webserver is setup and operational. You simply store your media content on the Webserver
    and then have your DMS assets in the media library use an external URL address for its location.
    If you want to use external server for other features in the DMM, you can can see how to configure
    here:
    http://www.cisco.com/en/US/partner/docs/video/digital_media_systems/5_x/5_1/dmm/user/guide/dsm+etv.html#wp1073210
    Goto the section right below ACNS & WAAS..
    If this answers your question, Please take time to mark this
    discussion answered & rate the response.
    Thank You!
    T.

  • How to use a key file in the FTP Task using and SSL connection

    In the past I have used this code to set the FTP pass word in an FTP component task in SSIS.
    Does anyone know how to use a Key file in an SSL connection to download a file from an FTP site?  If not can you tell me where I can get the C# code examples to learn how to create a script task or if there is another way in SSIS to download large files
    from an SSL FTP site?  Thank you for any help offered.
    public void Main()
    ConnectionManager FTPConn;
    FTPConn = Dts.Connections["FTPServer"];
    FTPConn.Properties["ServerPassword"].SetValue(FTPConn, Dts.Variables["FTPPassword"].Value);
    Dts.TaskResult = (int)ScriptResults.Success;
    Antonio

    You can use SFTP for this.
    This is a way of implementing SFTP in SSIS using standard tasks 
    http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html
    also see
    http://blog.goanywheremft.com/2011/10/20/sftp-ftps-secure-ftp-transfers/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Polling of the current file from multiple files in the FTP Server

    Hello Experts
    I am working on a file to file scenario.We have to poll the file from the FTP server which may contain multiple files with different creation dates.The requirement is to poll only the file created in the current date.Could anyone throw some light on this.
    Thanks & Regards
    Sabyasachi

    Hi Sabyasachi,
        You can archive the files that you do not need into another folder manually for the first time.
    Later you can schedule the file adapter to poll the folder only once in a day (Poll INterval = 86400 secs)
    Do not forget to set the option to archive/delete the file that are already processed.
    Regards,
    Ravi Kanth Talagana

  • How to setup the FTP Service by the OS X Server? Thanks~

    Dear All,
    OS X 10.8.2
    I want to setup a FTP Service by the "OS X Server".
    When I start the FTP Service, I can't login by my account.
    FTP Service and FTP Client run at the same computer,
    I think it's not the network problem.
    Do you have the documents about the FTP Setting or "OS X Server" User Guide?
    Thanks
    Austin

    service generally manages the lower level services on the system.
    High level services such as Apache are managed via serveradmin:
    serveradmin status web
    serveradmin start web

  • Time to time its giving error in the FTP connection

    Hi Gurus,
    Im doing File to File Interface. Im using FTP for File transfer and the message protocol is 'File'.  Im using the connection security as 'FTPS(FTP Using SSL/TLS) for control and data connection' and set the default command order.
        I have uploaded the required certificate in the FTP server and the XI server also. I can view the certificate in the keystore of visual Administrator. Its working fine. But the problem is time to time its giveing this error "Error occurred while connecting to the FTP server "170.135.128.149:20021": iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier"
    Can anyone please help to resolve this issue. i need to fix it as soon as possible.
    Regards,
    Rama

    Hi All,
      I m facing one peculiar problem with FTP server. I have desinged one R3 to FTP interface. I m trying to connect to FTP with secure SSL connection. For that we uploaded the certificate in the FTP as well as in the Visual administartor in the XI box. I didnt create any SSL socket for this. Our basis team told like we dont need this SSL socket stuff because here we are using FTP as a client. So just they uploaded the certificate in the trusted CA of Visual administartor. Our certificate is obtained from verisign. So the CN name in the certificate is Verisign. I didnt find any thing in the certificate other then this. In our communication channel we gave the hostname instead of IP address.  But here my problem is, When i send the file to FTP its giving error in the first attempt. After that the message retiried itslef, the file has been sent successfull in the retry process. Why it is always fails in the first attempt.
    Can anyone please help me to resolve this. I need to be fix today itself.
    Regards,
    Rama

  • Setting up the HR-PDC  interface to ext. system without direct RFC

    Hello,
    Setting up the HR-PDC  interface to external system without direct RFC - Uploading time events
    Following note number 647145, I tried to set up connection to external time collection system. As the external system isn't able to work with RFC, I setup a fileport using transaction WE21. When an outbound IDOC is created with transaction PT80, it will be stored at the outbound path. The IDOC then will be transfered to the external system with a unix script triggered by event.
    For inbound IDOCS, the fileport cannot be used as I don't see any way to configure it as the time events that  should come in via RFC port, will be uploaded and processed according the ALE distribution model. The BOR object "PTManagerExtPEvent" of type "BUS7014" with method "Insert" is used to insert the time events into the interface table CC1TEV from an HR-PDC certified subsystem. The message type is "HRCC1UPTEVEN".
    As standard process won't work in our case, I'd need alternative solution. Actually the time events are send via ftp to the SAP directory that points to incoming IDOC path setup on WE21.
    Maybe there should some way to setup RFC connection to own SAP system that points to the SAP directory where the inbound files are stored.
    Maybe using the FM IDOC_INPUT_HRCC1UPTEVEN can be used to trigger the upload manually but first the files have to be uploaded from file similiar to report RSEINB00. Testing this report using the SAP directory and port where the inbound files are located I get error message that IDOC control record is missing, that seems to be understandable as this report is used to upload IDOCS from file but HR-PDC upload file HRCC1UPTEVEN01 has no specific IDOC segments in this moment as it was created according specific HR-PDC interface description. The IDOC in the standard process will be created with the BAPI.
    As I'm new in HR and ALE, I'd be grateful for any help on this matter.
    Best regards
    Andreas

    Hello Andreas,
    thanks for Your contribution. Recently I've got the trial version and made some tests and found out that the bapi-handler works perfectly for managing HR-PDC interface.
    Nevertheless actually there's no compilation for OS/400 and the AS/400 I'm working with has an old OS release without C compiler and furthermore RFC libraries of SAP cannot be installed on this release.
    The Bapi-handler for testing runs on Windows
    and I'd need an intermediate machine to manage the data between AS/400 and SAP. I'd prefer direct connection between timecollection subsystem and SAP for obvios reason.
    Regards
    Andreas

Maybe you are looking for

  • Bought 1.5 year old used macbook pro

    The hard drive is too small and i need to get a bigger one. I'm a pc convert. Can I buy any new 2.5 drive? Is it a sata drive? How do i find out? Thanks Larry

  • Firewire drives work individually; fail when daisy chained

    I have 3 FW400 drives daisy-chained. All was fine until a couple of weeks ago when I started having problems with drives randomly freezing up or unmounting, especially when writing large amounts of data (e.g., during a backup.) Despite multiple repai

  • ? marks on in my settings layout

    hey guys this ? mark every were on my mac please help

  • Process Loss in Subcontracting Scenario

    Dear all, In this scenario I am sending 10 kg of mat A 10 kg of Material B  to Subcontracting vendor to get a final product of C but in actual process the vendor loss 1 kg of Mat A and 2 kg of material B and final product is of 17 kg .My question is

  • SharePoint 2013 Unit Tests

    Hi,    I am interesting in creating unit tests in sharepoint 2013. Could you give me some information, which tools should I use to make this one? Is there aby good practise for SP? Regards Kamil