File upload from smartphone?
Currently your file upload field does not allow smartphone users to upload images/videos, any chance this may be possible soon?
I used the following html5 coding on a separate site page and works well:
<form action="server.cgi" method="post" enctype="multipart/form-data">
<input type="file" name="video" accept="video/*" capture>
<input type="submit" value="Upload">
</form>
Hoping this is also possible within your form but looks lke I'm not allowed to edit the form's html.
Thanks for your help.
Dave B
This is something we are looking into. Can't say when it might be supported.
Randy
Similar Messages
-
"Import from Text File" & "Upload from Clipboard" icon not appearng in F110
Hi Experts,
While making the payment to the vendors through TN F110, in "PARAMETER" screen just next to 'STATUS' screen, there is a vendor field for selection in range and just ahead of this there is an icon for multiple vendor selection ( Bold arrow mark ). If I click on that multiple vender selection icon ( on bold arrow mark ), an another screen opens for multiple selection for vendors. In this screen 'Enter, Copy, Delete etc' icons are appearing at the bottom of the screen but "Import from Text File" & "Upload from Clipboard" icon are not appearing there.
Can you please let me know how to bring that icons there?
Points would be awarded.
Rgds,
ShaileshHi Ravi,
I have not yet created anything and have just entered the parameter. In the multiple screen for vendors there are 5 fields for individual and 5 for range selection. Even you can put more than five range selections or individual selections by clicking on the page button but there I am not finding these two icons.
Can you please check at your end and let me know if you are getting or what to do to bring those two icons in F110.
Rgds,
Shailesh -
Differentiate file uploaded from explorer view in SharePoint
Hello,
I am working on event receiver which on item adding updates few fields of document in library if those are not empty. The code is working fine in new file, drag and drop but in explorer view, I am not getting afterproperties values except two default field
values (vti_parserversion and vti_filesize). But in updating event we are getting those values.
Is there any way to differentiate file uploaded using explorer view in event receiver? So that I can work on updating in case of explorer view.
Thanks.Hi,
According to your post, my understanding is that you want to differentiate file uploaded from explorer view in SharePoint 2013.
I made a test in my environment, both the two ways(“new document” or “Open with explorer” ) to upload document, the AfterProperties only contains two default field values(vti_parserversion and vti_filesize) in
ItemAdding method in event receiver.
There are two steps occur when uploading a file to document library, the file is uploaded in the first step, then the list item properties will be modified in the second step.
So, it is recommended to update the fields of document in ItemUpdating
method in event receiver.
Best Regards
Dennis Guo
TechNet Community Support -
How do I enable CF to allow file uploads from Flex?
You will need to set the accept attribute of the cffile tag
to allow the mime type application/octet-stream. -
LSMW file upload from presentation server
Hi,
We are using LSMW to create new Document info records and will need to upload/ attach multiple files to the DIR.
everything is working except in the IDOC processing stage, it errors out -
"Error while checking in and storing:
otlta134a\pcm\test1.txt"
Its is unable to upload file from network drive, it works successfully when the same file is uploaded from application server.
I have worked in other LSMW projects and have successfully loaded files from network drive.
Please let me know what configuration setup is required, is it the content server or the gateway server?
Thanks for all your help.Sheetal,
I think this is the problem due to the authorization....
try to open the file from AL11........... if u r still getting the problem better to contact the basis guys...
If it is the problem with the authorization... once u get this error open another session with SU53 tcode.. take the authorization object and give it to basis guys to allow the permissions to u... -
JSP : latest JSTL, File Upload from web form Client to Server Question!
I understand that within a JSP, It is possible to read a file from the Client by opening a Stream somehow.
How do I code, within jsp/servlet (non tag) java code inside <% %>
blocks, WITHOUT openening a new connection to the URL, an InputStream from a client web browser form, from a file upload coded using
<input type="file" name="file1"/> ?
I have previously achieved this quite simply with a FileInputStream
with the previous version of JSTL.
How may I do this with the latest version of JSTL, with this index.jsp?
-with a simple text file.
-with a Binary file (with DataInputStream)?
<%--
Document : index
Created on : 27/01/2009, 3:08:32 PM
Author : Zachary Mitchell
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1 align="center">Hello World!</h1>
<form name="form1" method ="POST" >
<table align="center">
<tr>
<td>
<input name="file1" type="file" align="center"></input>
</td>
</tr>
<tr>
<td>
<input type="submit" value="submit" action="index.jsp" ></input>
</td>
</tr>
</table>
</form>
<!--*********************************************************************** -->
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@page import = "java.io.*" %>
<c:if test="${pageContext.request.method=='POST'}">
<%
File fileName = new File(request.getParameter("file1"));
out.println(fileName.toString());
FileInputStream stream = new FileInputStream(fileName);
out.println(stream.toString());
%>
</c:if>
<!--*********************************************************************** -->
</body>
</html>If I have:
<!-- ***********************************************************************************-->
<form name="form1" method="POST" enctype="multipart/form-data">
<input name="file1" type="file"/>
<input name="submit1" type="submit" value="Submit" action="index.jsp"/>
</form>
<!-- ***********************************************************************************-->
and run this in an index.jsp, use browse to select my text file, and click SUBMIT.
I can use:
InputStreamReader reader = new InputStreamReader(new DataInputStream(request.getInputStream()))
BufferedReader bufferedReader = new BufferedReader(reader);
bufferedReader.readLine();...
However, these is some HTML/POST related content around what multiple readLine();
calls return.
Is there an easy way, like using "${param.file1}",
aside from [http://commons.apache.org/fileupload/|http://commons.apache.org/fileupload/],
maybe using servlet style code, to get the File contents from a remote Client,
to the remote Server servlet engine, AVOIDING ANY SUPERFLUOUS CONTENT,
using version 1.12 of the JSTL, JSP 2.0,Tomcat 6?
Just politely, yes, no, and how?
Edited by: Zac1234 on Jan 29, 2009 3:27 AM
Edited by: Zac1234 on Feb 1, 2009 8:29 PM -
File Uploading from one system to another system
Hi to all
I acn any one give a sample code for uploading from one system to another system using java code.
please very urgent
Thanks in advance
With Regards
JitendraI am very sorry for that
What i want is to transfer a file from my system to
another system using Http connectionDoes the other system support http uploads?
http://forum.java.sun.com/thread.jspa?forumID=31&threadID=451245 -
Hi gurus,
i understood that there is a posibility to upload data from a flat file directly from the network. I know how to upload it from the PC, but how do I put the folder on the network?
Thanx,
RamonaHi Ramona,
First of all make sure, that every user has sufficiant auothraization for durectory required on application server,
Now you (or the users) are able to access it in windows after mapping to a drive represented by a caharcter ( e.g. ''R").
This is done in Windows Explorer "EXTRAS". It will appear as a new folder in explorer and can be handled like a "normal" one.
If you have any doubts contact your basis guys, they are surely familiar with this process.
Hope it helps
Joe -
Flat file upload (from local system) to internal table
I am trying to use BAPI to create sales order. for that I have to upload flat file containing header and item data from the local system (not from application server). please suggest me if any functional module is available for this.
Thanks,
RajanHi rajan,
Try this,
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = lv_filename " File name
filetype = 'ASC'
has_field_separator = cl_abap_char_utilities=>horizontal_tab
HEADER_LENGTH = 0
READ_BY_LINE = G_MARKED
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE = VIRUS_SCAN_PROFILE
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH = FILELENGTH
HEADER = HEADERf
TABLES
data_tab = gt_table "internal table with fields from the flat file.
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
Regards,
Shobana.K -
Shortdump on File upload from unix and CX_SY_CONVERSION_CODEPAGE
Hi,
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CONVERSION_CODEPAGE', was no
caught in
procedure "OPEN_INPUT_FILE" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Characters are always displayed in only a certain codepage. Many
codepages only define a limited set of characters. If a text from a
codepage should be converted into another codepage, and if this text
contains characters that are not defined in one of the two codepages, a
conversion error occurs.
Moreover, a conversion error can occur if one of the needed codepages
'4110' or '4102' is not known to the system.
Example: µ is creating problems.
I have a problem in uploading the file with below format
F091US122580164 PECOSPHERE C18,3µm,33X4.6MM
1. I am using a custom program to read the file and then updating internal table
2. Unicode code system
Please help to resolve this issue.
Thanks and Regards,
RaveendraHi Raveendra,
Similar problem is faced by me in my current project. The solutions I have suggested are as below. I have not received any confirmation as to which solution to be applied.
To avoid the dump:
1. Read the file as a NON UNICODE file.
-- For this we use open dataset statement as OPEN DATASET <name> IN TEXT MODE FOR INPUT ENCODING NON-UNICODE. The file is read as a non-Unicode file. This avoids the dump but it uploads also the non Unicode data in the system. We need to analyse if this will cause any other effect on the system.
2. Upload file after removing the special characters
-- We need to upload the file again in the application server after removing the special characters in it.
3. Bypass the dump by displaying error message
-- By using OPEN DATASET........IGNORING CONVERSION ERROR, we can suppress the dump. Here the file is not read but only the dump is suppressed.
regards,
Gaurav -
Flat File Upload from WebDynpro ABAP
Hi,
I am struggling to find a solution for this requirement and I hope I get some help from the Gurus here.
I have to upload a ".csv" file from the WebDynpro application, and then store the data in the flat file in a Z# table.
Can some one explain me how to go ahead with this requirement??
Regards,
NadhHi Nrisimhanadh Yandamuri ,
After reading the csv file using file up load you can use the following code to tranfer the same to an itab of your required format
DATA : loc_conv TYPE REF TO cl_abap_conv_in_ce,
var_string TYPE string.
Convert XString to String
CALL METHOD cl_abap_conv_in_ce=>create
EXPORTING
input = item_content
encoding = 'UTF-8'
replacement = '?'
ignore_cerr = abap_true
RECEIVING
conv = loc_conv.
*Read the file contents
TRY.
CALL METHOD loc_conv->read
IMPORTING
data = var_string.
CATCH cx_sy_conversion_codepage.
*-- Should ignore errors in code conversions
CATCH cx_sy_codepage_converter_init.
*-- Should ignore errors in code conversions
CATCH cx_parameter_invalid_type.
CATCH cx_parameter_invalid_range.
ENDTRY.
SPLIT var_string AT crlf INTO TABLE it_string_tab.
Regards
Sarath -
How can i upload file from ftp server to DMS content server.
i have try with BAPI_DOCUMENT_CREATE2 it working ok if i am give source path of my local pc file.
but if i use ftp path than it is giving errer
" E26 253Error while checking in and storing: FTP://10.2.16.137/SENDER/Z12345.PDF"
is there other settings for using ftp.
and my ftp is open no restriction is there?Dear Alex,
Can u provide how did u solve to create DIR Record from FTP,
We are having the same requirement and facing problem
errro while checking and storing...
Regards,
Tushar -
File upload from form using cf8 file functions within cfscript?
essentially, i'm wondering if anyone can give me an example
of a way to replicate cffile upload using cf8's native file
manipulation functions within a cfscript tag?
more specifically, i am wondering if anyone had any code
examples for uploading a file specified by a user on an html form
using cf8's file functions (fileOpen, fileCopy, fileDelete,
fileMove, fileClose, etc....) within a cfscript tag. i've done this
a number of times in the past using upload through cffile, but i'd
like to take advantage of cf8's new native file functions and be
able to deploy the code within a cfscript block.
i've found some simple examples of the file functions within
the docs and online, but nothing showing me how to take a file from
an html form and upload it where i want it, as cffile will do.
thanks in advance for any help.those cf8 file functions are for manipulating files on the
server.
you still need to upload the file in one way or another.
as for replicating cffile action=upload in cfscript: just
write a
function that uses cffile tag to upload a file, and call that
function
from your cfscript!
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/ -
File Upload from a desktop java application
Hi,
what I want to achieve is, to upload a pipe-delimited text file from my desktop java application to my hosting server, and then on the server, I have a PHP page that would parse this file and insert records to the database.
so, on the server, I can enable write access on the folder which I want to upload the file to,
but how do I upload a file from my desktop application.
ThanksHttpURLConnection conn = (HttpURLConnection) _url.openConnection();this code open a http connection, and what is left is to fill in http protocol things (e.g. content type, content length, POST/PUT or whatever method...etc). after you set the correct request header then open a output stream and pass your files and flush the connection then close it.... in theory (never tried sending files, only done handling POST http form requests with it but it shouldn't be too much different when it is http protocol)
you may want to install Fiddler2 into your browser, it can filter out the browser outgoing and incomign information and you can take a little read in their header and see how they interact with each other -
how to create link for uploading file from report
912303 wrote:
how to create link for uploading file from reportwhich file?
where upload?
which report?
which technology?
Maybe you are looking for
-
IDOC status at 30, but in we05 it is 03
Hello Gurus!! My program generates an IDOC and as soon as the idoc is generated it the status is 03 then i have todo something else. Within the program when i am cheking the status is 30 but actually in transaction we05 the status is 03. I have cheke
-
How do I get my previously purchased ringtones on my new iphone?
i bought ring and text tones on my old iPhone, I had to replace it today and cant get them on the new phone. I went to the app store, selected the files in question and they asked, "You have bought this before, do you want to buy it again?". I dont w
-
How to delete a page in thumbnail veiw when all connected in yellow box
How do I delete a page from thumbnail view if they are all locked in one yellow box? Never happend before. What do I need to turn off? Why did it group the three pages? I added a page to the document and it grouped all three together. J
-
I've been struggling with this issue since the first iOS 8 update but have patiently waited through all the subsequent software updates, hoping the problem would resolve itself, but it has not. I even replaced my router at one point (unrelated reason
-
Bridge CS3: Stars gone!
I have been using bridge for years, and have always had the option of clicking the stars below the thumbnails to rate my photos. While I still do have the option of using the pull down menu to rate my images, the little stars below the images are not