Browser File Handling
Hi Folks,
I have existing web application setup is now Browser File Handling =permissive
Requirement:- force to download pdf file as save option (no need to open in browser)
Now i have changed settings Strict, but still pdf file open in browser only.So please let me know how to setup do force to download only pdf file.
Give solution asap plz
Thanks
Hi,
From your description, I know you want to download pdf file without opening in browser.
I reproduce your issue with your steps. To resolve your issue, please try these points below:
1.
Test your case in another browser.
2.
Test in another computer with the same environment.
3.
Clean the cookies of current browser, then test your issue.
Best Regards
Vincent Han
TechNet Community Support
Similar Messages
-
Browse and handle jar files?
I´m going to make a little app to help some morons I know. Pretty much what I want it to do is to make you able to browse files on your HDD and then move them into a .jar file. I know terminal commands for this but is there a way to make it really easy for my friends.
I dunno if this helps but when I do it thought terminal I first unarchive the .jar, change content and then compress it and move it back.
Is this possible?I still don't think it's good for morons to create .jar files...
set javrfile to quoted form of (POSIX path of (choose file with prompt ".jar file:" of type {"jar"}))
set filestoadd to choose file with prompt "files to add:" with multiple selections allowed
set filestoadd_unixpaths to {}
repeat with filetoadd in filestoadd
set filetoadd to quoted form of (POSIX path of filetoadd)
set filestoadd_unixpaths to filestoadd_unixpaths & filetoadd
end repeat
set AppleScript's text item delimiters to " "
set filestoadd_unixpaths to filestoadd_unixpaths as text
set AppleScript's text item delimiters to ""
display dialog (do shell script "jar vuf " & filestoadd_unixpaths) -
Default file handler in frefox
Hello,
I'm recently switched from Konqueror to Firefox @ KDE. Everything works fine, but one thing that irritates me is that FF doesn't know how to use the KDE mime types DB. So for every file (doc/pdf/odt/xls etc) I have to point to the correct binary using the truly annoying file browser dialogue from Firefox.
So I started looking around how for example Opera handled it, and that browser opens the downloaded file with `kfmclient exec`, which automatically seems to open the file in the correct app. But the problem is, that with Firefox, I still have to point every file to that binary, which is almost as inconvenient as having to point each filetype to the real binary.
Does anyone know how to define a default file handler in Firefox? Or another way to let FF use the KDE filetype database? Thanks in advance.phrakture wrote:Firefox uses gnome's file associations if available. There's no way around it. HOWEVER, it also allows for /etc/mailcap and ~/.mailcap to override those settings (hooray). If you can somehow export your kde settings to mailcap format, that would work.
That's a shame. I guess I'm going to switch back to Konqeror. It's way faster and lighter anyway -
I have some code associated with a Word Template. The template is opened, filled out and saved via a routing in vba. This all works fine in older 2007 version (which is version it was originally created in). Once this file is saved, the user can change the
date in a text box and re-save document. The code saves using the new date for part of new file name and then deletes that older file from the server. It fails at the delete function because the newer version of word is not dropping the file handle from the
first named file when user saves it to the new filename. In older version (2007) this handle was released as soon as file was saved to a different name. I can't seem to figure out how to release the old document filename so the old document file can be deleted.
I hope I explained this well enough.
Here's the code that woeked in version 2007 but fails in version 2010.
Option Explicit
Dim CAPEX01 As MSForms.ComboBox
Dim CAPEX02 As MSForms.ComboBox
Dim LocalPath As String
Dim NetPath As String
Dim OldPath As String
Dim OldPathNet As String
Dim DocName01 As String
Dim DocName02 As String
Dim DocName03 As String
Dim DocName04 As String
Dim DocName As String
Dim DocNameold As String
Dim TestDocName As String
Dim filesys
Dim newfolder
Sub AutoOpen()
ActiveDocument.ActiveWindow.View.Type = wdPrintView
TestDocName = ActiveDocument.TextBox2
OldPathNet = "\\yourPath\" & TestDocName & "\"
End Sub
Sub AutoNew()
TestDocName = ActiveDocument.TextBox2
OldPathNet = "\\yourPath\" & TestDocName & "\"
ComboBox1.Locked = False
ComboBox1.Enabled = True
FillList1
FillList2
End Sub
Sub DeleteOldDoc()
OldPathNet = "\\yourPath\" & TestDocName ' & "\"
DocNameold = OldPathNet & TestDocName & "-" & DocName02 & "-" & DocName03 & "-" & DocName04 & ".doc"
If Not TestDocName = DocName01 Then
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists(DocNameold) Then
filesys.DeleteFile (DocNameold), True
'I get file permission error here
End If
End If
If DocName01 <> "" Then
If Not TestDocName = DocName01 Then
If Not TestDocName = "" Then
MsgBox "Project Proposal Has Been Moved From Year " & TestDocName & " To " & DocName01 & ""
End If
End If
End If
TestDocName = DocName01
End Sub
'''''''Document path functions''''''
Sub chkpath()
Set filesys = CreateObject("Scripting.FileSystemObject")
If Not filesys.FolderExists("\\yourPath\") Then
newfolder = filesys.CreateFolder("\\yourPath\")
End If
If Not filesys.FolderExists("\\yourPath\" & DocName01 & "\") Then
newfolder = filesys.CreateFolder("\\yourPath\" & DocName01 & "\")
End If
End Sub
''''''Save Function''''''
Private Sub CommandButton1_Click()
DocName01 = ActiveDocument.TextBox2
DocName02 = ActiveDocument.TextBox4
DocName03 = ActiveDocument.TextBox1
DocName04 = ActiveDocument.ComboBox1.Value
chkpath
NetPath = "\\yourPath\" & DocName01 & "\"
DocName = NetPath & DocName01 & "-" & DocName02 & "-" & DocName03 & "-" & DocName04
ActiveDocument.SaveAs2 FileName:=DocName, FileFormat:=wdFormatDocument
ComboBox1.Locked = True
ComboBox1.Enabled = False
ComboBox2.Locked = True
ComboBox2.Enabled = False
TextBox1.Locked = True
TextBox1.Enabled = False
TextBox3.Locked = True
TextBox3.Enabled = False
TextBox4.Locked = True
TextBox4.Enabled = False
DeleteOldDoc
End Sub
Sub FillList1()
Set CAPEX02 = ActiveDocument.ComboBox2
With CAPEX02
.AddItem "CASTING", 0
.AddItem "HOT ROLLING", 1
.AddItem "COLD ROLLING", 2
.AddItem "FINISHING", 3
.AddItem "PLANT GENERAL", 4
.AddItem "MOBILE EQUIPMENT", 5
End With
End Sub
Sub FillList2()
Set CAPEX01 = ActiveDocument.ComboBox1
With CAPEX01
.AddItem "A Name", 0
.AddItem "Another Name", 1
End With
End Sub
Private Sub CommandButton2_Click()
UserForm1.Show
End Submogulman52 and Don,
I went back and looked at my code and had already updated it to SaveAs in the new docx format. It still holds the lock handle in place until Word closes, unlike earlier versions which released the lock handle when you did a SaveAs.
As a note, all my Word and Excel macro-enabled (dotm & xltm) templates are read only and are never filled in, prompting the user for a file name on any close event or if they run the code gets auto-named. I do the SaveAs and concatenate the file name
from data on the document (or sheet) that has been filled in. During the SaveAs the docx gets saved to a network folder and also on a local folder. The lock gets renamed to the filename and remains until Word is closed.
So my code still fails at the point noted below while trying to delete an old filename version after the file has been saved as a new filename in a new folder. So....
The code is looking in the last folder where the docx file was saved for the older filename so it can be deleted. The newest docx version has already been saved in a different folder and has a new lock handle of its own. That lock is not my problem, it's
the older file lock which really exists in the same folder as the first filename that the docx was saved to. It does not release that lock until I exit Word. My work around has been to instruct all users to manually delete the older version file.
The other odd thing is this only happens when I run it from code, if you manually go through these steps with the SaveAs menu drop-downs in Word it will release the lock handle???
Hope this isn't to confusing and thanks for all your suggestions and help.
Sub DeleteOldDoc()
OldPathNet = "\\yourPath\" & TestDocName ' & "\"
DocNameold = OldPathNet & TestDocName & "-" & DocName02 & "-" & DocName03 & "-" & DocName04 & ".doc"
If Not TestDocName = DocName01 Then
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists(DocNameold) Then
filesys.DeleteFile (DocNameold), True 'I get file permission error here- lock handle is still present from last SaveAs command in last folder where previous version of file was saved.
End If
End If
If DocName01 <> "" Then
If Not TestDocName = DocName01 Then
If Not TestDocName = "" Then
MsgBox "Project Proposal Has Been Moved From Year " & TestDocName & " To " & DocName01 & ""
End If
End If
End If
TestDocName = DocName01
End Sub
Glenn -
How Do RoboHelp 9 WebHelp Generated Files Handle Map IDs and Aliases?
The text below was written by our team's developer/architect. I am the help author who uses RoboHelp to write content and generate the help files, but I am clueless how it all gets generated and is deployed. Please help. We use RoboHelp 9. I use it in Windows XP and our app and help run on IE 7, 9, and Firefox (multiple versions).
"Our application uses the numeric identifiers associated with the Map ID. For example, to get to the <appname>_home_page.htm file, we use the number 1053. <appname> = pecs, in this example.
All of this is used in a call to a RoboHelp method defined in the RoboHelp_CSH.js file. The mehtod we are calling is the RH_ShowHelp() JavaScript method and the code to perform the call, when you click on Page Help, is this:
RH_ShowHelp(0, ''/pecsHelp/index.htm>pecsHelp',HH_HELP_CONTEXT,topic);
Topic is translated to the Map ID number for the page help. HH_HELP_CONTEXT is defined in the RoboHelp_CSH.js file. This method translates into a URL and from what I have seen, the URL that gets generated is this:
http://{server}[:port]/pecsHelp/index.htm/{server}[:port]/pecsHelp/index.htm#<id=1053>>pecsHelp
Server and port get replaced with the appropriate values. I have no clue how id=1053 is supposed to get translated to mean "pecs_home_page.htm". If you check the PECS_help.h file, you will see the following entry:
#define PECS_Home_Page1 1053
Then in the RoboHelp alias file (PECS 3.0.ali), the following line is in the file:
<alias name="PECS_Home_Page1" link="pecs_home_page.htm"> </alias>
But both of these files are used during the WebHelp generation process and I don't know how the WebHelp generated files handle the Map ID and aliases."You need to assign the numbers you find in the pecs_help.h file to topics in your help. You do this in Context Sensitive Help > Map Files > All Map IDs. (From RH7, but I assume the location is similar in RH9.) This creates the entries in the .ali file.
Peter Grainge suggests a couple of sites to read for a greater understanding here:
http://www.grainge.org/pages/authoring/calling_webhelp/using_map_ids.htm
(Although the second site is based on RH X5, the basic concepts and procedures should be very similar. )
HTH,
Amber -
Looking for a name of the application that allows you to browse files
Looking for a name of the application that allows you to browse files in Linux shell! Here's someones screenshot
http://s8.postimg.org/ksexr9nbp/image.jpg
that app in the middle - browsing home directory!
Thanks all in advance!bohoomil wrote:Check the Wiki, File managers, and generally always check the Wiki before asking, after asking, and instead of asking...
An apple can be an effective contraceptive. Not before. Not after. Instead. -
Error in creating IO file handles for job (number 3152513)
Hi All -
I am using Tidal 5.3.1.307. And the Windows agent that is running these jobs is at 3.0.2.05.
Basically the error in the subject was received when starting a particular job once it was cancelled and a couple of other different jobs a few days before. These jobs have run successfully in the past.
This particular job was running for 500+ minutes when it should run at an estimated 40 minutes. At that time it would not allow for a re-start of the job, it just stayed in a launched status.
Trying to figure out what causes this error.
Error in creating IO file handles for job 3152513
Note - from that being said we were to see 2 instances of this process running at the same time, we noticed some blocking on the DB side of things.
Trying to figure out if this is a known tidal issue or a coding issue or both.
Another side note, after cancelling the 2nd rerun attempt the following error was encountered: Error activating job, Duplicate.
When we did receive the Error creating IO file, the job did actually restart, but Tidal actually lost hooks into it and the query was still running as an orphan on the db server.
Thanks All!The server to reboot is the agent server. You can try stopping the agent and then manually deleting the file. That may work. When the agent is running the agent process may keep the file locked, so rebooting may not be sufficient.
The numerical folders are found as sub-directories off of the services directory I mentioned. I think the numbers correspond to the job type, so one number corresponds to standard jobs, another to FTP jobs. I'd just look in the numbered directories until you find a filename matching the job number.
The extensions don't really matter since you will want to delete all files that match your job number. There should only be one or two files that you need to delete and they should all be in the same numbered sub-directory.
As to the root cause of the problem, I can't really say since it doesn't happen very often. My recollection is that it is either caused by a job blowing up spectacularly (e.g. a memory leak in the program being launched by Tidal) or someone doing something atypical with the client. -
Problem with „Empty-File Handling" in PI 7.11
Hi,
Iu2019m working in PI 7.11 with file adapter, Sender CC, option: Empty-File Handling: Process Empty Files.
What I want to do is giving target file the system-date, if the source file is empty.
But I always get a mapping error in RTWB: Premature end of file.
It seems that the payload is empty.
Any idea?
Thanks a lot in advance!
Rene Dong
Edited by: Rene Dong on Aug 31, 2010 4:20 PMWhat I want to do is giving target file the system-date, if the source file is empty.
The error you are getting makes sense. You should do a check in the mapping, if the payload is empty then use brute force to pass the system date. -
How do I know if this variable is a file handle?
G'day
(This has also been posted on StackOverflow)
Say I have this code:
function doFileStuff(){
var file = "";
try {
file = fileOpen(filePath);
// do stuff with file
finally {
fileClose(file);
If the fileOpen() process fails, the fileClose() call will error. What I need to do is this sort of thing (pseudocode):
if (isFile(file)){
fileClose(file);
I know I can test if file is an empty string still, and this works for me here, but it's not testing what I should be testing: whether file is a file handle. I can check the object's Java class, but this again sounds a bit hacky to me, and there should be a CFML way of doing it.
There should be something like just isFile(), shouldn't there? I can't find anything like this in the docs.
Any thoughts / tips? I have gone into more depth in my investigations on my blog. it's too wordy for here.
Cheers for any help.
AdamThat would just defer the issue.. fileOpen() doesn't return a boolean, so I can't go:
if (fileOpen(filePath)){
fileClose(file);
fileOpen() returns a file object; or nothing if it fails. The whole thing is to identify whether it's a file. That's the question.
As per my original, it's dead easy to work around, provided one leverages known side effects of the situation (original variable state; that if it's a file it exposes some public properties; that one can doa getClass() on it via Java, etc), but one shouldn't have to work around something as fundamental as this. So I was wondering if I had missed something.
Seemingly not (based on feedback I've had from various quarters).
Adam -
Open file/browse-file dialog window size too small
It seems like the size of the "Open file" and "Browse file"-dialog windows have become too small to use efficiently.
I'm not sure if this is related to the latest updates from testing, but it wasn't like this before. I have to resize the dialog window every time in order to be able to select files and folders.
The changes are not saved across the same session of a program, but it does result in unpredictable behavior in gedit.
If I resize the open file dialog, then close the dialog, then open it again, the changes are sometimes preserved, but not always. Sometimes it's small and sometimes it's resized, and there's no way of telling.
I'm running compiz-fusion and emerald, but the bug is not related to window manager, as it's the same with metacity and openbox. So it's for all GTK programs.
When I try to run gnome-appearance-properties, I get:
"Unable to start the settings manager 'gnome-settings-daemon'.
Without the GNOME settings manager running, some preferences may not take effect. This could indicate a problem with Bonobo, or a non-GNOME (e.g. KDE) settings manager may already be active and conflicting with the GNOME settings manager."
and the problem remains no mather what GTK theme I choose.
Is gnome-settings-daemon responsible for this kind of behavior?
Last edited by WeeDie (2008-10-12 00:52:03)The issue was resolved by updating all to gnome-desktop 2.24 from testing..
Seems like the swedish repository mirrors are a bit left behind.. -
"The document could not be opened. Bad file handle." Error
Greetings,
I have many operators opening documentation using acrobat reader 8.1.2. When the documents are opened, sometimes a change has to be done to the file. I use computer management to "kick" everyone out of the files, update the .pdf, and then they can re-open the file to see the latest and greatest version. The problem is, if not everyone is out of the file, I sometimes get a ""The document could not be opened. Bad file handle." error, and have to usually wait a period of time before it will let anyone in. I think it has something to do with the windows temp files, but am unsure. It's hard to ensure everyone is out of the document on time, as up to 50 people may be in it at the same time.
Is there perhaps a better way of publishing the new verison of the document?
Thanks for any help you can provide!these two errors below is what I am receiving when do a program integrity scan: common program locations.
I have done a repair on acrobat reader and I do have the two dll files I even put them in reader folder and still receiving the errors.
missing file:"c:\program file\adobe\reader 8.0\reader\acrord32.exe"
"c:\program files\adobe\reader 8.0\reader\acrord32.exe"cannot access a necessary file,"msvcp80.dll
missing file:"c:\program file\adobe\reader 8.0\reader\acrord32.exe"
"c:\program files\adobe\reader 8.0\reader\acrord32.exe"cannot access a necessary file,"msvcr80.dll -
Empty File Handling in xLink adapter
Helloo Experts
I am doing a scenario, which creates an empty file(when some mapping condition doesnt satisfy).
I dont want to write this empty file in the target directory.
This can be handled if a file adapter is used, but I am using a SOAP AXIS adapter, so I dont know how to handle this here.
I alaso tried using the StrictXml2PlainBean to avoid the creation, it creates 0 documents and a 0kb empty file.
Can anyone please let me know how this can be solved????
Also if some one has done this empty file handling in J2SE file adapter...can you tell how it was done.
Thanks a lot!!!!!!
Regards
ShobhaHi Gabriel,
You can write a simple script to copy a file from source folder to target in case the fiel size is ZERO bytes. The script will not copy the file if the filesize is more than zero bytes, This will be processed normally by PI server. You can call the script from sender communication channel parameter : "RUN OS command before message processing". Could you please specify the Operating System (OS) you are using in your PI server.
Regards
Anupam -
***Empty File handling,sender .txt file
Hi All,
Can we use the option Empty file Handle if the sender is a text file.
if so how to achieve this.
Thanks,
SrinivasaHi,
Refer the section of 'Empty File Handling' from the below link:
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
You will get the required result.
Regards,
Supriya. -
Empty File Handling : Do Not Create Message
Hi,
I have set this option in Sender CC - file.
Parameters --> Processing.
I dont want to pass file to reciever , when file is empty.
Will the above option "Do Not Create Message" do the trick.
OR do i need to choose something else??
-santosh.Santosh,
Yes. The trick will work for empty file handling.
When your incoming file is empty then will be no xml message posted to IE and hence receiver will not get any message.
FYI: Also you can use skip empty files which will do the same but here the files will remain in your source directory.
Regards,
Prasanthi. -
Dear All
I have a querry regarding file handling capabilities at XI ....
files are coming to FTP Server XI Picks the file from a FTP server and process to post at R/3
& file is archives at another folder at FTP server .... some peple at diffrent center post the file again at FTP .....
is there any way at XI , so that XI did not pick the same file /duplicate file again .....
how can i achieve this
Thanks
PriyaHi
No standard way exists at XI
look at this pdf
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/99593f86-0601-0010-059d-d2dd39dceaa0
refer this wiki https://wiki.sdn.sap.com/wiki/x/AoFwAg
refer this Blog/people/sandeep.jaiswal/blog/2008/05/13/adapter-module-to-stop-processing-of-duplicate-file-ftp-location
duplicate File name check
Regards
Abhishek
Maybe you are looking for
-
HOW TO COMPLETELY DISABLE PASSWORD IN MACBOOK PRO RUNNING MOUNTAIN LION?
i am quiet annoyed with my mac because everytime i want to isntall something it asks me for password i have deleted the password, now i dont have to type it anymore but simply have to press enter but is there any way to completely disable this thing?
-
Multi-language support for change password page in OAM
How do we setup multiple language change password from lost password management in OAM. Thanks. Vinay
-
I have just downloaded LR5 & trying out the develop mode. Don't know how it happened but lost the 'basic' menu in develop mode, how can I gewt this back?
-
List box column shown in password style
Hello, for my application i need to show / convert a column of a list box (with passwords) in password style (******). Example: Name Password Rights John ***** No Luis ***** Yes How can i make this. greetin
-
we are having 11.2.0.2 RAC Database on 3 node cluster. OS : RHEL 5.6 when OPatch auto is used to apply patch do we need to stop all the instances on the node and the cluster or auto command will automatically stop and start all the processes running