Problem submitting form data to FTP server
Hi
Sorry for the newbie question, and sorry if this has been covered elsewhere--I wasn't sure what to search for!
I've created a form that I will disseminate to a large group of people. After filling the form, I'd like them to be able to hit a submit button that sends the data (or the entire form, whichever is most effective) to an FTP server that will store the data so I can import it into a .response file and eventually export to Excel.
The web team at my university has set up an FTP server that has login credentials for a dropbox and different credentials to manage files in that dropbox. When you visit the sites in firefox, it asks you for a login.
I've created the submit button on the form, and I followed the steps included in the LC Designer help. I've tried all four "submit as" options. My FTP site address is in the "Submit to URL:" box (as ftp://xx.server.edu, where xx and server are the location provided to me by the web team). When save it, open it in Acrobat, and insert test data into the form and press submit, however, nothing happens. I get no login dialogue, and no files appear in the dropbox.
The server people don't think it's an issue on their end, as I can access the FTPs through a browser, so clearly I'm doing something wrong with the design of the form or the setup of the Submit button.
Any help is greatly appreciated!
Cheers
Acrobat/Reader does not support the FTP protocol. You could submit via HTTP to an interneadiary program and have that do the FTP submission on your behalf. Or that pragram could write the data file to the file system (assuming it is on the same physical hardware).
Paul
Similar Messages
-
Adobe Form to direct XML Data to FTP Server
Hello:
I had created a Adobe form connected to a MIcrosoft Database which will provide data connections and import data into the access database. As the information in the PDF form is used to populate a application, I would like to have the form when submitted to send a XML file with only the specific data they need to the FTP server. Has anyone experienced this? or know of a possible solution?
Regards,
RandyHi Sreekanth,
YOu have to use the function modules
FTP_CONNECT, FTP_SERVER_TO_R3 and FTP_DISCONNECT to get the file from FTP to R/3.
Then you can use call transformation statement to convert XML string to internal table.
Regards,
Ravi kanth Talagana -
Problem with downloading file from FTP server
Hello all
I have uploaded a file from an application i developed and i want to download this file from another application. The code is
public static void FTPcon() throws FtpException{
String hostname = "my.ftp.server";
String username = "myusername";
String password = "mypass";
Ftp ftp = new Ftp(hostname,username,password);
ftp.setHostname(hostname);
ftp.setUsername(username);
ftp.setPassword(password);
ftp.connect();
ftp.setBinary();
ftp.download("file.dat");
ftp.disconnect();
}The error i receive is java.io.FileNotFoundException: public.dat (The system cannot find the file specified) but the file is on the server.
Thanks in advance for any helpCotton thank you for your reply
Any other sugestions please?The server disagrees. So...
- the file does not existThe file exists.I checked it with an FTP client program.
- the file has a different nameThe file name is correct
- you are connected to the wrong serverI am connecting to the correct server
- you are in the wrong ftp directoryThe file is placed in the home directory
- the ftp library you are using is broken (less
likely)I am using the library from jscape.I dont think is broken because i can upload the file from the first application.
>
FTP isn't somehow broken in Java. I use it all the
time. The problem is something listed above. I would
check all of the first four if I were you because
that's most likely where the problem is.Message was edited by:
flightcaptain -
Problem in Archiving File From FTP Server to XI File Server Using FCC
Hi,
The scenario is file to IDOc. XI has to read the input file from client FTP server and archive it to XI local file server. Archiving on XI server is working fine without FCC (for xml files). But with FCC, the sender FTP adapter is archiving empty files (0 kb files).
I've checked SXMB_MONI, even there I can see the file data and the IDoc is getting posted with proper data. But, the archived file is empty. Not sure about the problem.
Please suggest. Thanks in advance.
Regards,
Joe.Hi,
File adapter has the functionality which support the empty file handling.
Handling of Empty Files
Specify how empty files (length 0 bytes) are to be handled.
○ Do Not Create Message
No XI messages are created from empty files.
The files are processed according to the selected Processing Mode.
For example, if the processing mode is Delete, empty files are deleted in the source directory.
○ Process Empty Files
XI messages are created with an empty main payload.
The files are processed according to the selected Processing Mode.
○ Skip Empty Files
No XI messages are created from empty files.
Empty files are skipped and remain in the source directory.
refer the belwo link:
http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
reward points if helpful*
thanks
SAPXI -
Problem in download file from FTP server
Hi
I want to download a file from FTP server for that i am using the apache FTP module but i am not getting how to download a file with that api i can dispaly the list of files and folders but not able to download the file or folder can any one help me in this
Thanks
NinadHi
I think you miss understood something I am writing a program to download the file in Java where i have used the jakarta.apache api for that and getting problem in that bellow is the code where I have written to print the directory & file names but I don't know how to download the file
FTPClient ftpConnection = new FTPClient();
ftpConnection.connect(host);
ftpConnection.login(FTPConnection.userName,FTPConnection.password);
FTPFile fileList[] = ftpConnection.listFiles();
for(int i=0;i<fileList.length;i++)
System.out.println(fileList.getName());
thanks
Ninad -
XI Adapter Engine Not picking the data from FTP Server ?t
Hi All
We have upgraded oracle in our landscape
from 10.0.2.0.2 to 10.2.0.4.0
we have Redwood System , which runs the interfaces
Redwood initiates Our Satellite XI system to pick the data from the ftp server
but after the upgrade , it is not able to pick the data from the ftp server .
when checked in the Satellite XI Adapter engine getting following error
"XI Engine Error occurred while connecting to the ftp server java.net.socketException:Connection Reset"
but we are able to ftp from Satellite XI Adapter engine to ftp system manually but why Satellite XI Adapter engine is not the
picking the file (ie data) from the ftp server.
Immediate Response is highly appreciated
Regards
Edited by: sidharthmellam on Nov 23, 2009 11:54 AMHi Sidharth,
Please give me the FTP connection parameters mentioned in the channel.
Did you try stopping and starting the channel ?
If not please stop and start the channel.
Also catch the default trace and paste it.
Cheers...,
Raghu. -
Load data from FTP server into Oracle
I have a zipped file in a FTP server. I need to unzip the file and sql load it into an Oracle table.
Does Oracle has any utilities with which I can direct do "get" from the FTP server?
Does Oracle has any zip/unzip features?
I am using 10g.user6794035 wrote:
I have a zipped file in a FTP server. I need to unzip the file and sql load it into an Oracle table.
Does Oracle has any utilities with which I can direct do "get" from the FTP server?
Does Oracle has any zip/unzip features?
I am using 10g.Oracle does not support thes features directly. You'll have to write an OS script to performthe tasks and insert the data.
Dependending on your output format you can use UTL_FILE, SQL*LOADER, or external tables to load the data. -
Problem running Forms on Oracle Web Server 3.0
I have implemented Developer/2000 forms on Oracle Web Server 3.0 (Non Cartridge Implemetation). Whenever there are multiple client request for the form, Forms server raised the Dr watson error (windows NT 4.0).
Kind request to anybody who has solution for the above.Someone got the same message on a Suse 6.0. On a redhat 5.x, the
required files (libraries) are in packages
libstdc++-2.8.0-8
libstdc++-devel-2.8.0-8 (? may not be necessary)
You can get the above packages on redhat ftp and mirror sites.
Again, oracle on linux is really "RedHat-ish"!!!
Robert Xu
lin (guest) wrote:
: After I installed Oracle Web server on turbo linux,
: I started owsctl wrb, and got error message
: libstdc++s0.2.8.
: I did a find from root to search this file, but not found.
: anyone can help me.
: thanks
null -
How to open a new web browser after posting form data to web server ?
Hi Experts,
I am using NetBeans 6.5 and I am able to post data to web server using httpconnect and i am also able to open default browser on my mobile using platformRequest(url).
But what I am trying to do is that: i want to post data (not get method) to my ASP web page and then I want my web page opens in my mobile default browser keeping my post data. Shortly I want to open my ASP page in a new browser passing some parameters from midlet using POST method (not GET)
Thanks for all kind help...[url http://ostermiller.org/utils/Browser.java.html]This code seems to use a temporary page that uses javascript to open a new window. Haven't tried it though.
-
Problem in submiting form data in multipal frames
Hello,
I have a html with two frames. I have a situation in
with I want to submit data from frame2 on some action
in frame1. Problem is I am trying to submit data of
frame2 with out selecting any button of href in that
jsp so how can I handle the submit request in
ViewBean?
Thanks
-MayurFirst check what sort of button you are using. It should be of "submit" type.
Check the URL to witch URL it is submitting i.e. Action property in <FORM> tag.
Make sure for the URLs in the client i.e HTML ex: href, action, and so on use the thumb rule of prefixing "<%=request.getContextPath()%>/" in your JSP or in servlet add it in the java code.
This should solve the relative URL reference problem.
Hope this helps.
Cheers. -
Problem in Loading Data from SQL Server 2000 to Oracle 10g
Hi All,
I am a university student and using ODI for my final project on real-time data warehousing. I am trying to load data from MS SQL Server 2000 into Oracle 10g target table. Everything goes fine until I execute the interface for the initial load. When I choose the CKM Oracle(Create unique index on the I$ table) km, the following step fails:
21 - Integration - Prj_Dim_RegionInterface - Create Unique Index on flow table
Where Prj_Dim_Region is the name of my target table in Oracle.
The error message is:
955 : 42000 : java.sql.SQLException: ORA-00955: name is already used by an existing object
java.sql.SQLException: ORA-00955: name is already used by an existing object
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
I am using a surrogate key column in my target table alongwith the natural key. The natural key is populated by the primary key of my source table, but for the surrogate key, I have created a sequence in my oracle schema where the target table exists and have used the following code for mapping:
<%=snpRef.getObjectName( "L" , "SQ_PRJ_DIM_REGION" , "D" )%>.nextval
I have chosen to execute this code on target.
Among my attempts to solve this problem was to set Create Index option of the CKM Oracle(Create Index for the I$ Table) to No so that it wont create any index on the flow table. I also tried to use the simple CKM Oracle km . Both solutions allowed the interface to execute successfully without any errors, but the data was not loaded into the target table.
When I right-click on the Prj_Dim_Region data store and choose Data, it shows empty. Pressing the SQL button in this data store shows a dialog box " New Query" where I see this query:
select * from NOVELTYFURNITUREDW.PRJ_DIM_REGION
But when i press OK to run it, I get this error message:
java.lang.IllegalArgumentException: Row index out of range
at javax.swing.JTable.boundRow(Unknown Source)
at javax.swing.JTable.setRowSelectionInterval(Unknown Source)
at com.borland.dbswing.JdbTable.accessChange(JdbTable.java:2959)
at com.borland.dx.dataset.AccessEvent.dispatch(Unknown Source)
at com.borland.jb.util.EventMulticaster.dispatch(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.open(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
at com.borland.dx.sql.dataset.QueryDataSet.executeQuery(Unknown Source)
at com.sunopsis.graphical.frame.a.cg.actionPerformed(cg.java)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I do not understand what the problem is and wasting days to figure it out. Any help will be highly appreciated as my deadline is too close for this project.
Thank you so much in advance.
NeelHi Cezar,
Can u plz help me with this scenario?
I have one Oracle data model with 19 source tables and one SQL Server data model with 10 target tables. I have created 10 interfaces which use JournalizedDataOnly on one of the tables in the interface; e.g in interface for DimCustomer target table, I have 2 tables, namely Customer and Address, but the journalizing filter appear only on Customer table and this option is disabled for Address automatically.
Now I want to create a package using OdiWaitForLog event detection. Is it possible to put all these 10 interfaces in just one package to populate the target tables? It works fine when I have only one interface and I use the name of one table in the interface for Table Name parameter of OdiWaitForLogData event, but when I try a comma seperated list of table names[Customer, Address] this error happens
java.sql.SQLException: ORA-00942: table or view does not exist
and if I use this method <%=odiRef.getObjectName("L","model_code","logical_schema","D")%>, I get this error
"-CDC_SET_NAME=Exception getObjectName("L", "model_code", "logical_schema", "D") : SnpLSchema.getLSchemaByName : SnpLschema does not exist" "
Please let me know how to make it work?
Do I need to create separate data models each including only those tables which appear in their corresponding interface and package? Or do I need to create multiple packages each with only one journalized interface to populate only one target table?
Thank you for your time in advance.
Regards,
Neel -
Problem submitting form in iframe in IE
I'm using BC for content for a Facebook Tab App (which for the most part is a great fit) - when trying to submit a form through Internet Explorer, BC gives me a "Unathorized User" error?? Working perfect in ALL other browsers (of course).
I've narrowed the problem to this:
Communication between Explorer and Business Catalyst when submitting a form through an Iframe.
Anyone, and I mean ANYONE have any idea about this?
Currently I have the secure zone login form (form elements not visible via css) on the page and the "Submit your photo" is actually logging them in. When clicked in IE (again, in the Iframe) it kills it.
2 links to view trouble:
bankplusfb.businesscatalyst.com
facebook.com/solvetestcompany (then click on the 3rd custom tab link "Pen Contest")
Can anyone lend a hand?Tested in IE9 and it worked just fine...what version are you referring to? 6?
-
I'm new to PHP and I'm having a few problems. I've put
together a script to process an HTML form and I need it to capture
the names of all 'checked' checkboxes within my form and exclude
all unchecked data. I know i must be doing something stoopid but i
can't work it out. I just get a list of all items with their value
next to them if checked. Any help would be really appreciated.
Thanks. Here's my script:
<?php
/* Subject and Email Variables */
$emailSubject = 'Subject';
$webMaster = '[email protected]';
/* Gathering Data Variables */
$A = $_POST['A'];
$B = $_POST['B'];
$C = $_POST['C'];
$D = $_POST['D'];
$total1 = $_POST['total1'];
$total2 = $_POST['total2'];
$total3 = $_POST['total3'];
$total4 = $_POST['total4'];
$total5 = $_POST['total5'];
$day = $_POST['day'];
$email_address = $_POST['email_address'];
$comments = $_POST['comments'];
$body = <<<EOD
Item A: $A <br>
Item B: $B <br>
Item C: $C <br>
Item D: $D <br>
<br><hr>
Price $total1 <br>
<hr><br>
Data A $total2 <br>
Data B $total3 <br>
Data C $total4 <br>
Data D $total5 <br>
<br><hr><br>
Ordered For: $day <br>
Email Address: $email_address <br>
Instructions/feedback: $comments
<br>
EOD;
$headers = "From: $email_address\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Results rendered as HTML */
$URL='
http://www.xxx.com/thanks.html';
header ('Location: '.$URL);
?>
<td><input name="A" onClick="change(this)"
value="160g" type="checkbox"></td>
If its relevant, onClick="change(this)" relates to:
<script type="text/javascript">
function change(obj) {
var tr=obj.parentNode.parentNode;
if(obj.checked) {
tr.className+=' pink';
else {
tr.className=tr.className.replace(' pink', '');
clickCh();
Please can someone explain where i'm going wrong?
ThanksMy advise is to buy the ColdFusionMX7 Web Application
Construction Kit. This will answer all of your questions and
provide you with a solid understanding of ColdFusion basics to
include: form handling and database interaction..
http://www.amazon.com/Macromedia-ColdFusion-Web-Application-Construction/dp/0321223675/ref =sr_11_1/105-7037147-7486858?ie=UTF8&qid=1187788238&sr=11-1 -
Submitting form data as XML - Can you edit the node structure?
Hi guys, I was wondering if there was a way to edit the node structure of an xml file [submitted via a form through email], instead of what livecycle creates by default; or, is it a case that once you select 'submit As: XML Data (XML)' - it's out of your hands? Thanks in anticipation for any help / suggestions. Cheers Dyr
Thanks Dallas -- all sorted now with
your advice . Cheers Dyr -
Problem to read data from application server.
read dataset reads data only up tp 255 char.
her i want to read more data .
and i am executing that in background so i can not use gui_upload then what is the solution.Read datasets should be able to read any length. Are you sure it is not your program that is truncating it?
GUI_UPLOAD is a FM to read files from the presentation server (your PC), at the end, it performs READ DATASET anyways.
Please provide code example.
Leonardo De Araujo
Maybe you are looking for
-
How can I purchase more storage for assets?
What options do I have to upgrade my storage plan once I reach my limit?
-
My USA purchased iPhone 4S factory unlock is not working in India as it gets no signal bars
Hi, I got my iPhone 4S from USA, which came with AT&T sim in it. It was sold as factory unlocked but when I inserted Indian sim card in it , there appeared the name of the service provider but no signals. Can anybody help as what best can be done to
-
Modem on PCI TO PCMCIA adapter not working.
Hello, I'm new here so please be gentle if im asking about something obvious. Like i wrote in subject i have problems on my desktop PC (not laptop) with my pcmcia Huwaei 870 modem wich is inserted into PCI TO PCMCIA adapter (Ricoh). On Windows(same m
-
Asynch Change Data Capture with AutoLog - can it work off a logical standby
Hi, I'm looking at using asynchronous CDC in AutoLog mode for DW extraction tasks. Could this work off a logical standby database, which is itself updated via logs from the real production OLTP database (as far as I know, I'm not the DBA)? The archit
-
How do you change name on new ios7 games centre
Can anyone help with how to change my name on games centre