Ftp submit

I programmed the click event of a submit button. I used
event.target.submitForm({cURL:"ftp://user:password@servername",cSubmitAs:"PDF",cCharset:"u tf-8"});
What this is doing is that it opens this ftp site but the pdf document is not saved on the server. It simply logs on to this ftp site.
Is there something I am missing? Why can't I see the file on the server/ftp site? Any thoughts.
Any help much appreciated.
Thank you

Bump.
I too am having that problem.
In other places, people have stated that a servlet is needed.
What is the process needed to create the servlet, direct the pdf document to be sent to the servlet, etc.?

Similar Messages

  • Can you submit an ftp statement from servlet

    Hi,
    I need to submit an ftp upload. Can I do this somehow inside a servlet. I want to copy a file from an ftp://... to my server. Not sure if this is possible.
    Thanks in advance.

    THanks I have done it! If anyone would like to know, here is the sniplet.
    private String FTPTest(){
    try{
    //Get the movie in binary format
    URL url = new URL("ftp://username:[email protected]/file/" + FileName);
    URLConnection connection = url.openConnection();
    InputStream stream = connection.getInputStream();
    BufferedInputStream in = new BufferedInputStream(stream);
    FileOutputStream file = new FileOutputStream("/uploadedMovie.asf);
    BufferedOutputStream out = new BufferedOutputStream(file);
    //Download the movie
    int i;
    while ((i = in.read()) != -1) {
    out.write(i);
    //Flush buffers
    out.flush();
    //Catch errors
    }catch(Exception e){
    return "";
    }

  • Submit  XML - FTP Server wants username and password

    I am new to Livecycle and very excited about the product.
    I would like the Acrobat 8 users of my PDF form (that was created in Livecycle 8.2) to submit their XML data to my ftp server when they hit my submit button.
    I have create a submit button and entered into the object URL:ftp://xxx.com/home/wildedge/public_html/docs/
    Submit as: XML Data (XML)
    Data Encoding: UTF-8
    My ftp server wants a username and password to be entered before it will allow a file transfer. How do I submit my username and password with this submit button?

    Here is the PHP Script I ended up using on this project to make it all work, I called XMLupload.php. Just in case someone has the same questions I had.
    <br />
    <br /><?<br /?>
    require_once("configuration.php");
    <br /> $conf=new JConfig();
    <br /> $con=mysql_connect($conf-&gt;host,$conf-&gt;user,$conf-&gt;password);
    <br /> mysql_select_db('wilder_joomla',$con);
    <br />
    <br /> define('ADMIN_ROOT_DIR',dirname(__FILE__));
    <br /> $xml_uploaddir = ADMIN_ROOT_DIR."/administrator/xml/";
    <br /> $pdf_uploaddir = ADMIN_ROOT_DIR."/administrator/pdf/";
    <br />
    <br /> function random($length)
    <br /> {
    <br /> $hash =date('YmdHis',time()+8*3600)."_";
    <br /> $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz';
    <br /> $max = strlen($chars) - 1;
    <br /> mt_srand((double)microtime() * 1000000);
    <br /> for($i = 0; $i &lt; $length; $i++)
    <br /> {
    <br /> $hash .= $chars[mt_rand(0, $max)];
    <br /> }
    <br /> return $hash;
    <br /> }
    <br /> function get24hTime($time){
    <br /> if(strpos($time, "am")){
    <br /> $time = trim(str_replace("am","",$time));
    <br /> $temp = split(":",$time);
    <br /> return substr("0".$temp[0],strlen($temp[0])-1).":".$temp[1];
    <br /> }else if(strpos($time, "pm")){
    <br /> $time = trim(str_replace("pm","",$time));
    <br /> if(substr($time,0,2)=="12") return $time;
    <br /> return strval(intval(substr($time,0,strpos($time,':')))+12).substr($time,strpos($time,':'));
    <br /> }
    <br /> }
    <br />
    <br /> $file_path = $xml_uploaddir.random(10).".xml";
    <br /> $temp = split("/",$file_path);
    <br /> $xml_path = $temp[count($temp)-2]."/".$temp[count($temp)-1];
    <br />
    <br /> $body = file_get_contents("php://input");
    <br /> $fp=fopen($file_path,"w");
    <br /> fwrite($fp,$body);
    <br /> fclose($fp);
    <br />
    <br /> $xml=simplexml_load_file($file_path);
    <br /> $nodes=$xml-&gt;xpath("/form1/P1");
    <br /> $xml_groupname=$nodes[0]-&gt;group_name[0];
    <br /> $xml_groupname=addslashes($xml_groupname);
    <br /> $xml_checkin_date=$xml-&gt;DateofArrival;
    <br /> $xml_checkin_time=get24hTime($xml-&gt;ArrivalHour);
    <br /> $xml_checkin_date.=" ".$xml_checkin_time.":00";
    <br /> $xml_contact_person=$nodes[0]-&gt;contact_name[0];
    <br /> $xml_contact_email=$nodes[0]-&gt;contact_email[0];
    <br />
    <br /> /*
    <br /> print_r("FilePath: $file_path
    <br />");
    <br /> print_r("GroupName: $xml_groupname
    <br />");
    <br /> print_r("checkin_date: $xml_checkin_date
    <br />");
    <br /> print_r("contact_person: $xml_contact_person
    <br />");
    <br /> print_r("contact_email: $xml_contact_email
    <br />");
    <br /> */
    <br />
    <br /> $sql = "insert into jos_xml_files (status,file_path,pdf_path,group_name,checkin_date,contact_person,userid,add_time,email) values (0,'$xml_path','','$xml_groupname','$xml_checkin_date','$xml_contact_person',0,now(),'$xm l_contact_email')";
    <br /> mysql_query($sql);
    <br /> $message ='
    <ul class="noindent">
    <li>XML file is uploaded successfully.</li>
    <li style="list-style: none">';
    <br /> mysql_close($con);
    <br />?&gt;
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br /></li>
    </ul>
    <div id="showmsgmain">
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <table width="57%" align="center" style="border:1px solid #e5e5e5">
    <tr>
    <td height="25" bgcolor="#E5E5E5">&#160;Information suggested!</td>
    </tr>
    <tr>
    <td height="122">
    <br />
    <div style="margin-left: 2em; color:#0066CC;">
    <br /> <?php echo $message;?>
    <br /></div>
    <br /></td>
    </tr>
    </table>
    <br /></div>
    <br />
    <br />

  • Error while delivering a report using FTP

    Hi,
    I am facing an error when i am trying to schedule a BIP Report to a FTP location on a FTP Server.
    The error i am getting is shown below :
    java.io.IOException: STOR semd data failed.
    at oracle.apps.xdo.delivery.ftp.FTPMainConnection.closeDataConnection(Unknown Source)
    at oracle.apps.xdo.delivery.ftp.FTPClient.closeDataConnection(Unknown Source)
    at oracle.apps.xdo.delivery.ftp.FTPDeliveryRequestHandler.submitRequest(Unknown Source)
    at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(Unknown Source)
    at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToFTP(DeliveryServiceImpl.java:527)
    at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1481)
    at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:496)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    I am able to ping the FTP host ip and access the FTP. In the BIP Admin--> Delivery ---> FTP
    I have given my FTP Server name , HOST , and the Port
    Can anybody help me in solving this error? Its a high priority requirement from the Client side.

    Can you manually, as in command line, connect to the ftp site? Is it ftp or sftp? Single or double authentication?

  • Error while delibvering a report using FTP

    Hi
    I am trying to publish my report on a shared folder by using FTP server delivery. When the schedule gets run I can see following error displayed in the Publisher:
    java.io.IOException: Invalid status of current connection: 0
         at oracle.apps.xdo.delivery.ftp.FTPMainConnection.checkUTF8Support(Unknown Source)
         at oracle.apps.xdo.delivery.ftp.FTPClient.connect(Unknown Source)
         at oracle.apps.xdo.delivery.ftp.FTPDeliveryRequestHandler.submitRequest(Unknown Source)
         at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(Unknown Source)
         at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToFTP(DeliveryServiceImpl.java:519)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1417)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:478)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Status of teh job is comung as Failed - IO error.

    Can you manually, as in command line, connect to the ftp site? Is it ftp or sftp? Single or double authentication?

  • Form won't submit, newbie, probably being an idiot

    Probbally being an absolute idiot as completely new to web design, but really stuck, all help hugely appreciated...
    form on http://www.refuseboredom.com/EasterHolidays.html, form is validating itself but doesnt post??
    its supposed to be going to a FormMail.pl which is in the base directory, hosting with godaddy who accept perl scripts and say the script can be put anywhere on the server,
    Don't know what i'm missing!!
    Form Code:
    <div id ="form" >
          <form action="FormMail.pl" method="post" name="form1" target="_top" id="bookingform">
         <input type=hidden name="redirect" value="http://www.refuseboredom.com/thankyou.html" />
         <h2>BOOK HERE</h2>
         <input type=hidden name="recipient" value="[email protected]">
           <div>
            <span id="sprytextfield1">
            <label for="FirstName">Parent/Guardian First Name:</label>
            <input type="text" name="FirstName" id="FirstName" tabindex="1" />
            <span class="textfieldRequiredMsg">A value is required.</span></span>
            </div>
    <span id="sprytextfield2">
    <label for="LastName">Parent/Guardian Surname:</label>
    <input type="text" name="LastName" id="LastName" tabindex="2" />
    <span class="textfieldRequiredMsg">A value is required.</span></span>
         <div>
          <span id="sprytextfield3">
          <label for="Address1">Address 1st line:</label>
          <input type="text" name="Address1" id="Address1" tabindex="3" />
          <span class="textfieldRequiredMsg">A value is required.</span></span>
          </div>
          <div>
          <span id="sprytextfield4">
          <label for="Address2">Address 2nd Line:</label>
          <input type="text" name="Address2" id="Address2" tabindex="4" />
          <span class="textfieldRequiredMsg">A value is required.</span></span>
          </div>
          <div>
          <span id="sprytextfield5">
          <label for="City">City: </label>
          <input type="text" name="City" id="City" tabindex="5" />
          <span class="textfieldRequiredMsg">A value is required.</span></span>
          </div>
          <div>
          <span id="sprytextfield6">
          <label for="Postcode">Postcode:</label>
          <input type="text" name="Postcode" id="Postcode" tabindex="6" />
          <span class="textfieldRequiredMsg">A value is required.</span></span>
          </div>
          <div>
          <span id="sprytextfield7">
          <label for="Phone">Prefered Contact number:</label>
          <input type="text" name="Phone" id="Phone" tabindex="7" />
          <span class="textfieldRequiredMsg">A value is required.</span></span>
          </div>
          <div>
          <span id="sprytextfield8">
          <label for="Email">Email Address</label>
          <input type="text" name="Email" id="Email" tabindex="8" />
          <span class="textfieldRequiredMsg"></span><span class="textfieldInvalidFormatMsg">Not a Valid E-mail Address</span></span>
          </div>
          <div id="select1">
          <label for="Quantity"> Number of children you would like to book for:</label>
          <select name="Quantity" id="Quantity" tabindex="9" class="Quantity" >
            <option>1</option>
            <option>2</option>
            <option>3</option>
          </select>
          </div>
          <div id="Child1Div">
          <span id="sprytextfield9">
          <label for="Child1">Child's Name:</label>
          <input type="text" name="Child1" id="Child1" tabindex="10" />
          <span class="textfieldRequiredMsg">A value is required.</span></span>
          <span id="spryselect2">
          <label for="Child1Age">Child's Age:</label>
          <select name="Child1Age" id="Child1Age" tabindex="11">
            <option value="10">10</option>
            <option value="11">11</option>
            <option value="12">12</option>
            <option value="13">13</option>
            <option value="14">14</option>
            <option value="15">15</option>
          </select>
          <span class="selectRequiredMsg">Please select an item.</span></span>
          </div>
      <div id="Child2Div">
        <span id="sprytextfield10">
          <label for="child2">Child's name:</label>
          <input type="text" name="child2" id="child2" />
          <span class="textfieldRequiredMsg">A value is required.</span></span>
          <span id="spryselect3">
          <label for="Child2Age">Child's Age:</label>
          <select name="Child2Age" id="Child2Age">
          <option>10</option>
            <option value="10">10</option>
            <option value="11">11</option>
            <option value="12">12</option>
            <option value="13">13</option>
            <option value="14">14</option>
            <option value="15">15</option>
          </select>
          <span class="selectRequiredMsg">Please select an item.</span></span>
    </div>
       <div id="Child3Div">
          <span id="sprytextfield11">
          <label for="Child3">Child's Name:</label>
          <input type="text" name="Child3" id="Child3" />
          <span class="textfieldRequiredMsg">A value is required.</span></span>
          <span id="spryselect4">
          <label for="Child3Age">Child's Age:</label>
          <select name="Child3Age" id="Child3Age">
            <option value="10">10</option>
            <option value="11">11</option>
            <option value="12">12</option>
            <option value="13">13</option>
            <option value="14">14</option>
            <option value="15">15</option>
          </select>
          <span class="selectRequiredMsg">Please select an item.</span></span>
        </div>
        <div>
          <span id="spryselect5">
          <label for="Type">Holiday Dates:</label>
          <select name="Type" id="Type" tabindex="12">
            <option value="Easter2week">2 Week Easter Holiday: April 2nd -  April 13th</option>
            <option value="April2nd1week">First Week: April 2nd - April 6th</option>
            <option value="April9th1week">Second Week: April 9th - April 13th</option>
            <option value="Easterspecial">Easter Special: 2 weeks</option>
          </select>
          <span class="selectRequiredMsg">Please select an item.</span></span>
              </div>
          <div id="Notes">
          <label for="Notes">Please use this area to let us know of any special requirements including medical and dietary needs that we may need to be aware of, if your child is applying with a friend please let us know here as well so we can try and make sure their on the same team: </label><br />
          <textarea name="Notes" id="Notes" cols="45" rows="5" tabindex="13"></textarea>
          </div>
          <input name="submit"  type="submit" id="submit" tabindex="14" value="Book Now" />
          </form>
          </div>
    FormMail.pl Code:
    #!/usr/bin/perl
    # FormMail                        Version 1.93                               #
    # Copyright 1995-2009 Matt Wright [email protected]                    #
    # Created 1995-06-09              Last Modified 2009-07-14                   #
    # Matt's Script Archive, Inc.:    http://www.scriptarchive.com/              #
    # COPYRIGHT NOTICE                                                           #
    # Copyright 1995-2009 Matthew M. Wright  All Rights Reserved.                #
    # FormMail may be used and modified free of charge by anyone so long as this #
    # copyright notice and the comments above remain intact.  By using this      #
    # code you agree to indemnify Matthew M. Wright from any liability that      #
    # might arise from its use.                                                  #
    # Selling the code for this program without prior written consent is         #
    # expressly forbidden.  In other words, please ask first before you try and  #
    # make money off of my program.                                              #
    # Obtain permission before redistributing this software over the Internet or #
    # in any other medium. In all cases copyright and header must remain intact. #
    # ACCESS CONTROL FIX: Peter D. Thompson Yezek                                #
    # XSS + REDIRECT FIX: Francesco Ongaro, Giovanni Pellerano & Antonio Parata  #
    #   v1.93             http://www.ush.it/team/ush/hack-formmail_192/adv.txt   #
    # Define Variables                                                           #
    #      Detailed Information Found In README File.                            #
    # $mailprog defines the location of your sendmail program on your unix       #
    # system. The flags -i and -t should be passed to sendmail in order to       #
    # have it ignore single dots on a line and to read message for recipients    #
    $mailprog = 'smtp.europe.secureserver.net -i -t';
    # @referers allows forms to be located only on servers which are defined     #
    # in this field.  This is a security fix to prevent others from using your   #
    # FormMail script on their web site.                                         #
    @referers = ('refuseboredom.com');
    # @recipients defines the e-mail addresses or domain names that e-mail can   #
    # be sent to.  This must be filled in correctly to prevent SPAM and allow    #
    # valid addresses to receive e-mail.  Read the documentation to find out how #
    # this variable works!!!  It is EXTREMELY IMPORTANT.                         #
    @recipients = ('^admin\@refuseboredom\.com');
    # ACCESS CONTROL FIX: Peter D. Thompson Yezek                                #
    # @valid_ENV allows the sysadmin to define what environment variables can    #
    # be reported via the env_report directive.  This was implemented to fix     #
    # the problem reported at http://www.securityfocus.com/bid/1187              #
    @valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');
    # Done                                                                       #
    # Check Referring URL
    &check_url;
    # Retrieve Date
    &get_date;
    # Parse Form Contents
    &parse_form;
    # Check Required Fields
    &check_required;
    # Send E-Mail
    &send_mail;
    # Return HTML Page or Redirect User
    &return_html;
    # NOTE rev1.91: This function is no longer intended to stop abuse, that      #
    #    functionality is now embedded in the checks made on @recipients and the #
    #    recipient form field.                                                   #
    sub check_url {
        # Localize the check_referer flag which determines if user is valid.     #
        local($check_referer) = 0;
        # If a referring URL was specified, for each valid referer, make sure    #
        # that a valid referring URL was passed to FormMail.                     #
        if ($ENV{'HTTP_REFERER'}) {
            foreach $referer (@referers) {
                if ($ENV{'HTTP_REFERER'} =~ m|https?://([^/]*)$referer|i) {
                    $check_referer = 1;
                    last;
        else {
            $check_referer = 1;
        # If the HTTP_REFERER was invalid, send back an error.                   #
        if ($check_referer != 1) { &error('bad_referer') }
    sub get_date {
        # Define arrays for the day of the week and month of the year.           #
        @days   = ('Sunday','Monday','Tuesday','Wednesday',
                   'Thursday','Friday','Saturday');
        @months = ('January','February','March','April','May','June','July',
                   'August','September','October','November','December');
        # Get the current time and format the hour, minutes and seconds.  Add    #
        # 1900 to the year to get the full 4 digit year.                         #
        ($sec,$min,$hour,$mday,$mon,$year,$wday) = (localtime(time))[0,1,2,3,4,5,6];
        $time = sprintf("%02d:%02d:%02d",$hour,$min,$sec);
        $year += 1900;
        # Format the date.                                                       #
        $date = "$days[$wday], $months[$mon] $mday, $year at $time";
    sub parse_form {
        # Define the configuration associative array.                            #
        %Config = ('recipient','',          'subject','',
                   'email','',              'realname','',
                   'redirect','',           'bgcolor','',
                   'background','',         'link_color','',
                   'vlink_color','',        'text_color','',
                   'alink_color','',        'title','',
                   'sort','',               'print_config','',
                   'required','',           'env_report','',
                   'return_link_title','',  'return_link_url','',
                   'print_blank_fields','', 'missing_fields_redirect','');
        # Determine the form's REQUEST_METHOD (GET or POST) and split the form   #
        # fields up into their name-value pairs.  If the REQUEST_METHOD was      #
        # not GET or POST, send an error.                                        #
        if ($ENV{'REQUEST_METHOD'} eq 'GET') {
            # Split the name-value pairs
            @pairs = split(/&/, $ENV{'QUERY_STRING'});
        elsif ($ENV{'REQUEST_METHOD'} eq 'POST') {
            # Get the input
            read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
            # Split the name-value pairs
            @pairs = split(/&/, $buffer);
        else {
            &error('request_method');
        # For each name-value pair:                                              #
        foreach $pair (@pairs) {
            # Split the pair up into individual variables.                       #
            local($name, $value) = split(/=/, $pair);
            # Decode the form encoding on the name and value variables.          #
            # v1.92: remove null bytes                                           #
            $name =~ tr/+/ /;
            $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
            $name =~ tr/\0//d;
            $value =~ tr/+/ /;
            $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
            $value =~ tr/\0//d;
            # If the field name has been specified in the %Config array, it will #
            # return a 1 for defined($Config{$name}}) and we should associate    #
            # this value with the appropriate configuration variable.  If this   #
            # is not a configuration form field, put it into the associative     #
            # array %Form, appending the value with a ', ' if there is already a #
            # value present.  We also save the order of the form fields in the   #
            # @Field_Order array so we can use this order for the generic sort.  #
            if (defined($Config{$name})) {
                $Config{$name} = $value;
            else {
                if ($Form{$name} ne '') {
                    $Form{$name} = "$Form{$name}, $value";
                else {
                    push(@Field_Order,$name);
                    $Form{$name} = $value;
        # The next six lines remove any extra spaces or new lines from the       #
        # configuration variables, which may have been caused if your editor     #
        # wraps lines after a certain length or if you used spaces between field #
        # names or environment variables.                                        #
        $Config{'required'} =~ s/(\s+|\n)?,(\s+|\n)?/,/g;
        $Config{'required'} =~ s/(\s+)?\n+(\s+)?//g;
        $Config{'env_report'} =~ s/(\s+|\n)?,(\s+|\n)?/,/g;
        $Config{'env_report'} =~ s/(\s+)?\n+(\s+)?//g;
        $Config{'print_config'} =~ s/(\s+|\n)?,(\s+|\n)?/,/g;
        $Config{'print_config'} =~ s/(\s+)?\n+(\s+)?//g;
        # Split the configuration variables into individual field names.         #
        @Required = split(/,/,$Config{'required'});
        @Env_Report = split(/,/,$Config{'env_report'});
        @Print_Config = split(/,/,$Config{'print_config'});
        # ACCESS CONTROL FIX: Only allow ENV variables in @valid_ENV in          #
        # @Env_Report for security reasons.                                      #
        foreach $env_item (@Env_Report) {
            foreach $valid_item (@valid_ENV) {
                if ( $env_item eq $valid_item ) { push(@temp_array, $env_item) }
        @Env_Report = @temp_array;
    sub check_required {
        # Localize the variables used in this subroutine.                        #
        local($require, @error);
        # The following insures that there were no newlines in any fields which  #
        # will be used in the header.                                            #
        if ($Config{'subject'} =~ /(\n|\r)/m || $Config{'email'} =~ /(\n|\r)/m ||
            $Config{'realname'} =~ /(\n|\r)/m || $Config{'recipient'} =~ /(\n|\r)/m) {
            &error('invalid_headers');
        # Fix XSS + HTTP Header Injection for v1.93
        foreach $lfield ('redirect', 'return_link_url') {
            # Strip new lines
            $Config{$lfield} =~ s/(\n|\r)//mg;
            # Only allow certain handlers to avoid javascript:/data: tricks
            if ($Config{$lfield} !~ /^\s*\// &&
                $Config{$lfield} !~ /^\s*(http|https|ftp):\/\//) {
                $Config{$lfield} = '';
        if (!$Config{'recipient'}) {
            if (!defined(%Form)) { &error('bad_referer') }
            else                 { &error('no_recipient') }
        else {
            # This block of code requires that the recipient address end with    #
            # a valid domain or e-mail address as defined in @recipients.        #
            foreach $send_to (split(/,/,$Config{'recipient'})) {
                foreach $recipient (@recipients) {
                    if ($send_to =~ /$recipient$/i) {
                        push(@send_to,$send_to); last;
            if ($#send_to < 0) { &error('no_recipient') }
            $Config{'recipient'} = join(',',@send_to);
        # For each require field defined in the form:                            #
        foreach $require (@Required) {
            # If the required field is the email field, the syntax of the email  #
            # address if checked to make sure it passes a valid syntax.          #
            if ($require eq 'email' && !&check_email($Config{$require})) {
                push(@error,$require);
            # Otherwise, if the required field is a configuration field and it   #
            # has no value or has been filled in with a space, send an error.    #
            elsif (defined($Config{$require})) {
                if ($Config{$require} eq '') { push(@error,$require); }
            # If it is a regular form field which has not been filled in or      #
            # filled in with a space, flag it as an error field.                 #
            elsif (!defined($Form{$require}) || $Form{$require} eq '') {
                push(@error,$require);
        # If any error fields have been found, send error message to the user.   #
        if (@error) { &error('missing_fields', @error) }
    sub return_html {
        # Local variables used in this subroutine initialized.                   #
        local($key,$sort_order,$sorted_field);
        # Now that we have finished using form values for any e-mail related     #
        # reasons, we will convert all of the form fields and config values      #
        # to remove any cross-site scripting security holes.                     #
        local($field);
        foreach $field (keys %Config) {
            $safeConfig{$field} = &clean_html($Config{$field});
        foreach $field (keys %Form) {
            $Form{$field} = &clean_html($Form{$field});
        # If redirect option is used, print the redirectional location header.   #
        if ($Config{'redirect'}) {
            print "Location: $safeConfig{'redirect'}\n\n";
        # Otherwise, begin printing the response page.                           #
        else {
            # Print HTTP header and opening HTML tags.                           #
            print "Content-type: text/html\n\n";
            print "<html>\n <head>\n";
            # Print out title of page                                            #
            if ($Config{'title'}) { print "<title>$safeConfig{'title'}</title>\n" }
            else                  { print "<title>Thank You</title>\n"        }
            print " </head>\n <body";
            # Get Body Tag Attributes                                            #
            &body_attributes;
            # Close Body Tag                                                     #
            print ">\n  <center>\n";
            # Print custom or generic title.                                     #
            if ($Config{'title'}) { print "<h1>$safeConfig{'title'}</h1>\n" }
            else { print "<h1>Thank You For Filling Out This Form</h1>\n" }
            print "</center>\n";
            print "Below is what you submitted to $safeConfig{'recipient'} on ";
            print "$date<p><hr size=1 width=75\%><p>\n";
            # If a sort order is specified, sort the form fields based on that.  #
            if ($Config{'sort'} =~ /^order:.*,.*/) {
                # Set the temporary $sort_order variable to the sorting order,   #
                # remove extraneous line breaks and spaces, remove the order:    #
                # directive and split the sort fields into an array.             #
                $sort_order = $Config{'sort'};
                $sort_order =~ s/(\s+|\n)?,(\s+|\n)?/,/g;
                $sort_order =~ s/(\s+)?\n+(\s+)?//g;
                $sort_order =~ s/order://;
                @sorted_fields = split(/,/, $sort_order);
                # For each sorted field, if it has a value or the print blank    #
                # fields option is turned on print the form field and value.     #
                foreach $sorted_field (@sorted_fields) {
                    local $sfname = &clean_html($sorted_field);
                    if ($Config{'print_blank_fields'} || $Form{$sorted_field} ne '') {
                        print "<b>$sfname:</b> $Form{$sorted_field}<p>\n";
            # Otherwise, use the order the fields were sent, or alphabetic.      #
            else {
                # Sort alphabetically if requested.
                if ($Config{'sort'} eq 'alphabetic') {
                    @Field_Order = sort @Field_Order;
                # For each form field, if it has a value or the print blank      #
                # fields option is turned on print the form field and value.     #
                foreach $field (@Field_Order) {
                    local $fname = &clean_html($field);
                    if ($Config{'print_blank_fields'} || $Form{$field} ne '') {
                        print "<b>$fname:</b> $Form{$field}<p>\n";
            print "<p><hr size=1 width=75%><p>\n";
            # Check for a Return Link and print one if found.                    #
            if ($Config{'return_link_url'} && $Config{'return_link_title'}) {
                print "<ul>\n";
                print "<li><a href=\"$safeConfig{'return_link_url'}\">$safeConfig{'return_link_title'}</a>\n";
                print "</ul>\n";
            # Print the page footer.                                             #
            print <<"(END HTML FOOTER)";
            <hr size=1 width=75%><p>
            <center><font size=-1><a href="http://www.scriptarchive.com/formmail.html">FormMail</a> V1.93 &copy; 1995 - 2009  Matt Wright<br>
    A Free Product of <a href="http://www.scriptarchive.com/">Matt's Script Archive, Inc.</a></font></center>
            </body>
           </html>
    (END HTML FOOTER)
    sub send_mail {
        # Localize variables used in this subroutine.                            #
        local($print_config,$key,$sort_order,$sorted_field,$env_report);
        # Open The Mail Program
        open(MAIL,"|$mailprog");
        print MAIL "To: $Config{'recipient'}\n";
        print MAIL "From: $Config{'email'} ($Config{'realname'})\n";
        # Check for Message Subject
        if ($Config{'subject'}) { print MAIL "Subject: $Config{'subject'}\n\n" }
        else                    { print MAIL "Subject: WWW Form Submission\n\n" }
        print MAIL "Below is the result of your feedback form.  It was submitted by\n";
        print MAIL "$Config{'realname'} ($Config{'email'}) on $date\n";
        print MAIL "-" x 75 . "\n\n";
        if (@Print_Config) {
            foreach $print_config (@Print_Config) {
                if ($Config{$print_config}) {
                    print MAIL "$print_config: $Config{$print_config}\n\n";
        # If a sort order is specified, sort the form fields based on that.      #
        if ($Config{'sort'} =~ /^order:.*,.*/) {
            # Remove extraneous line breaks and spaces, remove the order:        #
            # directive and split the sort fields into an array.                 #
            local $sort_order = $Config{'sort'};
            $sort_order =~ s/(\s+|\n)?,(\s+|\n)?/,/g;
            $sort_order =~ s/(\s+)?\n+(\s+)?//g;
            $sort_order =~ s/order://;
            @sorted_fields = split(/,/, $sort_order);
            # For each sorted field, if it has a value or the print blank        #
            # fields option is turned on print the form field and value.         #
            foreach $sorted_field (@sorted_fields) {
                if ($Config{'print_blank_fields'} || $Form{$sorted_field} ne '') {
                    print MAIL "$sorted_field: $Form{$sorted_field}\n\n";
        # Otherwise, print fields in order they were sent or alphabetically.     #
        else {
            # Sort alphabetically if specified:                                  #
            if ($Config{'sort'} eq 'alphabetic') {
                @Field_Order = sort @Field_Order;
            # For each form field, if it has a value or the print blank          #
            # fields option is turned on print the form field and value.         #
            foreach $field (@Field_Order) {
                if ($Config{'print_blank_fields'} || $Form{$field} ne '') {
                    print MAIL "$field: $Form{$field}\n\n";
        print MAIL "-" x 75 . "\n\n";
        # Send any specified Environment Variables to recipient.                 #
        foreach $env_report (@Env_Report) {
            if ($ENV{$env_report}) {
                print MAIL "$env_report: $ENV{$env_report}\n";
        close (MAIL);
    sub check_email {
        # Initialize local email variable with input to subroutine.              #
        $email = $_[0];
        # If the e-mail address contains:                                        #
        if ($email =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/ ||
            # the e-mail address contains an invalid syntax.  Or, if the         #
            # syntax does not match the following regular expression pattern     #
            # it fails basic syntax verification.                                #
            $email !~ /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z0-9]+)(\]?)$/) {
            # Basic syntax requires:  one or more characters before the @ sign,  #
            # followed by an optional '[', then any number of letters, numbers,  #
            # dashes or periods (valid domain/IP characters) ending in a period  #
            # and then 2 or 3 letters (for domain suffixes) or 1 to 3 numbers    #
            # (for IP addresses).  An ending bracket is also allowed as it is    #
            # valid syntax to have an email address like: user@[255.255.255.0]   #
            # Return a false value, since the e-mail address did not pass valid  #
            # syntax.                                                            #
            return 0;
        else {
            # Return a true value, e-mail verification passed.                   #
            return 1;
    # This was added into v1.91 to further secure the recipients array.  Now, by #
    # default it will assume that valid recipients include only users with       #
    # usernames A-Z, a-z, 0-9, _ and - that match your domain exactly.  If this  #
    # is not what you want, you should read more detailed instructions regarding #
    # the configuration of the @recipients variable in the documentation.        #
    sub fill_recipients {
        local(@domains) = @_;
        local($domain,@return_recips);
        foreach $domain (@domains) {
            if ($domain =~ /^\d+\.\d+\.\d+\.\d+$/) {
                $domain =~ s/\./\\\./g;
                push(@return_recips,'^[\w\-\.]+\@\[' . $domain . '\]');
            else {
                $domain =~ s/\./\\\./g;
                $domain =~ s/\-/\\\-/g;
                push(@return_recips,'^[\w\-\.]+\@' . $domain);
        return @return_recips;
    # This function will convert <, >, & and " to their HTML equivalents.        #
    sub clean_html {
        local $value = $_[0];
        $value =~ s/\&/\&amp;/g;
        $value =~ s/</\&lt;/g;
        $value =~ s/>/\&gt;/g;
        $value =~ s/"/\&quot;/g;
        return $value;
    sub body_attributes {
        # Check for Background Color
        if ($Config{'bgcolor'}) { print " bgcolor=\"$safeConfig{'bgcolor'}\"" }
        # Check for Background Image
        if ($Config{'background'}) { print " background=\"$safeConfig{'background'}\"" }
        # Check for Link Color
        if ($Config{'link_color'}) { print " link=\"$safeConfig{'link_color'}\"" }
        # Check for Visited Link Color
        if ($Config{'vlink_color'}) { print " vlink=\"$safeConfig{'vlink_color'}\"" }
        # Check for Active Link Color
        if ($Config{'alink_color'}) { print " alink=\"$safeConfig{'alink_color'}\"" }
        # Check for Body Text Color
        if ($Config{'text_color'}) { print " text=\"$safeConfig{'text_color'}\"" }
    sub error {
        # Localize variables and assign subroutine input.                        #
        local($error,@error_fields) = @_;
        local($host,$missing_field,$missing_field_list);
        if ($error eq 'bad_referer') {
            if ($ENV{'HTTP_REFERER'} =~ m|^https?://([\w\.]+)|i) {
                $host = $1;
                my $referer = &clean_html($ENV{'HTTP_REFERER'});
                print <<"(END ERROR HTML)";
    Content-type: text/html
    <html>
    <head>
      <title>Bad Referrer - Access Denied</title>
    </head>
    <body bgcolor=#FFFFFF text=#000000>
      <center>
       <table border=0 width=600 bgcolor=#9C9C9C>
        <tr><th><font size=+2>Bad Referrer - Access Denied</font></th></tr>
       </table>
       <table border=0 width=600 bgcolor=#CFCFCF>
        <tr><td>The form attempting to use
         <a href="http://www.scriptarchive.com/formmail.html">FormMail</a>
         resides at <tt>$referer</tt>, which is not allowed to access
         this cgi script.<p>
         If you are attempting to configure FormMail to run with this form, you need
         to add the following to \@referers, explained in detail in the
         <a href="http://www.scriptarchive.com/readme/formmail.html">README</a> file.<p>
         Add <tt>'$host'</tt> to your <tt><b>\@referers</b></tt> array.<hr size=1>
         <center><font size=-1>
          <a href="http://www.scriptarchive.com/formmail.html">FormMail</a> V1.93 &copy; 1995 - 2009  Matt Wright<br>
          A Free Product of <a href="http://www.scriptarchive.com/">Matt's Script Archive, Inc.</a>
         </font></center>
        </td></tr>
       </table>
      </center>
    </body>
    </html>
    (END ERROR HTML)
            else {
                print <<"(END ERROR HTML)";
    Content-type: text/html
    <html>
    <head>
      <title>FormMail v1.93</title>
    </head>
    <body bgcolor=#FFFFFF text=#000000>
      <center>
       <table border=0 width=600 bgcolor=#9C9C9C>
        <tr><th><font size=+2>FormMail</font></th></tr>
       </table>
       <table border=0 width=600 bgcolor=#CFCFCF>
        <tr><th><tt><font size=+1>Copyright 1995 - 2009 Matt Wright<br>
            Version 1.93 - Released June 25, 2009<br>
            A Free Product of <a href="http://www.scriptarchive.com/">Matt's Script Archive,
            Inc.</a></font></tt></th></tr>
       </table>
      </center>
    </body>
    </html>
    (END ERROR HTML)
        elsif ($error eq 'request_method') {
                print <<"(END ERROR HTML)";
    Content-type: text/html
    <html>
    <head>
      <title>Error: Request Method</title>
    </head>
    <body bgcolor=#FFFFFF text=#000000>
      <center>
       <table border=0 width=600 bgcolor=#9C9C9C>
        <tr><th><font size=+2>Error: Request Method</font></th></tr>
       </table>
       <table border=0 width=600 bgcolor=#CFCFCF>
        <tr><td>The Request Method of the Form you submitted did not match
         either <tt>GET</tt> or <tt>POST</tt>.  Please check the form and make sure the
         <tt>method=</tt> statement is in upper case and matches <tt>GET</tt> or <tt>POST</tt>.<p>
         <center><font size=-1>
          <a href="http://www.scriptarchive.com/formmail.html">FormMail</a> V1.93 &copy; 1995 - 2009  Matt Wright<br>
          A Free Product of <a href="http://www.scriptarchive.com/">Matt's Script Archive, Inc.</a>
         </font></center>
        </td></tr>
       </table>
      </center>
    </body>
    </html>
    (END ERROR HTML)
        elsif ($error eq 'no_recipient') {
                print <<"(END ERROR HTML)";
    Content-type: text/html
    <html>
    <head>
      <title>Error: Bad/No Recipient</title>
    </head>
    <body bgcolor=#FFFFFF text=#000000>
      <center>
       <table border=0 width=600 bgcolor=#9C9C9C>
        <tr><th><font size=+2>Error: Bad/No Recipient</font></th></tr>
       </table>
       <table border=0 width=600 bgcolor=#CFCFCF>
        <tr><td>There was no recipient or an invalid recipient specified in the data sent to FormMail.  Please
         make sure you have filled in the <tt>recipient</tt> form field with an e-mail
         address that has been configured in <tt>\@recipients</tt>.  More information on filling in <tt>recipient</tt> form fields and variables can be
         found in the <a href="http://www.scriptarchive.com/readme/formmail.html">README</a> file.<hr size=1>
         <center><font size=-1>
          <a href="http://www.scriptarchive.com/formmail.html">FormMail</a> V1.93 &copy; 1995 - 2009  Matt Wright<br>
          A Free Product of <a href="http://www.scriptarchive.com/">Matt's Script Archive, Inc.</a>
         </font></center>
        </td></tr>
       </table>
      </center>
    </body>
    </html>
    (END ERROR HTML)
        elsif ($error eq 'invalid_headers') {
                print <<"(END ERROR HTML)";
    Content-type: text/html
    <html>
    <head>
      <title>Error: Bad Header Fields</title>
    </head>
    <body bgcolor=#FFFFFF text=#000000>
      <center>
       <table border=0 width=600 bgcolor=#9C9C9C>
        <tr><th><font size=+2>Error: Bad Header Fields</font></th></tr>
       </table>
       <table border=0 width=600 bgcolor=#CFCFCF>
        <tr><td>The header fields, which include <tt>recipient</tt>, <tt>email</tt>, <tt>realname</tt> and <tt>subject</tt> were
         filled in with invalid values. You may not include any newline characters in these parameters.
         More information on filling in these form fields and variables can be
         found in the <a href="http://www.scriptarchive.com/readme/formmail.html">README</a> file.<hr size=1>
         <center><font size=-1>
          <a href="http://www.scriptarchive.com/formmail.html">FormMail</a> V1.93 &copy; 1995 - 2009  Matt Wright<br>
          A Free Product of <a href="http://www.scriptarchive.com/">Matt's Script Archive, Inc.</a>
         </font></center>
        </td></tr>
       </table>
      </center>
    </body>
    </html>
    (END ERROR HTML)
        elsif ($error eq 'missing_fields') {
            if ($Config{'missing_fields_redirect'}) {
                print "Location: " . &clean_html($Config{'missing_fields_redirect'}) . "\n\n";
            else {
                foreach $missing_field (@error_fields) {
                    $missing_field_list .= "<li>" . &clean_html($missing_field) . "\n";
                print <<"(END ERROR HTML)";
    Content-type: text/html
    <html>
    <head>
      <title>Error: Blank Fields</title>
    </head>
      <center>
       <table border=0 width=600 bgcolor=#9C9C9C>
        <tr><th><font size=+2>Error: Blank Fields</font></th></tr>
       </table>
       <table border=0 width=600 bgcolor=#CFCFCF>
        <tr><td>The following fields were left blank in your submission form:<p>
         <ul>
    $missing_field_list
         </ul><br>
         These fields must be filled in before you can successfully submit the form.<p>
         Please use your browser's back button to return to the form and try again.<hr size=1>
         <center><font size=-1>
          <a href="http://www.scriptarchive.com/formmail.html">FormMail</a> V1.93 &copy; 1995 - 2009  Matt Wright<br>
          A Free Product of <a href="http://www.scriptarchive.com/">Matt's Script Archive, Inc.</a>
         </font></center>
        </td></tr>
       </table>
      </center>
    </body>
    </html>
    (END ERROR HTML)
        exit;

    I haven't used  Matt Wright's scripts in this century, but I'm pretty sure that Perl still needs to go into your CGI bin and the permissions level (chmod) must be set to 755 or possibly 777 for the script to read, write & execute.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Help with making an Email Submit button on a form!

    Im making a form using livecycle for the first time.
    Im trying to put on it a email submit button - i used email submit field and made the button. Then in the Objects Palette, in the box that says email address i put in the email address that i want it to be sent to. I then tried to email the form, and i received an email, but the attachment was just a bunch of codes, not the form. I want the email to come through with the PDF form.
    I searched on help and this is what i found:
    3.
    In the Control Type area, select Submit. Data will be submitted according to the settings in the Submit tab.
    4.
    Click the Submit tab and type the URL protocol in the Submit to URL box.
    To
    Use this URL protocol
    Example
    Submit the package to an ftp site
    ftp
    ftp://ftp.gnu.org/gnu/GPL
    Submit the package to a web server
    http
    http://myserver/cgi-bin/
    Submit the package to a secure web server
    https
    https://myserver/cgi-bin/
    Submit the package to an email address
    mailto
    mailto:[email protected]
    5.
    Select PDF from the Submit As list.
    I cant find where to change these options - can someone help?
    Thanks!

    Hi,
    The issue is that if the form is not Reader Enabled, then users with Reader cannot submit the form as a PDF.
    They can submit it as an XML file and then you would re-import this back into the form on receipt. It is an extra step, but it does have the advantage that the data being submitted as an XML file is very small.
    If you really need/want the form to be submitted as a PDF AND your users have Reader, then the form will have to be Reader Enabled.
    There are two options:
    Reader Enable using Acrobat Standard (version 9) or Acrobat Professional (version 8). This will give certain rights, like the ability for users with Reader to save the form and for the form to be submitted as a PDF. However there are licensing restrictions, see EULA.
    The other option is to Reader Enable the form using LiveCycle Reader Extensions ES2. This is a server product, which entails additional cost and a cost to Reader Enable each form. It is intended for processing large volumes of forms/large volumes of data.
    There is a summary here:
    http://assure.ly/gYyYc2
    So there are a couple of options.
    Form NOT Reader Enabled:
    Users cannot save the data they input.
    Data must be submitted as an XML file and processed on receipt.
    Form IS Reader Enabled:
    Users can save the data they input.
    Data can be submitted as a PDF (or XML file).
    Hope that helps,
    Niall
    Assure Dynamics

  • FTP bursting is not working for a particular server

    Hi All,
    I am using BIP 10.1.3.4
    I have a strange problem
    In my company there are 2 environment
    development and production
    I have configured a FTP location in both the environment.But the report ftp bursting is working but in Production it is not working.
    Is there any other way of checking settings.
    Please suggest.
    Thanks

    Hi All,
    I enabled the logging in BI publisher and found the following error in log file.
    Can you please suggest
    [120711_182041240][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Courier closed.
    [120711_182042353][oracle.apps.xdo.template.rtf.FOTemplate][STATEMENT] xsl1.0-compatibility is set to false in configuration ,xdk11g wrapper is off
    [120711_182043190][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [120711_182043190][][STATEMENT] Logger.init(): LogDir=/applic/oracle/product/10.1.3/OracleAS_BIP_1/xmldebug
    [120711_182043190][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor constructor is called.
    [120711_182044031][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor has been initialized without default config.
    [120711_182044032][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setLocale is called with 'en-AU'.
    [120711_182044032][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setTemplate(String) is called with '/applic/oracle/product/10.1.3/OracleAS_BI
    P_1/j2ee/home/applications/xmlpserver/xmlpserver/xdo/tmp//120711_182028372/xdo2.tmp'.
    [120711_182044034][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setData(String) is called with '/applic/oracle/product/10.1.3/OracleAS_BIP_1/
    j2ee/home/applications/xmlpserver/xmlpserver/xdo/tmp//120711_182028372/xdo0.tmp'.
    [120711_182044056][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutput(String)is called with '/applic/oracle/product/10.1.3/OracleAS_BIP_1
    /j2ee/home/applications/xmlpserver/xmlpserver/xdo/tmp//120711_182028372/xmlp17031tmp_85900001_1.xls'.
    [120711_182044057][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutputFormat(byte)is called with ID=4.
    [120711_182046652][oracle.apps.xdo.template.FOProcessor][STATEMENT] Start Memory: max=989MB, total=495MB, free=448MB
    [120711_182046652][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.generate() called.
    [120711_182046653][oracle.apps.xdo.template.FOProcessor][STATEMENT] Log file 'xdo_120711_182046653_fo_out_ab1f6.out' is created.
    [120711_182046654][oracle.apps.xdo.template.FOProcessor][STATEMENT] Log file 'xdo_120711_182046653_fo_data_1_.xml' is created.
    [120711_182046998][oracle.apps.xdo.template.FOProcessor][STATEMENT] Log file 'xdo_120711_182046653_fo_data_1_.xsl' is created.
    [120711_182047052][oracle.apps.xdo.template.FOProcessor][STATEMENT] createFO(Object, Object) is called.
    [120711_182047156][][STATEMENT] WARNING: Found undetermined AttrKey: style-name
    [120711_182052743][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Oracle XML Developers Kit 10.1.0.5.0 - Production
    [120711_182052746][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Scalable Feature Disabled
    [120711_182058312][][ERROR] Invalid XSD string: 23-Jul-2011
    [120711_182058313][][ERROR] Invalid XSD string: 30-Nov-2031
    [120711_182058315][][ERROR] Invalid XSD string: 23-Jul-2011
    [120711_182058316][][ERROR] Invalid XSD string: 30-Nov-2031
    [120711_182058318][][ERROR] Invalid XSD string: 23-Jul-2011
    [120711_182058319][][ERROR] Invalid XSD string: 30-Nov-2031
    [120711_182058321][][ERROR] Invalid XSD string: 23-Jul-2011
    [120711_182058321][][ERROR] Invalid XSD string: 30-Nov-2031
    [120711_182058323][][ERROR] Invalid XSD string: 23-Jul-2011
    [120711_182058323][][ERROR] Invalid XSD string: 30-Nov-2031
    [120711_182058325][][ERROR] Invalid XSD string: 23-Jul-2011
    [120711_182221400][][ERROR] Invalid XSD string: 25-Sep-2011
    [120711_182221401][][ERROR] Invalid XSD string: 27-Nov-2011
    [120711_182221401][][ERROR] Invalid XSD string: 28-Aug-2011
    [120711_182221402][][ERROR] Invalid XSD string: 31-Jul-2011
    [120711_182221490][oracle.apps.xdo.template.FOProcessor][STATEMENT] Log file 'xdo_120711_182216594_fo_fo_1_.fo' is created.
    [120711_182221514][][PROCEDURE] XSL-T time used: 4730 msecs
    [120711_182221514][oracle.apps.xdo.template.FOProcessor][STATEMENT] Calling FOProcessingEngine.process()
    [120711_182221514][][STATEMENT] Using optimized xslt
    [120711_182221518][][STATEMENT] Temporary file created: /var/tmp/xdo8wXFrbYzan17047.tmp
    [120711_182221518][][STATEMENT] [ HTML GENERATOR ]---------------------------------------------
    [120711_182221518][][STATEMENT] XDO version = Oracle BI Publisher 10.1.3.4.1
    [120711_182221518][][STATEMENT] java.home = /applic/oracle/product/10.1.3/OracleAS_BIP_1/jdk/jre
    [120711_182221519][][STATEMENT] XDO_TOP = null
    [120711_182221519][][STATEMENT] Config Path = null
    [120711_182221519][][STATEMENT] Debug Cfg Path= /applic/oracle/product/10.1.3/OracleAS_BIP_1/jdk/jre/lib/xdodebug.cfg
    [120711_182221519][][STATEMENT] Font dir = /applic/oracle/product/10.1.3/OracleAS_BIP_1/jdk/jre/lib/fonts/
    [120711_182221519][][STATEMENT] Locale = en-AU
    [120711_182221520][][STATEMENT] [ HTML GENERATOR PROPERTIES ]----------------------------------
    [120711_182221520][][STATEMENT] fo-image-handling-ver=5.5
    [120711_182221520][][STATEMENT] html-css-base-uri=
    [120711_182221521][][STATEMENT] html-css-dir=null(not set)
    [120711_182221521][][STATEMENT] html-css-embedding=embed-to-header
    [120711_182221521][][STATEMENT] html-image-base-uri=
    [120711_182221521][][STATEMENT] html-image-dir=/applic/oracle/product/10.1.3/OracleAS_BIP_1/j2ee/home/applications/xmlpserver/xmlpserver/xdo/tmp/120711_18202
    8372
    [120711_182221521][][STATEMENT] html-output-body-only=false
    [120711_182221522][][STATEMENT] html-output-charset=UTF-8
    [120711_182221522][][STATEMENT] html-output-width-in-percentage=false
    [120711_182221522][][STATEMENT] html-outputtype=pseudo-excel
    [120711_182221522][][STATEMENT] html-replace-smartquotes=true
    [120711_182221522][][STATEMENT] html-show-footer=true
    [120711_182221523][][STATEMENT] html-show-header=true
    [120711_182221523][][STATEMENT] html-suppressed-line-height=false
    [120711_182221523][][STATEMENT] make-accessible=false
    [120711_182221523][][STATEMENT] system-temp-dir=/var/tmp/
    [120711_182221523][][STATEMENT] ------------------------------------------------------
    [120711_182222050][][STATEMENT] Rendering page [1]
    [120711_182222117][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
    [120711_182226564][][STATEMENT] Phase2 time used: 4514ms
    [120711_182227573][][STATEMENT] Continue rendering page [1]
    [120711_182231893][][PROCEDURE] FO+Gen time used: 10378 msecs
    [120711_182231893][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [120711_182231894][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [120711_182231894][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=989MB, total=495MB, free=36MB
    [120711_182231927][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] initConfig(): loading default properties :{}
    [120711_182231928][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): called with request type :ftp
    [120711_182231928][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): exiting
    [120711_182231930][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] java.lang.NullPointerException
    at oracle.apps.xdo.batch.DeliveryHelper.getFtpDeliveryRequest(Unknown Source)
    at oracle.apps.xdo.batch.DeliveryHelper.addRequest(Unknown Source)
    at oracle.apps.xdo.batch.bursting.DocumentDelivery.addDeliveryRequest(Unknown Source)
    at oracle.apps.xdo.batch.bursting.DocumentDelivery.submitEnterpriseDeliveryRequest(Unknown Source)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(Unknown Source)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(Unknown Source)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.endDocument(Unknown Source)
    at oracle.xml.parser.v2.XMLContentHandler.endDocument(XMLContentHandler.java:119)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:311)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:263)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(Unknown Source)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.process(Unknown Source)
    at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:2055)
    at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:371)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    [120711_182231930][oracle.apps.xdo.delivery.ftp.FTPDeliveryRequest][STATEMENT] submit(): Called
    [120711_182231931][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] oracle.apps.xdo.delivery.DeliveryException: Document file or input stream is not set.
    at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(Unknown Source)
    at oracle.apps.xdo.batch.DeliveryHelper.submitRequests(Unknown Source)
    at oracle.apps.xdo.batch.bursting.DocumentDelivery.submitEnterpriseDeliveryRequest(Unknown Source)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(Unknown Source)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(Unknown Source)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.endDocument(Unknown Source)
    at oracle.xml.parser.v2.XMLContentHandler.endDocument(XMLContentHandler.java:119)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:311)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:263)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(Unknown Source)
    at oracle.apps.xdo.batch.BurstingProcessorEngine.process(Unknown Source)
    at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:2055)
    at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:371)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    [120711_182231933][][STATEMENT] Default write connection pool max:20, min:10, total:10, available:8
    [120711_182232025][][STATEMENT] ToplinkDataHandler.terminateSession() : releasing the session.
    [120711_182232027][][STATEMENT] /applic/oracle/product/10.1.3/OracleAS_BIP_1/j2ee/home/applications/xmlpserver/xmlpserver/xdo/tmp//120711_182028372 deleted s
    uccessfully...
    [120711_182232028][][STATEMENT] [ID:11401] Time elapsed for bursting : 136107, time from beggining : 136215
    [120711_182232028][][STATEMENT] [ID:11401] Time elapsed for notification : 0, time from beggining : 136215
    [120711_182232029][oracle.apps.xdo.servlet.scheduler.XDOJob][STATEMENT] [ID:11401] Scheduler finished the job. Exiting...
    Thanks & Regards

  • FTP as remote destination not uploading - why?

    Problem:
    I can't get the Remote FTP destination to work in Compressor 3.1 - anyone able to help?
    Details...
    If I submit a job with a FTP destination, the job creates the compressed file but does not upload to the FTP location. Each and every time when I view the Batch Monitor it shows 'error' and tells me...
    Status: Failed - Failed to upload to ftp://users:••••••@mydomain.com/home/mydomain/public_html/downloads/-29-10-2007. m4v, encoded file is in: /var/tmp/1E668CBD-50D2-4019-AAD1-1CB58C3CE0A7-local--29-10-2007.m4v
    I have tried entering the 'standard' path (usual root address) for the remote destination e.g. /downloads and also the full server path e.g. /home/mydomain/public_html/downloads and it doesn't work with either.
    I use the same settings in an FTP program and it works fine. Not with Compressor. *Anyone know why?*

    Yes, I have checked it. Its ok.
    And if I run this program in foreground it is working fine and posting a file in the FTP remote server.
    I would like to explain the logic which I have used here.
    I pick the data from my program logic and place the data in the application server.
    Now I will pick this file and send it to the remote FTP server.
    This process is working when i do it in foreground.
    But failing in background job.
    My file till application server is ok.
    Regards
    Sunil

  • I can't submit (button is gray)

    Everything is all right, (I think) Settings destination, targets, ... But I simply can not submit.

    Hi there,
    My first post. I had the same problem - when I clicked on submit in Compressor the drop down box appeared and in the Cluster box it said "none" and the submit button was greyed out. I've fixed mine and it works perfectly now. Here's how:
    Go to System Preferences and select Sharing. A box appears with your computer's name at the top and a list of things you can share. Select File Sharing and to the right, it will say something like: FTP Access:On with a message underneath which contains your computer's IP address e.g 10.6.4.3. Make a note of this number.
    Open Compressor and go to Compressor > Preferences. The Preferences Dialogue Box appears and at the bottom it says: Enter IP addresses or ranges for manually selected computers. Click on the + button at bottom left and then enter your computer's name and the IP address you noted earlier. Online will probably appear under status.
    Next time you start a job in Compressor and click on submit the drop down box will now say This computer in the Cluster box and the submit button will no longer be greyed out - BINGO
    this is what I did and it worked for me. Good luck.
    Fingers Lee

  • FTP, Completed Abnormally and Email notifications

    We currently have our email notifications set to email us for when all jobs complete abnormal which works perfectly.  I am having trouble with this one group of jobs that is supposed to run every 2 hours.  It starts with an Put FTP job and sometimes there is a file and sometimes there is not.  A user puts files out there when needed.  When there is no file it a completes abnormally.  There are about 8 jobs out there so we end up getting bombarded with emails and no one will pay attention if we leave it like this.  I know we can change the complete abnormal by having it scan output but then the next job which does a copy kicks off. If there is no file out there that one would then fail and send email and then the delete would fail and so on.  I have tried setting up a file dependency but had issues with the delete because it was saying it was still being used.  I just don't know if someone has had a work around or any ideas on how to make this work for us.  We don't want to get 25 emails a day and file dependency is just not working for this group.  Any ideas?

    Here is the way I set up some of my groups: I have 1 job that is scheduled and checks if a file exists; if the file exists, it will trigger, on normal completion, a group (which is not scheduled). If the file does not exist, it will complete abnormally and it will not trigger anything because I don't see why I should have a group scheduled to run if there is a possibility that a file might not be present. So on your job you can set up 2 kinds of events: one, completed abnormally if the file is not found - I normally set the status to Skipped when that happens and here you can set up an email notification; two, completed normally then submit your group.

  • Base filtering engine is preventing FTP uploads

    Using win 8.1. Ftp uploads (from any ftp program, filezilla, winscp and with knowhow cloud backup) stalls after 2-3 files have been uploaded.  A single large file will upload but not multiple small files. If I boot into windows safe mode the problem
    does not occur, ftp works fine, always.  In normal mode by eliminating one running component at a time I found that the base filtering engine appeared to be the only problem.  If base filtering was running the ftp problem occurred, if not then ftp
    was fine.
    Can one repair or replace the base filtering engine?.    I found this as it relates to win 7
    FROM ONE OF YOUR OTHER THREADS:
    you may download and apply the BFE service registry fix (#11) in this page: Miscellaneous Registry Fixes for Windows 7/XP/Vista - The Winhelponline Blog: LINK REMOVED (could not submit, Body text cannot contain images or links until we are able to verify
    your account.)
    Is that applicable for this problem in win 8.1?
    I do understand the BFE is an important security issue.  I have also scanned my system for viruses, I use defender (computer associates) anti virus and firewall, and spybot for malware.  I can't specifically pinpoint the occurrence of the problem with
    the installation of any specific new software program.  I have disabled the defender  firewall and virus software and that does not solve the problem. Disabling base filtering engine results in a functioning ftp, enabling results in
    a stalled ftp.
    Any help would be appreciated.

    Try this suggestion
    http://social.technet.microsoft.com/Forums/en-US/d8e59632-fca9-4bbd-b748-881af144706a/access-denied-base-filter-engine?forum=winservergen
    1. Browse to the location for the BFE service in the registry (HKLM\System\CurrentControlSet\Services\BFE\Parameters\Policy), right click and select permissions.
    2. In the "Permissions for Policy" window, click advanced | Add.
    3. Once the "Select Users, Computers or Group" box appears, change the "From this location:" to point to the local machine name.
    4. After changing the search location, enter "NT Service\BFE" in the "Enter the object name to select" box and click "Check names" - this will allow you to add the BFE account.
    5. Give the following privileges to the BFE account:
    Query Value
    Set Value
    Create Subkey
    Enumerate Subkeys
    Notify
    Read Control
    After adding the BFE account to the registry key, please try to start the Base Filtering Engine service.

  • WeDAV Replaces FTP, but in HTTP?

    My students present endless problems with FTP, principally because they use so many different clients. They are required to upload video files that are often 100MB in size, but also to maintain their own websites as Web users.
    Apple suggests Goliath as a solution, but Goliath allows users only to create new folders, not to copy or move folders or files. How does iDisk achieve this? It using pure WebDAV. And how does Dreamweaver achieve this? It renames and moves files over WebDAV, as far as I can tell.
    I would like to offer students the option to do all of this through a Web interface instead of Connect to Server…. But, as you know, there are issues with this. First, from the OS X Server manual:
    "Write operations cannot be performed by a web browser."
    So is a Web interface to move, copy and rename files a pipe dream?

    ftp is specifically designed to fail in most modern networks, and further designed to expose the user's authentication credentials.
    sftp is a replacement, and vastly easier to deal with in modern networks, and it doesn't expose credentials, and it can implement a secure no-password login. For the command-line disinclined among us, there are tools such as FileZilla or Fugu that can provide a GUI atop sftp.
    Alternatively, get Apache going and enable WebDAV on the server, both enabled via Server Admin. Then (on the client) select Go > Connect To Server in Finder, and specify the WebDAV server via http or https as the target. The wheels spin for a bit as the connections are made, and Bob's Your Uncle.
    Submissions via file pushes from client into a web server are entirely possible, but the web server has to be configured for and running some add-on pieces to allow that. (There have to be homework assignment GUIs around, or analogous.) Most any modern Content Management System (CMS) will also have file upload submission capabilities. (There are some wrinkles with homework submission schemes, such as renaming the submitted files and generally looking to keep the user from executing the uploaded file. Avoiding cases where the user uploads a file and accidentally or intentionally overwrites something.)

  • Do I need to use a website to submit my S3 files as a podcast on iTunes?

    I have never submitted a podcast to iTunes, but after a few hours of research I understand that in order to do so I need a media host, such as S3, and a website to publish the file on and use as a feed for iTunes. I have my complete audio files on S3 and I am curious wether it is actually necessary to put files on a website such as wordpress, or if I can just create a simple RSS using Text Edit and use that with S3 and submit that feed to iTunes. If I do need to use a site like Wordpress, do my posts need to be publicly viewable?  I guess I don't understand what the function of wordpress is other than just a relatively easy way to provide the file and metadata to iTunes. I hope I was clear enough. Any help would be much appreciated.

    You need an FTP program such as CyberDuck or Transmit to upload your feed file to the server. Once that is done you should subscribe to it in iTunes (from the File menu in v11 or the Advanced menu in earlier versions) to make sure that it works.
    If it doesn't, post back here with the URL of the feed. If it does you can submit it as described in my page:
    http://www.wilmut.webspace.virginmedia.com/notes/podcast.html#submit

  • Cannot get "Upload to FTP Host" to work.

    I have been searching this problem literally all night long, have tried so many combinations of things that now I think there is so much mess uploaded to my site with accidentally creating folder after folder after folder that I no longer have any idea what to do.
    I purchased a domain on GoDaddy last year, and have just signed up for DreamHost for hosting. The domain is still registered to GoDaddy, and this is one potential cause of the issue because I'm not sure that I entered the primary, secondary, tertiary name server information from DreamHost in the correct spot with GoDaddy.
    However, for a moment there when I went to my domain, (amandaasher.com), there was a placeholder there from DreamHost so that has to be a good sign.
    I suppose my first question would have to be how the heck do I clear all of the B.S. that I have uploaded to my host over the last 12 hours of sitting here trying to figure it out? I went in using FileZilla and tried to delete everything, but there was one folder that wouldn't delete and I feel like I need to just start over at this point.
    Second question is how to actually use this "Upload to FTP Host."
    And please, if someone directs me to this article:
    Adobe Muse Help | Uploading an Adobe Muse Site to a third-party hosting service
    I will scream. I've come back to that thing like 294832 times over the last 12 hours and it has. not. helped.
    The first page goes smoothly. I'm able to connect just fine, and the credentials are checking out.
    The second page is where sh** hits the fan. Site URL seems obvious enough, but I have no idea what to enter in the "Folder on Server" box.
    To be clear, in the time I've been trying to figure this out, I have tried many many things in both of these boxes. I have tried in the Site URL box, amandaasher.com with and without www.
    And for the Folder on Server. At first I took this quote from the above mentioned article literally "Folder is the web directory as provided by the hosting provider. This field may be pre-filled; if it does not match the information from your hosting provider, make sure to update it."
    Well, it wasn't pre-filled for me. So I looked on my hosting provider's site and saw this:
    It literally says "web directory", and looks folder-ish, so I entered that in. However, I'm unclear as to whether they intend for me to substitute "username" for my actual username, or to leave the word username?? So I tried it both ways. I also tried both the top "web directory" (with both my username and the word username) and the "logs directory" (still no idea what I'm doing)
    None of these worked, so I tried some of the examples I was able to find online. It seemed the most common thing people were using was "public_html", but also "www" and "httpdocs"
    I tried all of these things in combination with all of these other things.
    As you can imagine, I was prompted many many times by Adobe Muse that these folders did not exist, so did I want to create them? I said yes. There were many many folders by the time I was done and still nothing showed up on my webpage.
    All of these exported completely but they did give me a warning at the end that there was an "unexpected html response to the php query" or something like that (I didn't think to get a screen shot of that, and I'm no longer receiving that message). What does this mean and how do I fix it?
    I'm not getting that error any longer, but now (ever since I went in with FileZilla and tried to delete a bunch of stuff) I get stuck in a loop when I try to submit the Upload to FTP Host form, it says:
    Seriously, I really think I messed up. I really just want to start over, but I need to know how to do it correctly, obviously. How do I give myself a blank slate to work with??
    Sorry, I'm completely new at this and am freaking out.

    Ended up figuring it out but not sure how to delete this.
    For anyone else with this issue, the correct Folder on Server for DreamHost was my URL without www and with a / after:  amandaasher.com/
    Problem solved.

Maybe you are looking for