DMS Download a file
Hi
I have a very straightforward question:
If I download a document
from the DMS to my desktop,
does the DMS send the document
directly to me, or does the document
first "travel" to sap application server
and from there to my desktop?
Thanks
Yuval
Hi Yuval,
As I know, it will not download directly to desktop. But offcorse it is done via your SAP application. As SAP app server and content server is already linked via KPRO settings. So nothing get transfer like DMS server(Content) to SAP app. It will only access those attachments.
So when you access DIR, it's attachment will also be accessed that time and when you click on download, system will run download program.
Regards
Shishir
Similar Messages
-
DMS: Download file background
Hi,
I have a problem. i have a c# application in the user PC that is going to call a sap webservice that downloads a file from DMS to the user PC. this is possible or this counts as background and we only can download to the application server? if that so, is there anyway to after the file is in the application server copy it automaticly to the user PC?
Best regards,
Ricardo
Edited by: Ricardo Araújo on Jun 29, 2011 4:50 PMHello Ricardo Araújo ,
Using webservice also there may be some logic that we can use to write a file to the user's desktop PC.
But we need to investigate more in the technical prespective first.
Other easiest option is inside the webservice logic we can create a file in the application server and FTP / Or write it to a share folder , that share folder is accessible to the user from the desktop PC.
But to write it to a shared folder we need to do the File Mounting in the SAP application server / Shared folder host machine.
This is purely a BASIS job.
Hope this answers your question.
Thanks,
Greetson -
DMS - Download File from CV03n
Hi guys!
Is there some function or BAPI, that can I make donwload file from cv03n and move to another server or save file content in internal table?
I need develop the abap program that download file from cv03n and put in another unix adress, that is possible?
thanks
Felipe MartinHi,
if you have the document data (number, type, ....) you can use the report DMS_KPRO_READ. This report will list all originals of this document info record and with the small green download button you can easily download the file to your desired directory.
Best regards,
Christoph -
Hi SAP experts,
We are using KPRO content server for our client and have configured the same.
While uploading a file from PC or downloading a file to PC from SAP content server, sap is creating two to three additional files on desktop or the folder from where we download/upload the file.
Other than this remaining all are work is as normal. The new files which sap is creating are not in any particular format and have the names "rfc02716_01660.trc" and "dev_http"
when it try to open the same through note pad i was able to observe that it has some programming data like it was able to move and access so and points and performed the tasks and finally success etc.....
Is this a normal behavior of the system? and customer should always delete the same often when he does the download or upload actions?
Any setting to avoid this?
Regards,
saiOk and thanks a lot for the reply questions running in my mind are,
1) Is this a normal/correct behavior of the system? and is it that customer should always delete the same when he does the download or upload actions?
2) Any setting to avoid this? or is it good that system behaves like this.
Regards,
Sai -
Error while downloading a file via APEX screen
While I try to download a file using the below code;
an HTTP 404 error is coming although the proc is being called and the parameter is correctly being passed.
Please help.
create or replace procedure download_myfile1(p_id in number)
as
v_mime varchar2(255);
v_length number;
v_file_name varchar2(2000);
Lob_loc BLOB;
BEGIN
-- -- Selecting the details from the table whoch contains the extracts
select EXTRACT_FILE,FILE_NAME,dbms_lob.getlength(EXTRACT_FILE) into lob_loc,v_file_name,v_length from table_name where ID = p_id;
-- -- set up HTTP header
-- -- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header( 'application/octet', FALSE );
-- set the size so the browser knows how much to download
--v_file_name := substr(v_file_name,1,instr(v_file_name,'.')-1);
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition: attachment; filename="'||v_file_name|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( lob_loc );
end download_myfile1;
It shows a POP up window by which u can save or opens the file. But no pop up displayed in this case.
-ShreyaHi,
Made the same changes but still getting the same error.
The earlier URL also that I had mentoned would dynamically make this url mentioned by you and then shows the pop up window.
However when I am right clicking on the download link and then clicking 'Save target as' then this error message is provided:
Internet Cannot download [schema name].download_myfile2 from [DNS name]
Internet Explorer was not able to open this Internet Site.The requested site is either unavailable or cannot be found .Please try again.
Please help..
Thanks in Advance ...
Shreya
Edited by: 935203 on Jul 9, 2012 11:58 PM -
Display save as dialog when downloading a file
Hi,
I want to display a save as dialog when the user downloads a file.
Now I get a dialog where the user can choose to open or save it.
I set these headers:
res.setHeader("Content-disposition", "attachment; filename=" + filnamn);
res.addHeader("Content-Type", "application/force-download");Thanks!Sorry!
When the user downloads a file I want to open a dialog where the user
can write a filename and then click Save to save the file.
Today I get a dialog where the user first have to choose if he wants to open or save the file.
When he clicks save then the dialog appears that I would want to be displayed.
I hope this clearifies my question. -
How to log in background and execute a function for downloading a file
Hello,
i have a problem.
I have an application with logon functionality. Over the application there is function to create a xml file for downloading it to the pc.
Now i want to download this file in background and save it to a server.
My problem is here how can i do this. The main problem is how to logon with the userid and password in background and how to dowload the file.
Thanks,
Regards,
Ronaldhi Ps ,
Can you please do small sample ,
that would help me in clear understanding
thanks in advance
ashok.c -
How to let user download multi files at the same time in WebDynpro ABAP?
hi all:
As you know, WeyDynpor has provided upload/download UI element, but it seems that it only support one file upload/downlaod at the same time.The following is the API method to download one file in Webdynpro:
cl_wd_runtime_services=>attach_file_to_response(
EXPORTING
i_filename = lv_filename
i_content = lv_content
i_mime_type = lv_mine_type
i_in_new_window = abap_true
i_inplace = abap_false
* EXCEPTIONS
* others = 1
but if when use click one button, we want to provide user a html file plus 2 icons files which are used as this html file's resource file, then how to let user download these 3 files together at the same time?
one simple way is calling the download api (cl_wd_runtime_services=>attach_file_to_response) 3 times,
but it is very ugly that three popup windows are shown to let user select every file's download path, which is unaccepted.
So anyone know more convienient way to handle it?
thanks.Hi,
I suggest you to zip the files and attach it to the response. Do the add file part for each of your files
"References
DATA lr_zip TYPE REF TO cl_abap_zip.
"Variables
DATA lv_zip_xstring TYPE xstring.
DATA lv_zip_name TYPE string.
DATA lv_file_content TYPE xstring.
DATA lv_file_name TYPE string.
"Create instance
CREATE OBJECT lr_zip.
"Add file
lr_zip_attachments->add(
EXPORTING name = lv_file_name
content = lv_file_content ).
lr_zip_attachments->save( RECEIVING zip = lv_zip_xstring ).
"Attach zip file to response
cl_wd_runtime_services=>attach_file_to_response(
EXPORTING i_filename = lv_zip_name
i_mime_type = 'ZIP/APPLICATION'
i_content = lv_zip_xstring ). -
Downloading a file would normally bring up an option to open the file with the appropriate program or save it - for some reason now it just downloads straight to the download folder. Why? Problem with Firefox or something else? It's very frustrating - sometimes you want the file opened first so it can be discarded or saved to a different location.
Hey. that's great! Thanks for posting back with the outcome.
-
Problem on windows xp with downloaded zip file
Hi,
I have written a JSP to download file which is as follows
try
response.setContentType("application/download");
response.setHeader("Content-Disposition","attachment;filename=<FileName>");
int iRead;
FileInputStream stream = null;
try
File f = new File(<FilePath>);
stream = new FileInputStream(f);
while ((iRead = stream.read()) != -1)
out.write(iRead);
out.flush();
finally
if (stream != null)
stream.close();
catch(Exception e)
//out.println("Exception : "+e);
After downloading zip file, could not extract files on windows XP by using any tool or built-in extractor i.e. compressed(zipped)folders (error: compressed folder invalid or corrupted).
But this works on win2k or win98
How can i work with it or can anyone tell me a solution to handle such a problem.
Thanks in advance.
Rajesh
[email protected]This could be a problem with the built-in ZIP program in Win XP - it's possible that the ZIP you are downloading (uploading?) is simply incompatible with the XP program. In Win 98 & 2000, you would have to use your own ZIP program, e.g. Winzip, and that can handle more formats that the XP program.
Try installing the same ZIP program that you have on w98/2k on your XP machine, and see if you can open the uploaded file using it. -
How to download multiple files?
I have an air app where a user can click a thumbnail and download that file to their download folder.
My question is how to go about allowing the user to select more than one and download them instead of one at a time.
Do i need to just put the download in a loop? Also My custom item renderer and stopped the tiles from looking like they are selected, how would i make them look selected?try this
private function downloadFile(url:String):void{
var urlStream:URLStream = new URLStream();
var request:URLRequest = new URLRequest(url);
downloadFileName=getDownloadFilename(url);
urlStream.addEventListener(Event.COMPLETE, writeFile);
urlStream.addEventListener(IOErrorEvent.IO_ERROR , function (e:IOErrorEvent):void{
urlStream.load(request);
urlStream.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
private function getDownloadFilename(URL:String):String{
return(URL.substring(URL.lastIndexOf("/"),URL.length));
private function onIOError (e:IOErrorEvent):void
trace("An Error Occured and it looked like this.", e.text);
private function writeFile(event:Event):void {
var fileStream:FileStream = new FileStream();
var file:File=//perfered filename with location
fileStream.open(file, FileMode.WRITE);
var dataBuffer:ByteArray = new ByteArray();
event.target.readBytes(dataBuffer, 0, event.target.bytesAvailable);
fileStream.writeBytes(dataBuffer, 0, dataBuffer.length);
fileStream.close();
event.target.close();
downloadFile(NEXT_ONE); -
Firefox opens up an explorer window when I download a file
Recently, Firefox started opening up an Explorer window every time I download a file. It's Better Explorer, actually, since I use that to replace the Microsoft version. The folder that opens is the target destination. So it creates multiple tabs, but I expect that it would just open up multiple instances of Windows Explorer if that's what I used.
So if I download a dozen images, I get a dozen tabs opened. This doesn't happen with IE or Chrome. I do have multiple extensions installed, but I've gone through the options in Firefox and any relating to downloads and none of them seem to have anything that might cause this. I did check the Applications tab under the Firefox Options, since that seemed like a probable cause. But I don't see anything. And I don't recall changing anything recently, in any case. I can't see anything in Better Explorer that would cause this behavior. Which is borne out by this not occurring in other browsers. And I haven't changed anything it, either.
I tried downloading something with NetVideoHunter and I get the same behavior. But it doesn't happen with DownloadThemAll!
I've tried researching it on-line, but the queries I use are apparently too similar to the ones for other issues, because nothing that comes up is even close to my problem.
As this is getting very annoying, any help would be greatly appreciated. Firefox remains my favorite desktop browser and I'm not prepared to give it up over this. But I'd hate to have to reinstall it, since I have it configure just the way I want it. And I'm not even sure that would fix the issue.
ThanksStart Firefox in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode safe mode] to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
Do NOT click the Reset button on the Safe Mode start window.
* https://support.mozilla.org/kb/Safe+Mode
* https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
In Firefox Safe mode these changes are effective:
* all extensions are disabled (about:addons)
* default theme is used (no persona)
* userChrome.css and userContent.css are ignored (chrome folder)
* default toolbar layout is used (file: localstore-safe.rdf)
* Javascript JIT compilers are disabled (prefs: javascript.options.*jit)
* hardware acceleration is disabled (Options > Advanced > General)
* plugins are not affected
* preferences are not affected
Your profile folder contains a user.js file, which includes preferences that were not created by Firefox.
so you may want to also check for a user.js file and DELETE that.
* https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save#w_user-js-file-overriding-preferences -
Error while downloading PDF file from FTP Server
Hi Friends,
I have sent a PDF file with data to FTP , Then i want to check that uploaded pdf file , whether that is correct or not?
for that , i have downloaded that file from FTP and i am trying to open the file . but it is giving this problem .
"There was an error opening the document . The file is damaged and could not be repaired."
will you suggest me regarding this.
thanks in advance.
balaji.T.CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = spoolno
src_spoolid = wa_file-rqident
no_dialog = ' '
DST_DEVICE =
PDF_DESTINATION =
IMPORTING
pdf_bytecount = numbytes
pdf_spoolid = pdfspoolid
OTF_PAGECOUNT =
btc_jobname = jobname
btc_jobcount = jobcount
TABLES
pdf = pdf
EXCEPTIONS
err_no_otf_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_dstdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11.
because of this one PDF internal table is obtained.
OPEN DATASET L_FILENAME FOR OUTPUT in text mode MESSAGE MSG.
LOOP AT pdf.
CONCATENATE pdf-tdformat "Material group
pdf-TDLINE "Basic Material
INTO ITEXT-TLINE ..
APPEND ITEXT.
TRANSFER ITEXT TO L_FILENAME.
ENDLOOP. -
Downloading a file from App Server to User's Desktop
Hi All,
I know that there are many threads on file upload and download :-)
I have tried to browse through most of them and could not find my solution.
The requirement is to place a file in the unix app server directory and allow the user to download it using a link, to the user's desktop. In case you think that this has already been answered in an old thread, kindly give me the pointer. Any sample code for doing this, would be great.
I know how to upload a file from desktop to table/app server. I know how to download a file from a BLOB column in database.
Thanks,
AmitYou would not be able to use file upload or download beans, as they interact with the database and not the filesystem.
You would need to write a simple file reader routing in plain java.
Tapash -
How to download a file from a folder
hello frnds.. i've uploaded a file to a folder in tomcat server. Now how to download that file at the client side.. pls help me out... it would be better if you gimme the related code for it..
Create a link to it.
EG:
Link
Here I asked a similar question a while back. Link
Edited by: gtRpr on 2008/12/15 10:08
Maybe you are looking for
-
I have 3 macs and 2 iPods and sometimes get confused regarding which computer I have used my iPods on. I tried to update my songs onto my video iPod on one of my laptops and it fails to transfer the files. I tried to restore the iPod but during the p
-
How can I get RoboHelp to recognize my FrameMaker installation?
I have Technical Suite 3.5 installed and several RoboHelp projects linked to FrameMaker books. The Frame books were created in FrameMaker 10. I then upgraded to Technical Suite 3.5, then later upgraded my FrameMaker to 11. All was well, RoboHelp cont
-
Plasma Screen OK to test interlacing issues?
Having interlacing issues with my 24P footage and IMac monitor. If I output to my plasma screen, is this the same as any NTSC monitor in regard to checking/monitoring interlace issues?
-
OBIEE 11g : Supply Chain Analytics : How Supplier Performance is calculated
Hi All, In OBIEE 11g : Supply Chain Analytics out of the box RPD has a report called "*Top 10 On Time Performance By Supplier*". Can anyone tell me what are the fields are being used to calculate this measure? Any information on this report will be h
-
Dear AA Experts, Our FY is from Jan-Dec. Since closing is pending for Dec 2009, we have not yet made any closing on Assets, that is, by way of Closing Assets' previous FY & opening the new FY. However, when i m trying to view any Asset Balance report