Random Hex File Names Occurring...

Heres the problem.
I use Lightroom for my pictures. I export albums of my pictures to a folder on a shared network drive so that I can point Apple TV to that folder to view my pics.
The shared drive has various shares on it for different media and all works as it should. Apart from the folder with the pictures for Apple TV to use.
Its has randomly changed all the file names to something that resembles a hexadecimal number.
For instance I have set a file to be named --2014/09 - Vacation-- pics and when I open the folder I see its now named 2LQXYL~0
If I log onto the drive from my laptop, also running Yosemite the folder appears with the correct name. So why is it getting changed on my desktop?
If any other user out there can shed some light on this I would be very grateful.

You can use File.createTempFile() and
File.createTempDirectory(), which will create a unique file in the
system temporary file location. You can't use it to put a temp file
on the desktop, though (nor should you be, really.)
It sounds a bit like you need a unique name just to avoid
overwrites, something like if "MyFile.jpg" already exists,
automatically appends an incrementing number or the word "copy" or
something, right?
In that case I don't think there's any built in method, you
have to come up with your own logic and implement it. I started to
create a function to do this for my last project (ended up going a
different direction) and it seemed pretty straight forward: just
create a loop that keeps checking File.exists and break once you
end up with a File that doesn't exist already.
HTH

Similar Messages

  • Acrobat adding random characters to file name

    Every so often Acrobat will add random characters to a file name while re-creating a pdf. This has caused an issue with InDesign not recognizing a link needs to be updated due to the file having a new name. Any ideas why this occurs and/or solutions to make sure it does not?

    Every so often Acrobat will add random characters to a file name while re-creating a pdf. This has caused an issue with InDesign not recognizing a link needs to be updated due to the file having a new name. Any ideas why this occurs and/or solutions to make sure it does not?

  • Error Occurred While Converting the file"name of song" The file name.......

    I get this message when I try to import some CD's to my library.
    A window pops up and says
    Error occurred while converting the file "name of song"
    The file name was invalid or to long.
    Anyone else ever get this message, and how can you import CD's???????

    I have had this exact same problem. I'm not sure how to fix it...

  • Underscore randomly replaces forward slash in topic file names and topic titles

    The problem I'm seeing is similar to the discussion at http://forums.adobe.com/message/2564701 which dealt with random insertion of underscores in topic titles. That problem seemed restricted to underscores replacing spaces in Topic File names and was solved (for some people at least) by deselecting the setting   "Tools > Options > General > Use underscores in filenames." Playing with that setting has not worked for me when it comes to unwanted replacement of forward slashes.
    I'm running RoboHelp 9 and linking from FrameMaker 10. The unwanted underscores are seen in (1) the RH project and (2) the help output:
    (1) In RH project in some topic titles like this:
    I want to keep the forward slash. The upper topic title is wrong and the bottom one is correct.
    (2) In AIR Help output: search results and in the tab that appears above the breadcrumbs in the main right pane.
    I cant change the titles prior to generating output because, as Matt Sullivan wrote in the similar discussion, "...for topics created from linked FrameMaker 9 files, the Topic Title is not editable from the Topic Properties. If it was, at least I could change the offending titles prior to final generation of output. (though the titles would revert on the next update of the FrameMaker source content)."
    I've double-checked the source FrameMaker documents and I can find no difference between Headings in which the forward slash is retained (desired) and those in which the forward slash is replaced by an underscore (unwanted).  Has anyone else seen this?
    Thanks,
    Matt

    Isn't the issue here that RH is creating filenames AND topic titles based on the FM title. Because of the slash it is saying that is an illegal character it changes the filename and the title in RH is based on that, hence both change.
    I don't know if that can be changed but now you can test to see if that is what is happening.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Error occured while importing xsd.file(Name contains invalid characters: -

    Hello,
    i muss import xsd.file.  while importing this error occured:
    İFMEXTDEF CCTS_CCT_SchemaModule-2.0 | http://example.org/XXX/XXX/OUT/NOZ (SC_NOZ V001 of example.org):
    Name contains invalid characters: - .
    Only a(A)-z(Z), 0-9, and "_" are permitted
    This xsdfile name is CCTS_CCT_SchemaModule-2.0 but PI doesn't  accept "-". But i muss use this file because this file is standart. What can i do for this?
    Thanks
    Nurhan
    Edited by: Nurhan on Oct 18, 2011 11:22 AM

    HI,
      PI doestnt support special characters like '-'. first you need to change the file name as you specify '-'. to remove that and you have to give '_'. then uyou have to impot >XSD file into ESR under ExternalDefination.
    i hope this will help you.
    regards,
    ganesh.

  • I have over 60,000 photos in my iPhoto.  When my screen saver comes on it randomly shows certain photos.  Often, these photos are old and I in turn find the desire to print said photo.  Is there a way the screen saver can convey a photo file name as well?

    I have over 20,000 photos in my iPhoto.  When my screen saver comes on it randomly shows certain photos.  Often, these photos are old and I in turn find the desire to print said photo.  Is there a way the screen saver can convey a photo file name or location as well?  Can I create a slideshow of all my photos to cycle through at leisure with photo info?  Lastly,  I know I have duplicates and have tried numerous software programs to delete duplicates to no avail.  What do you recommend as a method to reduce duplicates on iphoto?  Thanks for your time.

    1. No.
    2. Yes.
    3. Some apps for dealing with duplicates in iPhoto
    iPhoto Library Manager
    Duplicate Annihilator
    Decliner
    iPhoto Duplicate Cleaner

  • Shared photo-stream, makes long file names with 42 random characters

    Windows icloud 3.1, in a shared photo-stream, makes file names with 42  random characters long. It didn't do this in iCloud  2. I have installed  iCloud 3.1 on a windows 8.0 and 8.1 machine and two Windows 7 machines.  They all do the same thing.  It used to give me file names like  "IMG_0001.jpg" now it gives me random file names like  "01a9fc3363330464233a142486180f0c1622eb9fca.jpg" all the pictures are  out order.
    Does anyone have fix for this? Does any one else have this  problem? I have posted this before and know one else that uses windows  seams to have this problem exect me. I did call Apple and they did some  research and bumped me up to senior  techs and eventuality Apple told me this is working the way it was  designed to. This is extremely stupid, I need the sequential file names  so the pictures will sort correctly.

    I have never found a solution for this.
    I did find a Work Around. What I do when I receive a folder full of pictures from another ios iPhone user, I copy all the photos as a batch from the PhotoStream folder into a free Windows program called "FastStone Photo Resizer" from www.FastStone.org. This program allows you to resize the photos as a batch to what ever size you wish. In my case I resize them to 2560 x 1440 which fills my 27" monitor and reduces the file size of each picture from 2MB or 3MB down to about 450 KB without degrading the picture as far as what you see on the screen.
    This program will also within the same batch operation, allow you to sort the pictures by "Date Taken" which is the Date and Time the picture was taken. It gets this information from the EXIF data in the jpg file. This program will then rename the files with different numbering format options including date, time, alphanumberic and with just simple numbers starting at what ever number you wish to start with. I can get files that look like this again "IMG_0001.jpg" and have all the pictures in the correct order that they were taken. At this point, I save the pictures directly to a folder on my PC. The cool thing about this is, all the EXIF data is preserved as well. I can process a 100 pictures in less that 60 seconds. I hope this helps. For me, I can now live with this iCloud numbering defect.

  • Random file name for xml output

    Hi:
    You know how when you're in design mode and select PDF preview, then click an email submit XML data button it assigns a random number as the XML file name? How can I set that same thing up when a user clicks the submit button from the web site? The default it assigns is the name of the pdf form.
    Many thanks for any suggestions,
    Ginger

    Virginia,
    The email submit button can only do what you described in your message.
    - The random file name generated in PDF preview is because you are in the design mode (not everyone has the working xpd file saved when he/she does a PDF preview. This results in a random file _x3432gd4343.xml is generated. It could have been called untitle1.xml if the product developers decide to do so).
    - When you open a PDF file (which has a name) in acrobat, the PDF filename is being used for the email attachment.
    Jimmy
    [email protected]

  • Generate file names randomly

    are there anyways to generate file names randomly? if there are, are there any reference codes i could refer to? thanks.
    heard that using random characters from ascii code (generating random numbers and translating them into chars) could do the job but i am rather new to it. can anybody advise me on how to go about it? thanks.

    There is a method called createTempFile in the java.io.File class for this purpose. I suggest you use that one.

  • XI 3.0 Publisher Function: "Pachage as Zip File" causes random file name

    I found in XI 3.0 Publisher Function: "Pachage as Zip File" will lose control to each report's file name.
    That is: The zip file I name it to: Report-2008-08-08-22-45-20.zip
    In the zip: ~bcap_8d8553f0ca6b347942_1.xls; ~bcap_f94553f0ca6c247941_2.xls
    I tried to set default value in Destination Job Server's Option, still can not control the report's name in the zip.
    Any one can help? I don't think customer will accept to rename each report name in the zip file every time he receives email.
    Thanks in advance!
    Jennie

    thats the normal thing happen with all the business Objects ,
    when you export a report to the system it be exported to the repository and you will have no access to the physical storage, it managed automatic by the business objects CMS, which knows every report what and where, so it rename it to the random name as the CMS suggest
    even you use the publisher wizard it do the same, and also when save Webi Report, Deski Report and Crystal Reports
    all gets random names, and saved to the CMS file system and repository.
    good luck

  • A file activation error occurred. The physical file name may be incorrect while creating database

    Hi Experts,
       I am trying to create a database in my local system, while creating i am getting error like below can anyone please help me on this.
    Msg 5105, Level 16, State 2, Line 1
    A file activation error occurred. The physical file name ' C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\NewData\Demo_dynamic.mdf' may be incorrect. Diagnose and correct additional errors, and retry the operation.
    Msg 1802, Level 16, State 1, Line 1
    CREATE DATABASE failed. Some file names listed could not be created. Check related errors. 
    Awaiting for the response......!! 
    Niraj Sevalkar

    I have created earlier database in 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA'
    but now i have created one newdata folder and trying to create in it also i have checked the path what have you suggested above and the NewData folder is existed please check below snapshot
    Both folders files and NewData folder which don't have any files 
    Niraj Sevalkar

  • Itunes error message "file name here cannot be copied because an error occured. There is not enough memory available."

    Hello,
    I have an iPad 64gb. Been trying to load files on it with plenty of memory to spare. generally though i cant load more than about 35mb at a time before the message "file name here cannot be copied because an error occured. There is not enough memory available." pops up. I keep needing to close itunes, unplug my ipad, and restart it again. but the issue remeains the same.
    when i open up task manager i notice that memory usage by itunes goes from 95,000K to 1,750,000K in under 30sec which is when i get the error message. any solutions? currently running itunes on Vista.
    Thanks in advance.

    trash stuff form your computers hard drive to free up space.

  • Random file name when saving attachment in email

    I access my email account with Safari and when i try to save as an attachment, the original file name does not automatically appear in the save as dialogue box. Some random file name appears instead n its very annoying. Can anyone help?
    Thanks!

    Ksun_17 wrote:
    ... when i try to save as an attachment ...
    Try to save what?  The entire email message?  Somthing that is embedded in the email message?
    Anyway, why would you use Safari to access your email instead of Apple's Mail application?

  • When I try importing a CD following message comes up: error occurred whilst converting file " name of fist song on CD" You do not have the privilege to make changes.  Any ideas?  thanks  John.

    When I try importing a CD following message comes up: error occurred whilst converting file " name of fist song on CD" You do not have the privilege to make changes.  Any ideas?  thanks  John.

    Read the part about changing permissions on the iTunes folder in: https://discussions.apple.com/message/11583914

  • An FTP error occurred - cannot put [file name.htm]. Dreamweaver encountered an internal data error

    I get the message “Server not responding” whenever trying to add files to my web site via DW. The following message appears: "An FTP error occurred - cannot put [file name.htm]. Dreamweaver encountered an internal data error. Please try the operation again." 
    I called the hosting service provider, and they said they were able to upload a 20 mb document with no problem. I was also able to upload a document using Filezilla.
    Therefore, the problem must be with DW.
    When I go to Manage Sites and choose my site and get to the Test Connection button, the test is successful, which further confuses the issue.
    Any guidance would be greatly appreciated. 

    Does this help?
    http://forums.adobe.com/thread/861606
    Also check the log:
    http://forums.adobe.com/thread/937231
    It is possible it is a host issue but because they use a higher level account to test that they do not see the error.

Maybe you are looking for

  • How to set Preferences such that new tabs open to same page as active when Command-T was hit?

    On opening a new tab, the tab by default opens to thumbnails based on recent history. A la Safari, I want the new tab to open *to same page as was active when Command-T was hit*. What are the specific steps to take, to set as the default (preference)

  • Problem on Installing Oracle 10g on Windows XP Professional

    I'm getting the following error while I install Oracle 10g R1, on Windows XP Professional. The Path enviroment variable is bigger than 1023 characters. This value cannont be set. Has anyone seen this error before?

  • Text a location with google maps?

    Hi: I just bought a iphone yesterday and I am curious if this is possible: Sending a message to someone (SMS) saying, lets meet at this location, and post a google maps link to that location so that person can click on it and go to that location onli

  • Shared calendar with OC 2005Q4

    Hi, I try to use shared calendars with OC 2005Q4. I have Calendar Server 05Q4 and CE 05Q4. When I try to set permission for my calendar to another user, i get an error message: User not found. Either enter the email id of the user OR click on Search

  • HT4759 set up iCloud on my hp laptop

    I set up iCloud on my hp laptop. It tells me that I have a valid Apple ID, but not an iCloud account. What did I do wrong? (not a Mac user)