Upload new pdf file with the same name
We are trying to upload a pdf file with a specific name (i.e
file.pdf) that has links to it on many pages of a website. We need
the pdf file to keep the same name but when we try to upload it,
Contribute is being 'smart' and changing the name so as to not
overwrite the file on the server. But we WANT to overwrite the file
on the server. Any ideas on how we can achieve this in Contribute?
Thanks so much (in advance) for your help!
Actually, we have the same problem and I believe the answer
lies in the abilities that your role has assigned to it. The
solution that ThinkInk gave works *if you are allowed to delete
files*. If your role doesn't have that permission, then it will
just upload another copy of the file and rename it.
It's rather irritating that there isn't more control over
this...our server is littered with *thousands and thousands* of
duplicate files that originate from this situation.
If your administrator wants you to be able to delete files as
well, then you could get him/her to give you that permission, and I
believe this will allow you to overwrite the file by using the
"Publish file from my computer" option described above.
Similar Messages
-
How can I overwrite a file with the same name in Content DB?
Hi All,
In Content DB if I upload a file with the same name as a previous one, the application shows the warning message:
" ...You cannot upload "XXXXXX.doc" to "Test 1" because an item with the same name already exists ..."
And the alternatives are "Create Version" or "Cancel" the operation. Is there any way to overwrite a previous file as we can do it in Oracle Files ?
Regards
HarveyHi All,
Can anybody from the Content DB product development answer this question?
Regards
Harvey -
How do I make Applescript to compress 2 filez with the same name?
Hello guys and thank you for reading this!
I don't know a lot about programming, but i believe applescript can save my life. What I need is.
Detecting 2 files with the same name, but differnt extension. (song 1.jpg, song 1.mp3)
Compressing those 2 files into a single .zip (In the end I would have song 1.jpg, song 1.mp3 and song 1.zip
And that's it! I know its pretty simple, and I've seen the "Create Archive" in automator, but I don't really know how to tell him which files to Compress.
Thanks again!Hi,
Try this script :
set sourceFolder to choose folder
tell application "System Events"
{name, name extension} of (files of sourceFolder whose name extension is not "zip")
my compress2FilesSameName(the result, sourceFolder as string)
repeat with i in (get folders of sourceFolder) --check in subfolders
{name, name extension} of (files of i whose name extension is not "zip")
my compress2FilesSameName(the result, path of i)
end repeat
end tell
on compress2FilesSameName(tList, tFolder)
set tnames to item 1 of tList
set tExtensions to item 2 of tList
set tc to count tnames
set j to 1
repeat while j < tc
tell (item j of tExtensions) to if it is not missing value or it is not "" then
set n1 to (count) + 2
else
set n1 to 1
end if
tell (item (j + 1) of tExtensions) to if it is not missing value or it is not "" then
set n2 to (count) + 2
else
set n2 to 1
end if
set name1 to item j of tnames
set name2 to item (j + 1) of tnames
if (text 1 thru -n1 of name1) = (text 1 thru -n2 of name2) then -- same name
set tFile1 to quoted form of POSIX path of (tFolder & name1)
set tFile2 to quoted form of POSIX path of (tFolder & name2)
set zipFile to quoted form of POSIX path of (tFolder & (text 1 thru -n1 of name1) & ".zip")
do shell script "/usr/bin/zip -j " & zipFile & " " & tFile1 & " " & tFile2
set j to j + 2
else
set j to j + 1
end if
end repeat
end compress2FilesSameName
if an archive already exists with the same name (in the parent folder of the files to compress) , the ZIP command overwrite this ".zip" file.
Example with "song 1.jpg", "song 1.mp3" and "song 1.zip" :
If "song 1.zip" doesn't exist, the ZIP command create the "song 1.zip" file.
If "song 1.zip" exist, the ZIP command overwrite the "song 1.zip" file (it will not create a new archive). -
Create a dir if there exists a file with the same name
Hi..
I want to create a directory with file.mkdir(). But I recognize a problem when there is allready a File with the same name.
Is there any solution to handle a dir and a file with the same name?
eg: Dir "C:\Windows" and File "C:\Windows"
wamiThis explains it... use "java Test2 asdsfd" for example. While this example doesn't show it,
if you try to create a dir with another slash on it c:\blah\ , it still can't be done.
import java.io.*;
public class Test2
public static void main (String args[]) throws Exception
if (args.length < 1){
System.out.println("Test2 [name]");
System.out.println("creating bogus file " +args[0]);
FileOutputStream fo = new FileOutputStream(args[0]);
fo.write(55);
fo.write(55);
fo.write(55);
fo.close();
File x = new File(args[0]);
if (x.mkdir()) System.out.println("made dir " + args[0]);
else System.out.println("failed to make dir " + args[0]);
System.out.println("deleting file " + args[0]);
x.delete();
if (x.mkdir()) System.out.println("made dir " + args[0]);
else System.out.println("failed to make dir " + args[0] + " again !");
} -
Is it possible to have two files with the same name on my Zen To
Hia,
Is it possible to have two mp3 files with the same name?; I.e if I'm ripping a Bach CD, there are several tracks that have the name preludium, and I hate to do the rename.
Also, will I be able to sync my Zen so that It will only recieve new files that have been added since I last connected my Zen to my computer?
regards,
FredrikI believe same filename is OK because the Zen Player does not really care about filename. As far as I know, the Zen database of the tracks in the player is based on the track information such as Title, Artist, Album and Genre. This means you cannot have two tracks of the same Title, Artist, Album and Genre in the Zen Player.
-
I'm trying to put movies onto my hard drive but i can't put the files with the same name onto the hard drive , finder won't let me change the name. What am i doing wrong?
Make a new folder and put them in that different folder. Then the names can be the same as others already on your drive.
-
After installing the latest update to Firefox onto Vista operating system the record part of real player no longer works, I think Mozila and Real are using a library file with the same name and the Mozila update is overwriting a Realplayer library file.
I was giong to say, "Help me, Adobe Joe Kenobi", but it looks like you're growing a beard waiting for an answer, too.
The same thing happened to me today. I trusted the "update" message since it was from Adobe, and apprently did so at my own peril. Now I get the "failed to load Core dll" message with a secondary reference to a memory address.
Just an observation, but what good are these forums when there are no answers? I see this problem as "Caused by Adobe Update", and would expect them to troublshoot and offer up a remedy. Since you've been waiting over two months with no response, I suppose it's time to trek off wasting more of my precious time to fix their problem. If I find the solution, I'll post it back to you.
May the Force be with you.
Mark -
For each loop in case of more file with the same name
Hi, guys how works ForEachLoop in case of double file? Let's say that we got five excel file. A.xls, B.xls, C.xls, D.xls, A.xls. We got two file with A.xls. I'm going to assume that both file will be loaded. It's correct?
I'm asking this because I need to check if I got two file with the same name ( I got hundreds of file to load). And in the same time I need to avoid to load two file with the same title ( cause I could double the data)If there are duplicate file names in subfolders then you should fill the variable with the complete path. See C in this images:
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com |
Twitter -
The same file with the same name need to call two RFC's with the sequence
i have to pick up the same file with the same name and call the two RFC in sequence
scenario.i have xxx.txt file.file should be proces first calling the first rfc .
I created two different communication channels
for the first sender file communication channel i should not use processing mode archive,delete,Test
and only option is set read only.
if i set the read only the file ..then i can not use the same file again to call second RFC.
how we can acheive the above scenario?
Regards,
HymaIf you want to file need to be picked up twice in same folder, it seems it is hard for PI adapter to achieve it, you should look for API's that control adapters availibility.
But if you have different folder, then it make your scenario simpler since you can process first time, then output to another folder, configure another adapter to pick up from different folder.
Regards
Liang -
Cloning OS2 HDD to USB stick hangs at a file with the same name ???
Hi,
I'm dragging my MacIntosh HD icon to a large USB stick in order to clone it because I'm going to install OS X Tiger onty my iMac G3/400 DV SE. The copying initiates, it starts, and after a few hundreds of MB's a small window pops up with this remark (translated from Dutch) :
" The file XXXXX cannot be copied because another file with the same name exists already." The window has two buttons : STOP and Continue. No matter which button I click, the process stops and I'm left with a few hundred MB on my USB stick. Deleting the "double" file doesn't help because a few minutes later another one pops up.
How is this possible? The USB stick is completely empty! Can anybody tell me what's going on and how to stop this, otherwise I'll never be able to clone the HDD.
Thanks for your kind information,
PaulIt was a bug in Classic OS, which was manifest in certain circumstances. My workaround was, at that time, to isolate the rascal (was possible, like in your case), eliminate it, then add it later.
Such events may occurs with Mac OS X files too, I cannot figure out why. One or two apps in my software archive usually do that.
another workaround it to archive it (.zip now, .sit in classic Mac OS), check whether applicable. -
How to open a file with the same name?
Hi, now I practicing making web pages where I put sample codes in one directory and I copy them to edit.
The probrem is, I couldn't open one file while I'm opening another file with the same name.
Is it possible to open a file with the same name in Dreamweaver?That could be a very error prone practice.
May I suggest you take advantage of DW "Snippets" feature instead.
Simply save any blocks of code you will reuse regularly as snippets,
and give each one a descriptive name you like.
Then you can simply place your cursor in code view where you wish the code,
and click insert on the selected item from the snippet panel. -
How to put two files with the same name into the same folder?
How can I put two files with the same name and the same extention into the same directory?
Is this even possible?
Thanks in advance.Are you sure? I would be very surprised if that was the case.
How does the computer/filing system differentiate the files, if not by their names?
How do you tell the computer which one you want? (On the command line.) -
Dng and tif file with the same name, in the same Lightroom folder
If I have both a dng and tif file with the same name, in the same Lightroom folder, I can only see and access one of them. Is there a setting I can change in order to see both of them?
If you can only see one of them, which one can you see?
Was the DNG and the TIF imported at the same time?
How are you trying to "access" the files?
The more details you can provide, the more likely it is that someone will be able to help you. -
Updating vs. Deleting Folder files with the same name
Hello all,
Bear with me as I try to explain this.
First off, I'm a long time Windows user who just happily converted to Mac. I'm loving my mac so far, but I've run into a snag that I hope to get clarification on.
Let me set up a scenario on how this works with Windows.
Let's say I have two folders/root directories labeled as today's date "20100729" with image files in them. Each folder has different picture file names. In other words, the files in each of folders are different. The only thing that is the same is the Folder/Directory name, which in this case is "20100729".
So, in a windows environment let's say that each of these folders (with the same name) are located on 2 hard drives (A & B). If I take the folder from drive "A" and drop it in drive "B", windows seamlessly combines the files from both folders into one.
On the flip side, when doing the same thing on my Mac, the entire folder contents from drive B gets replaced from drive A, even though the file names are all different. Which is very annoying.
If you understand what I'm saying and know of a way for this to work the "Windows" way please let me know.
Thanks in advance for your help. Let me know if you need further clarification.
Cheers,
- JeffUse the ditto command in the Terminal, which is in the /Applications/Utilities/ folder; for instructions on its use, enter 'man ditto' without the quote marks into the Terminal prompt.
(53065) -
Unable create a target file with the same name
Hi,
I have to pick an attachment from a web service and place the attachment in
a folder, with the same name (Attached File Name). I tried this using SOAP to file
scenario. Using SOAP, I'm able to get the attachment inside PI with the same
name, but not able to generate the file in the receiver end.
Please let me know if this is possible or else is there any other way to do
it.
Regards,
Deepak RaviCheck also:
Combining three different aspects of PI (ASMA, AF Module and variable substitution) in one shot
Dynamic Configuration vs Variable Substitution - The Ultimate Battle for the File Name
Regards
Maybe you are looking for
-
Manual Accrual Issue in SD Rebate
Hello Guru's, I have accrued amount A via Manual Accrual B4 Document type to the existing accrued amount B and posted the billing document to FI. But when i come back to the rebate agreement and carry out Manual Payment B3 or extended settlement B2,
-
the camera app on my iphone 4S is crashing and while using the rear video cam black wavy lines are appearing but only when exposed to flurescent light in addition to the front cam... can any one please tell me what is happening???
-
Acrobat X doesn't recognize Word version
I tried to export comments to a Word file but a window opened saying that I need to be using Word 2003 or later. Word 2010 is what I am using. What can I do to make Acrobat X recognize that Word 2010 is installed on my computer? Thank you. Cathy
-
Using taskFlow in auto generated human task
Hi, I have auto-generated ADF human task which have simple payload with InvoiceId attribute. In worklist app I see this attribute and in page source there is an input text with value set to #{bindings.InvoiceId.inputValue}. I would like to add my cus
-
I have a TC that I am using with my home network. When I use Airport Utility it comes up with two TC, one labeled "AE-TC" and then the other one is labeled the name I gave it. When I unplug the TC and while the light on the front of the TC blinks amb