Max 255 characters in MS Office file name problem
When saving files via WebDAV to KM folders within collaboration rooms we often hit this limit of 255 characters that Office documents allow for file names (218 for MS Excel).
Because the complete webDAV URL to portal is made up of server name + a lot of portal stuff, the number of characters left for subcatalogs and document within each room is very limited.
Has anyone got a good solution to this problem?
WebDAV url example:
oslpep.agra.int:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/room_extensions/
cm_stores/documents/workspaces/303c5e8a-cb16-2810-9aa7-caaf71de197/subfolder/document.doc
Error message in Excel when saving:
"The file could not be accessed. Try one of the following:
- Make sure the specified folder exists.
- Make sure the folder that contains the file is not read-only.
- Make sure the file name does not contain any of the following characters: < > ? [ ] : | *.
- Make sure the file/path name doesn't contain more than 218 characters."
Julian, Robert
Thanks for help so far. I have now upgraded to SP2 and the situation is the same.
As far as I see the Cumulative security update is specified to solve IE-related problems. The problem with WebDAV editing of files in portal does as such not involve opening Office documents through IE, but rather editing these in any Office program and saving directly to portal through a mapped network place (a KM folder).
I still cannot see that Microsoft has published anything about a fix for this problem.
About error when opening document: http://support.microsoft.com/default.aspx?scid=kb;en-us;325573
About error when saving document: http://support.microsoft.com/default.aspx?scid=kb;en-us;213983
Is there something I have overlooked?
Regards
Henning
Similar Messages
-
Help with add file name problem with Photoshop CS4
Frustrating problem: Help with add file name problem with Photoshop CS4. What happens is this. When I am in PS CS4 or CS3 and run the following script it runs fine. When I am in Bridge and go to tools/photoshop/batch and run the same script it runs until it wants interaction with preference.rulerunits. How do I get it to quit doing this so I can run in batch mode? Any help is appreciated. HLower
Script follows:
// this script is another variation of the script addTimeStamp.js that is installed with PS7
//Check if a document is open
if ( documents.length > 0 )
var originalRulerUnits = preferences.rulerUnits;
preferences.rulerUnits = Units.INCHES;
try
var docRef = activeDocument;
// Create a text layer at the front
var myLayerRef = docRef.artLayers.add();
myLayerRef.kind = LayerKind.TEXT;
myLayerRef.name = "Filename";
var myTextRef = myLayerRef.textItem;
//Set your parameters below this line
//If you wish to show the file extension, change the n to y in the line below, if not use n.
var ShowExtension = "n";
// Insert any text to appear before the filename, such as your name and copyright info between the quotes.
//If you do not want extra text, delete between the quotes (but leave the quotes in).
var TextBefore = "Lower© ";
// Insert any text to appear after the filename between the quotes.
//If you do not want extra text, delete between the quotes (but leave the quotes in).
var TextAfter = " ";
// Set font size in Points
myTextRef.size = 10;
//Set font - use GetFontName.jsx to get exact name
myTextRef.font = "Arial";
//Set text colour in RGB values
var newColor = new SolidColor();
newColor.rgb.red = 0;
newColor.rgb.green = 0;
newColor.rgb.blue = 0;
myTextRef.color = newColor;
// Set the position of the text - percentages from left first, then from top.
myTextRef.position = new Array( 10, 99);
// Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
myLayerRef.blendMode = BlendMode.NORMAL;
// select opacity in percentage
myLayerRef.opacity = 100;
// The following code strips the extension and writes tha text layer. fname = file name only
di=(docRef.name).indexOf(".");
fname = (docRef.name).substr(0, di);
//use extension if set
if ( ShowExtension == "y" )
fname = docRef.name
myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
catch( e )
// An error occurred. Restore ruler units, then propagate the error back
// to the user
preferences.rulerUnits = originalRulerUnits;
throw e;
// Everything went Ok. Restore ruler units
preferences.rulerUnits = originalRulerUnits;
else
alert( "You must have a document open to add the filename!" );you might want to try the scripting forum howard:
http://www.adobeforums.com/webx?13@@.ef7f2cb -
MAX Number of charachters in a file name
Hi,
what is the maximum length of the file name if I have to write a TEXT filr in /tmp folder on the application server.
Thanks,
Gauravthere is no max length defined to write a file into application server. But when u look up in AL11 it shows only 255 characters. To view whole data u need to use CG3Y/CG3Z (one of these) to download to text file and view it.
-
Why are certain characters invalid in SharePoint file names/folders?
Hello. I know which characters are not accepted in file names, but someone asked me today why that was and I was stumped! Does anyone know?
They are usually invalid because the have a special meaning to the operating system or to URLs. For example the slash "/" is not allowed because it is used as a seperator in a URL. (http://yourserver/yousite/somepage.htm).
Greater than (>) and less than (<) are not allowed as they are used to redirect output from a DOS command to a file ( DIR *.doc > listofwordfiles.txt )
So each reserved character has a special use somewhere... in DOS, in HTTP, in SharePoint, etc.
Mike Smith TechTrainingNotes.blogspot.com
my SP customization book -
Need to remove sixth and remaining characters from a PDF file name
Typical file name:
1925a - SomeotherTextHere.pdf
Need to remove everything after and including the "-" symbol or the sixth position.
I've tried this but to no avail:
var filePath = this.path.replace(this.documentFileName,"");
var newFileName = this.documentFileName.substring(0,6);
this.saveAs(filePath + newFileName);
Thanks in advance,
RussellYou were right......but a quick question. Why does this work without it? Thanks again!!!
var filePath = this.path.replace(this.documentFileName,"");
var newFileName = this.documentFileName.substring(1);
this.saveAs(filePath + newFileName); -
"Invalid output file name" problem
Hi
I have installed FMLE in a Windows Vista Home Premium SP2 x64 machine. When I run the GUI version with any preset (using Medium bandwidth 300kbps VP6) and selecting "Save to file" "C:\temp\sample.flv" I get this error:
Invalid output file name
Filename cannot be invalid and absolute path of the file cannot exceed 255 characters.
The folder C:\temp DOES exist. I am running from my administrator (only) account. FMLE works just fine in my Mac but for some reason I need to set up a Windows machine.
What can be wrong?
ThanksBoth. I did the same thing I did in my Mac (in the Mac it works, in Windows it does not work):
1) open the GUI
2) set up the options I want (e.g. save to file X in folder Y)
3) save options as an XML profile
4) use the saved profile in the /p parameter of the command line
That did not work. So I just went into the GUI and:
1) set up the options I want (e.g. save to file X in folder Y)
2) Click START
That did not work either. I get the "invalid output file name" in both situations. And my file is name "sample.flv". I even tried without specifying a drive (e.g. "sample.flv" instead of "c:\folder\sample.flv"). The folder has no invalid characters and does exist. -
Path and file name problem when I want to download files from html
Hi all,
I want to write a small program to allow users download files from jsp file
but the following files don't work .
<%@ page language="java" import="java.net.*,java.io.*"%>
<%@ page import ="java.util.*"%>
<%
try
String SContent = request.getParameter("click");
String SDocName = "temp.doc"; // out put file File Name
ServletOutputStream stream= response.getOutputStream(); // Getting ServletOutputStream
response.setContentType("application/msword"); // Setting content type
response.setHeader("Content-disposition","attachment;filename=\"" +SDocName+"\""); // To pop dialog box
BufferedInputStream in = new BufferedInputStream(new FileInputStream(SContent));
int c;
while ((c = in.read()) != -1){
stream.write(c);
in.close();
stream.flush();
catch(final IOException e)
System.out.println ( "IOException." );
catch(Exception e1)
System.out.println ( "Exception." );
%>I am so confuse, what is the path and file name I sould give ? for example my click should equal to http://******/Test/display.jsp?click=00-1Hi all,
I got error at
java.lang.IllegalStateException: getOutputStream() has already been called for this response
org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
if I want ot download file from html file.
String SContent = request.getParameter("click");
if I hard code like follow it work fine.
String SContent ="C:/Project Coding.doc";
what mistake I make.
Thank you! -
BLOB unicode file name problem
Hi,
I am trying to upload pdf file into SecureLOB column, I am getting error when I try to upload file name/directory with unicode char, for other files/directory it works fine.
w_src_loc := bfilename('LDIR', in_file_name);
dbms_lob.open(w_src_loc, dbms_lob.lob_readonly);
dbms_lob.open gives file not found error in oracle 11g,
Can any one guide me what may be the problem?
DB's character set:
NLS_CHARACTERSET
AL32UTF8
NLS_NCHAR_CHARACTERSET
AL16UTF16
P.S. Oracle is running in Windows and unicode (chinese) enabled OS.
-Raj> I am getting error when I try to upload file name/directory with unicode char,
ERROR? What Error?
I do not see any error.
my car won't go
tell me how to make my car go.
How do I ask a question on the forums?
https://forums.oracle.com/message/9362002#9362002 -
Hi all,
Got this wierd problem with DMS.
I am opening (in change mode) an excel document stored in our DMS for editting, then I check it back in again. When I check it back in again and save, the orignal file name is getting the temp folder name appended to it!
In CV02n I have setup a Temp working directory for files, e.g. N:\Mydocs. Lets say my document is called "Requirements.xlsx" , everytime I open the document, make some changes and check it back in again SAP is adding the temp directory name to the original file name... after 3 or 4 check out/ins the file name is now "MydocsMydocsMydocsMydocsRequirements.xlsx"!!!
How do I stop SAP appending the folder name to the original file name?Doh!
I've just figured out my own problem.
The temp working directory setup in CV02n did not have a "\" on the end of the path... so SAP thinks it's a name not a location.
changing the Temp working directory to N:\Mydocs\ solved the problem. -
Acrobat 7.1 OS: XP PRINT TO PDF file name problems
Here is all the info.
when i goto file print and select Adobe pdf as the printer.
The window shows up titled: Save PDF File AS
The current "Save in" window is Desktop / My Documents / CATALOG / CATALOG PDF VERSION / PDF PORTFOLIO VERSION
The preloaded "File name" is: C:\Documents and Settings\Chip\My Documents\2009 - A PO\09 - AH - Ellouise Abbott, Houston\09 - AD - 5846, Lloyd, IBB, j-227\INDEX-glass,mica,linen.pdf
The preloaded "Save as type" is: PDF files (*.PDF)
I am sending out this pdf to a lot of customers and I do not want them to see the preloaded information for file name. Is this only happening because it is on my computer. OR when i send the same pdf to a different customer will they see the preloaded file name "C:\Documents and Settings\Chip\My Documents\2009 - A PO\09 - AH - Ellouise Abbott, Houston\09 - AD - 5846, Lloyd, IBB, j-227\INDEX-glass,mica,linen.pdf"
Below is a screenshot to give you a better idea:
Message was edited by: axlrose13this question is for a different machine running acrobat 9 on xp. its a completly different question regarding the file names if they will show up on another persons computer if we send them the pdf file.
-
hi,
when i try to run script in a file i got an error.
i tried following command.
@D:\Database Architecture\Scripts\test.sql
It throw error as D:\Database.sql file not found.
I'm facing this problem when i use Edit command and SQLPlus utility.
how to solve this problem?
I want to run files which are stored in directories whose names are containing embedded spaces.
Thanks.You have to enclose the string in double quotes.
Example:
SQL> @c:joelperez/hi bye/joel.sql
SP2-0310: unable to open file "c:joelperez/hi.sql"
SQL>
SQL> @"c:joelperez/hi bye/joel.sql"
SYSDATE
17/02/04
SQL>
Joel Pérez
http://otn.oracle.com/experts -
UPPER and lower case file names problem on CD
Hello,
I have a CD which contains, in web page format, the contents of a bibliographical work formerly published on paper. The link codes in all these web pages use lower case filenames. Unfortunately, the files on the disk are a mix with some of them in uppercase, i.e. AD4.HTM and some in lower case, i.e. intro.htm.
This disk used to work, under OS 9 in Internet Explorer. But now, under OS X 10.4.11 and using either Safari or Firefox, I'm getting Page Not Found errors whenever the filename is uppercase.
I could copy all the files off the CD to my hard drive and run a renamer utility to change all of them to lower case. But I have another CD from the same publisher -- same problem -- and may get more, and I don't particularly want all those files on my drive anyway. There's a lot of them!
Is there any kind of setting -- perhaps accessible through one of those arcane terminal commands for setting hidden preferences -- which would allow me to tell the Finder (or maybe Safari or Firefox) to not care about the case of the filenames?
Note that I can change the case of a local HTML file and either browser can still find it. This is only happening on the CD.
TIA
RobI don't think I'll try that one. The most recent update of SheepShaver was slightly over 2 years ago, which indicates to me that the developer is busy doing other things.
I'm very conservative in what I'll install into my system, and old, one-developer software does not fit my standards.
If no other answer comes up, I think I'll copy the files to my hard drive, rename them, then write out a CD with the renamed files and use that one instead. Of course the original CD may contain copy protection features which will prevent this -- I haven't tried it yet.
Message was edited by: Rob Stevenson -
Save as PDF - default file name problem
When I try to Save as PDF from the print dialog box (in Mail, Safari, iWork, etc.) the filename and title both default to:
286>756<6<29
Does anyone have any ideas why the fields are not being populated with the correct information?Then, you might have a mucked up font database. Reboot into safe mode and then reboot normally. That will clear those databases. Note, however, it'll will also clear any font collections you've made with Font Book. Once that's done, launch Font Book, select all fonts, and validate them, resolving all duplicates. If this doesn't fix the problem, then I have nothing else to offer.
-
Illegal characters in topic file names
Robohelpers,
I imported vintage MS Word files (dating from the early 90s)
in to RoboHlep HTML. The topics generated correctly, but some of
the characters in the the file names converted incorrectly, and are
not recognized inside the program and the links to these topics are
dead.
The most common glitches:
- The EN dash converts to an underscore, e.g. _–_
appears on the disk as ___
- The apostrophe converts to Æ
The Topic list shows the correct characters. But since they
don't agree with the physical file names, RoboHelp marks the icon
with an "X".
What's the best way to correct his situation, if you have
hundreds of topics to deal with?
I search for a solution without success. I can't believe that
no one has encountered this issue before.
Best regards,
Charles Arnold
MetLife DI
Tampa, Florida
I found a utility call "Rename" by on an Adobe web site, but
it generated DLL conflict in my computer.Hello Charles -
Are you posting to the correct forum? I ask because you
posted that you're importing into RoboHelp HTML - this is the
WebHelp forum. However, your situation can also occur with WebHelp.
The problem is the Word files used Microsoft extended characters,
the so-called "Smart" characters but that was dumb to use for
anything that is converted to HTML. Do a mass search and replace
for the "Stupid" quote, apostrophy and EN-dash and correct them to
true HTML valid characters.
Regards,
GEWB
See:
http://tatumweb.com/typerat/ansirodent.htm -
Allowable Characters in the file names within Oracle iFS
What characters are allowable in file names within Oracle iFS?
Are slashes (/ \) possible?
Thanks,
Sai Mummalaneni.Be carefull with file and directory names in iFS. You might be able to create folders and add document to it through the web interface that the windows explorer interface might not be able to interpret. Like a directory named '.'.
Tamas Szecsy
Maybe you are looking for
-
How do you find the number of lines in a file?
I need to count how many lines there are in a file, I am using a BufferedReader to read in the data, but how can I find the number of lines? Thanks
-
Electric Boogaloo sheets 1+2
Q1: i) A wine shop allows customers to only buy wine in packages containing 3, 9 or 12 bottles. Write a method that accepts an integer (num) as a parameter and decides whether or not it is possible to buy num bottles of wine at the shop. Your method
-
Changed BIOS settings, Monitor won't turn on (Help with resetting CMOS)
Hello, I have an HP Envoy 700 PC Series. Running Windows 8. Everything was working fine, until I changed/disabled some settings in the BIOS, an dnow the PC turns on without any display. I need to reset my Bios settings. I tried removing the CMOS batt
-
Try this on your ipod touch: search for "macgyver" in the Google search bar in Safari. For some reason it won't let you type in the g after entering mac. Instead it puts in an h. If you try holding your finger over the g while typing, the g will not
-
Bevel Filter from Illustrator ?
Hello all Happy to be among the first to use this forum I did a UI design on Photoshop with a lot of Bevel effects. After having realized that Catalyst better imports Illustrator layers, I decided to start over my design on Illustrator. However, I di