BDS - How to upload/download file ?
Hello,
I would upload and download a file .doc on the BDS. There's some report to do it ?
tks.
Hello Sandra, tks for reply...
what do you mean about "do you need an API to do it in a program?" ?
tks.
Similar Messages
-
How to upload & Download file in Adf using Jdeveloper 11.1.2 ??
Hi All,
I have just started working on Oracle ADF, Thanks a lot guys for solving our queries.
I'm using Jdeveloper 11.1.2, How to upload and download file in ADF..?
I have seen couple links on net but none of them worked on jdeveloper 11.1.2......
Please Help......Hi guys,
I'm able to download file in ADF using af:fileDownloadActionListener.......
does any one knows how to upload a file using ADF??? -
How to upload/download file to/from server using FiledownloadUI ?
Hi experts,
I don't have much experience of WDABAP. I have to upload a file to server and then download it again. I have implemented this functionality but I am unable to view contents of .xls/.doc/.docx/.msg file only txt file contents are properly visible. I have used following command to upload the file:-
OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
I had also tried this but it is throwing exception that it can be used only for character type data.
OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING UTF-8 WITH SMART LINEFEED.
Thanks in advance.
Problem Solved!
Regards,
Vishesh
Edited by: Vishesh@1986 on Sep 26, 2011 7:37 AMI have resolved the issue myself!!!
-
How To Upload/Download Files in WDP from KM
Hi folks,
I'm developing an Web Dynpro application for Portal and using a upload and download component.
I'd like to use the KM as a file repository. How can I send and get those files to/from KM application in Portal?
Using: SAP Studio 2.0.9 SP9 (WDP), SAP WebAS 6.40.
By the way, is it possible to send those files to mobile/pda using MI Client?
Regards,
RogerioHi Rogerio,
see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/tutorial on using knowledge management functions in web dynpro.htm
Hope it helps
Detlev
PS: Please consider rewarding points if answers are helpful on SDN. Thanks in advance! -
How to upload/download file into/from blob column in ADF/JDev 11g.
Hello to all.
I found demo from Kuba user on that page: http://kuba.zilp.pl/?id=1
But that demo is for release 10g and too complicated for me for this time (I'm fish in Jdeveloper).
I can create some simple table view (of form view) with oracle connection with table with blob data.
Blob column will content doc/xls/pdf ...etc.
Now I can add two buttons for download and upload.
What I have to do in next time?
Is it possible to use some component or something?
Thank you
BenI was able to accomplish downloading from a blob, but I'm trying to dynamically set the ContentType.
As the table may contain different types of files, I'm setting the ContentType to #{row.Fileext}, where Fileext is set in SQL select as follows:
pseudocode: get file extension, and set the content type based on file extension.
sql select :decode(substr(fdv.file_name,instr(fdv.file_name,'.',-1,1)+1),'log','text/plain; charset=utf-8','xml','text/xml','xls','application/vnd.ms-excel','tif','image/tiff','jpg','image/jpeg','unknown')
I rather use a fuction/method, and tried the following instead:
ContentType = #{backingBeanScope.backing_processReqs.FileAttachContType}
where FileAttachContType =
public class ProcessReqs {
public String FileAttachContType() {
// code to substring filename for extension and decode values
return strContType
But I get the following error:
Error 500--Internal Server Error
javax.el.PropertyNotFoundException: The class 'sunrider.reqpoportal.view.backing.ProcessReqs' does not have the property 'FileAttachContType'.
at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:547)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:249)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
Ideas?
PS: Kuba, I've been trying to get to your blog all day, and it would just time out.
Thanks everyone in advance!
-R
Edited by: user6631964 on Jul 24, 2009 5:55 PM -
How to upload XML file from Application server.
Hi,
How to upload XML file from Application server.Please tell me as early as possible.
Regards,
Sagar.Hi,
parameters : p_file type ibipparms-path obligatory.
***DOWNLOAD---->SAP INTO EXCEL
filename1 = p_file.
call function 'GUI_DOWNLOAD'
exporting
BIN_FILESIZE =
filename = filename1
filetype = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_stock
FIELDNAMES =
exceptions
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
others = 22
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Regards,
Deepthi. -
I am very new to this JDeveloper & BPEl Process , please could some one help in ersolving my problem that is , how to upload a file in BPEL Console Using JSP in JDeveloper.
Hi,
ADF Faces provides you with the file upload component
http://download-uk.oracle.com/docs/html/B25947_01/web_complex006.htm#CEGCEDHF
http://download-uk.oracle.com/docs/html/B25947_01/appendixa007.htm#CHDEDCFA
This gives you a handle to the file content. However, uploading files through a service is different and I suggest to consult teh BPEL forum for this BPEL
Frank -
Upload/Download file to/from a document library in a SharePoint online site
Hi,
I am referring to the below blog for Upload/Download file to/from a document library in a SharePoint online site.
http://blogs.msdn.com/b/rohitpuri/archive/2007/04/10/upload-download-file-to-from-wss-document-library-using-dav.aspx?CommentPosted=true#commentmessage
I would like to know if this is feasible with a SharePoint online site.
If feasible, how can I resolve the below exception I am getting while using the code.
“The remote server returned an error: (403) Forbidden”.
Thanks,
ThananHi,
Actually what I am trying to achieve is the two things.
1) By using only the user's name, need to upload/download from/to the document library of SharePoint online site using the CSOM. (i.e., achieving Single Sign On / Windows Authentication)
2) I need to achieve the above only by passing the document URL; not by hardcording/ configuring the document library name in the windows application.
Can anyone pls help on this now?
[Below code is working fine. But need to arrive the solution whereas the above 2 conditions are not violated.
using (var clientContext
= new ClientContext("https://yoursiteurl.com"))
string passWd
= "password";
SecureString securePassWd
= new SecureString();
foreach
(var c in passWd.ToCharArray())
securePassWd.AppendChar(c);
clientContext.Credentials
= new SharePointOnlineCredentials("username", securePassWd);
using
(var fs =
new FileStream("fileName",
FileMode.Open))
var fi =
new FileInfo("fileName");
var list = clientContext.Web.Lists.GetByTitle("Doc Library");
clientContext.Load(list.RootFolder);
clientContext.ExecuteQuery();
var fileUrl = String.Format("{0}/{1}", list.RootFolder.ServerRelativeUrl,
fi.Name);
Microsoft.SharePoint.Client.File.SaveBinaryDirect(clientContext, fileUrl,
fs, true);
Thanks,
Thanann -
How to upload a file using java bean?
hi,
i need a code simple how to upload a file from jsp form to a java bean file (not a servlet)
thank,s zikHi,
i need a code sample how to upload a file from jsp
form to a java bean file (not a servlet)You can use jspSmartUpload component which is a free, fully-featured JSP component.
jspSmartUpload provides you with all the upload/download features you could possibly wish for :
* Simple and complete upload
* Total control over the upload process
* �Mixed forms� management
* Total control over files sent
* Download whatever you want
For further information about jspSmartUpload please visit
http://www.jspsmart.com/
Hope this helps.
Good Luck.
Gayam.Srinivasa Reddy
Developer Technical Support
Sun Micro Sysytems
http://www.sun.com/developers/support/ -
How to upload binary file in database?
Using servlets..how to upload binary file into database...
How to get the data of file in servlet...
Please reply...i'm unable to find exact code...that i want..You need to do two separate parts: accept the file from a HTTP multi-part POST and then stream it into a BLOB on the database. To do the former, download Jakarta Commons FileUpload. There is extensive documentation on how to write a simple handler for the upload. You then need to send the data to a BLOB. The specifics vary from database to database but generally you will insert or update a row with an empty blob, get a reference to the blob, pipe the data and then commit.
If you do a quick forum search, this question has been asked (and answered) dozens of times. Some of the replies may even have code for you. Best of luck.
- Saish -
How to upload pdf file from windows cell phone?
How to upload pdf file from windows cell phone?
You can do this in steps.. First use the built in method for uploading a file into the flows files object, Next you would copy the file out to an Oracle built directory on your UNIX box using utl_file.put_raw..
Here is a link to show you how to upload files in an APEX application [http://download.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/up_dn_files.htm]
And here is a link to show you how to use utl_file.put_raw.. [http://psoug.org/reference/utl_file.html], item is towards the bottom of the screen..
Thank you,
Tony Miller
Webster, TX -
How to upload/download to blob using ADF-toplink?
I am using ADF-toplink,i tried upload to blob using some of the code given in the ADFBC upload/download application...IT WORKED... but download is not working...I want to know some better method for both uploading and downloading... IN ADF-TOPLINK only......
Hi guys,
I'm able to download file in ADF using af:fileDownloadActionListener.......
does any one knows how to upload a file using ADF??? -
Hi,
I have to apply some notes.according to the notes I have to upload the some *.CAR file.I have downloaded the CAR files.Problem is how to upload these files?
Please help !!!!
regards,
ABHIJIT ZOPEHi Abhi follow this :
http://www.sap-img.com/basis/oss-notes.htm -
How to upload Excel file in BI using function module in abap program
How to upload Excel file in BI using function module in abap program?
Hi Anuj,
To upload the file , you can try a standard program "RSEPSFTP" .
while you execute the program , a selection screen appears in which the inputs should be give as
RFC destination - The target server name
FTP command- PUT
local file - your file name
local directory - path of your local file
remote file - your target file name
remote directory - where it has to be stored
Hope this is useful for you
Thanks & regards
Anju -
How to upload pdf file in a canvas in flex web application?
how to upload pdf file in a canvas in flex web application?
Hey saif.antri,
You can view PDFs and more using iBooks on your iPhone:
iBooks: Viewing, syncing, saving, and printing PDFs on iPhone, iPad, and iPod touch
http://support.apple.com/kb/HT4227
Have a great day,
Delgadoh
Maybe you are looking for
-
Adding cost center range in KS05
Hi, I want to add range for cost center field and from change Date in KS05. Can anyone guide me on this issue. Orelse If there is any function module to achieve this keeping select-options in KS05 by preparing our own report also will be helpful for
-
Inventory account not defined in item code
Hi, Iam trying to add A/p Credit memo from A/P invoice (Copy to method) and changing Unit price of one item (there 8 items) then it gives error of "Inventory account not defined item code" i check all accounts in Item group and Wh also.i also ch
-
Hi, I added a DFF through create item "flex" in iRecruitment (View applicants page).I am getting the following message: "The flexfield listener failed while getting the value for segment Job Title from column ASS_ATTRIBUTE1 of the descriptive flexfie
-
Export and Import Strings To/From Remote Function Modules
Hi, I am building a Web Application in which the user can enter very large string (unlimited) and we want to store that value in the backend. So i need to create Remote function module which can take large strings, store it in backend and when queire
-
Hey i have a macbook and I have been playing around using the built in mic so far, but the quality just isnt what i want, I'm rapping and am looking to pick up a cheap microphone no more then 50$ if thats possible, and was wondering what is the best