Some help needed regarding Files and URLs on a server

I don't get it - my applet works in a local directory, but not on a server. This has to do with the loading of files (I load an array of images to use, but when I attempt to use that array, it comes up with the error ArrayIndexOutOfBounds), but I can't understand what the problem is...
I have a code that loads files (using File objects) from the current directory (a .jar file) into the program. I do not simply type in the file names - I set it so that the program searches for them based on a prefix in the file name. This works fine on my computer, and I never navigate to files outside of the .jar file. Why might this have a problem on a server? Would URL objects be more appropriate?
Note: I alter the file base String in this way before loading it (this stands for the current directory)
fileBase = applet.codeBase.toString().replace('\\', '/');codeBase is simply the applet's codeBase() method put into a URL variable. The replace statement is there so that there are no backslashes. And this works perfectly on my computer. Any help? Would it work if I used a URL instead? If so, how do I perform a search function with a URL (so that all the filenames within a certain directory are returned as Strings)?

Thanks for the info, it helps a lot. You say there is no "practical" way to search for a file under a URL path. What I am trying to do is load a file that begins with a particular prefix. (eg. I wish to load a file called "funnyImage0011204924." However, the numbers after the prefix "funnyImage" are variable, and might require change in the future. Is it possible to load any file with the prefix "funnyImage," using URL methods? Would I need to create a new class? Is this impossible?)
Please remember that I do not plan to go outside the .jar file, so there is no point in trying to get around server permissions and all that if it is unnecessary.

Similar Messages

  • Some help needed for improrting and editing

    Hi,
    I need a litle help with two issues.
    1) I was trying to edit a photo but when i click the edit button, I can see the photo at the top of the screen in the film strip but not in the edit screen and I have also noticed for this particular picture I cannot view it in full zoom. All I can see is an " ! " mark.
    2) I deleted this picture and tried to import again but iphoto states that it cannot import because it already exists. I tried closed the program, deleting the cache.

    Derek
    It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss
    iPhoto is a database and like any database it needs you to manipulate the data via the app itself, and not via a back door. So, that's why it thinks the pic is still there - because the entry in the database is still there.
    The correct way to remove a pic is to move it to the iPhoto trash and empty the iPhoto trash. This will remove the pic from the database and the HD.
    Now your database base is bunged up you have two choices: one is to return things precisely the way they were the other is to create and populate a new library.
    To create and populate a new library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Assuming you renamed a file to make it easier to find:
    There are three ways (at least) to get files from the iPhoto Window.
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    To upload to MySpace or any site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. If you're using Gmail you can use THIS
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser. Or, if you want to access the files with iPhoto not running, then create a Media Browser using Automator (takes about 10 seconds) or use THIS
    The change was made to the format of the iPhoto library because many users were inadvertently corrupting their library by browsing through it with other software or making changes in it themselves. If you're willing to risk database corruption, you can restore the older functionality simply by right clicking on the iPhoto Library and choosing 'Show Package Contents'. Then simply make an alias to the folders you require and put that alias on the desktop or where ever you want it. Be aware though, that this is a hack and not supported by Apple.
    Regards
    TD

  • Some help needed getting file path

    I had some help earlier attaching a file to mail via a dialog. That worked great.
    Now I am trying to get a particular file to attach.
    The following works but if i try to dynamically define the path ie comment out line 1 and bring into the script lines 2 and 3 it only adds the folder (line one). Any ideas?
    tell application "Finder" to set the_files to {alias "Alberti work:WSC projects:WSC Blue Haven 440b:Construction:Progress Certificates:440b_progress certificate_8.pdf"} --------------line 1
    --set the_path to "Alberti work:WSC projects:WSC Blue Haven 440b:Construction:Progress Certificates:" as alias ---------line 2
    --set attach_file to "440b_progress certificate_8.pdf" -------line 3
    tell application "Finder" to set the_files to the_path & attach_file
    tell application "Mail" to tell (make new outgoing message) to set visible to true
    tell application "Mail"
    tell front outgoing message
    repeat with a_file in the_files
    make new attachment with properties {file name:a_file} at after the last paragraph
    end repeat
    set visible to true
    end tell
    end tell

    Your problem is in the line:
    <pre class=command>tell application "Finder" to set the_files to the_path & attach_file</pre>
    where the_path is an alias and attach_file is a string representing the file name.
    When you use the concatenate operator ( & ) with two different object classes (in this case an alias and a string), you get a list as the result, so after this line runs the_files equates to a list containing two items:
    <pre class=command>{alias "Alberti work:WSC projects:WSC Blue Haven 440b:Construction:Progress Certificates:", "440b_progress certificate_8.pdf"}</pre>
    There's no way that Mail.app can translate that into something that can be attached to an email message.
    Instead, what you want to do is NOT define the_path as an alias, leave it as a string. Now the above line would result in one long string of the form:
    <pre class=command>"Alberti work:WSC projects:WSC Blue Haven 440b:Construction:Progress Certificates:440b_progress certificate_8.pdf"</pre> 
    which can easily be coerced to an alias suitable for Mail.app:
    <pre class=command>set the_path to "Alberti work:WSC projects:WSC Blue Haven 440b:Construction:Progress Certificates:"
    set attach_file to "440b_progress certificate_8.pdf"
     tell application "Finder" to set the_files to alias (the_path & attach_file)</pre>

  • Little help needed regarding http and https

    Hi,
    I maintain a website for my organization. Recently, for a login page, I started using HTTPS. It works fine with HTTPS.
    The problem I face is : When a user goes to login page, he sees the login page via HTTPS. Now, if user doesn't submit the login form but chooses to browse some other link on the same page, that page will still be shown using HTTPS because links are relative. This increases unnecessary HTTPS traffic on the server.
    I need a solution that can help me to change protocol back to HTTP if the user doesn't submit login form. I have written small piece of java script that can check at the time of leaving the page. If submit button wasn't pressed, it should change the protocol back to HTTP. I have played around window.location object trying to change it's href property. But, no luck yet. Please help me.
    window.onunload = function()
    // if submit button wasn't pressed, change the protocol back to HTTP          
              if (!submitPressed)
                        window.location.protocol="http:";
                        alert(windows.location.href);
                     window.location.port = "80";
            }Please let me know if you know about some simple solution.
    Edited by: Di_Ke on Nov 13, 2007 2:12 PM
    Edited by: Di_Ke on Nov 13, 2007 2:14 PM

    Just to clarify, before anyone can answer: Do you have access to the web server settings, and are you looking for a server side solution for this problem? If the answer to any of those two question is no, and you are just looking for a javascript help, this forums is not the best source for answers.

  • Some help needed with initWithNibName and UITableViewCell

    Hiya guys, been going at this for a few hours now and came to the conclusion I can use a helping hand.
    *Here's the .m file* http://thepreciousyears.com/web/MainViewController.m
    The jist of the issue is I have a table view that has custom cells, each individual cell calls its respected detail view from separate nib files. This is working as expected.
    In the CustomCell I used IB and setup custom IBOutlets as you'll see in the code. I got this working fine.
    The issue is I can't seem to figure out how to give each cell its own respective title/author/date/image. If you look at the above code you'll see that title/author/date/image will repeat.
    Any help would be appreciated!
    Cheers!

    // tell our table what kind of cell to use and its title for the given row
    - (UITableViewCell *) tableView:(UITableView *) tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    // Define CellIdentifier @"customCell"
    // ** make sure the expansion of kCellIdentifier is entered under InfoViewCustomCell Attributes in IB
    InfoViewCustomCell *cell = (InfoViewCustomCell *)[tableView dequeueReusableCellWithIdentifier:kCellIdentifier];
    if (cell == nil)
    // ** this line isn't doing anything except making a memory leak
    // cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:kCellIdentifier] autorelease];
    cell = [[[NSBundle mainBundle] loadNibNamed:@"InfoViewCustomCell" owner:nil options:nil] objectAtIndex:0];
    // ** be careful about hard coding a zero index in the above nib array; that index can be version dependent
    // ** (e.g. it could be one)--it's safer to take the last element of the array or even to walk the array
    // ** to find an object of the expected class.
    // ** the next four lines are setting the properties of each cell to the same info,
    // ** so we would certainly expect each cell to display the same text and image
    [[cell articleName]setText:@"Article1"];
    [[cell authorName]setText:@"John Doe"];
    [[cell date]setText:@"June 21st, 2009"];
    [[cell image]setImage:[UIImage imageNamed:@"test.jpg"]];
    // ** this is the kind of statement which would populate each cell with different
    // ** text, since the text selection is based on the row:
    //cell.textLabel.text = [[self.infoTableData objectAtIndex:indexPath.row] objectForKey:kTitleKey];
    // ** thus the above four lines should be implemented something like this:
    // ** NSDictionary *rowData = [self.infoTableData objectAtIndex:indexPath.row];
    // ** [[cell articleName] setText:[rowData objectForKey:kTitleKey]];
    // ** [[cell authorName] setText:[rowData objectForKey:kAuthorKey]];
    // ** etc.
    return cell;
    Hope the above is helpful. I haven't run the recommended code in a test bed yet, so please don't be surprised if I made a typo. If there are bugs you can't find right away, just let me know. I'm running very similar code in several projects, so any glitches should be very easy to fix.
    - Ray

  • Help needed regarding buttons and action listeners!

    Hey,
    Im designing an applet and im trying to create it so that when a button is pressed a new Draw object is drawn, I have read up about action listeners but im not totally sure where they need to be inserted
    Ive posted my code below so hopefully someone out there wll be able to see what im working with!
    Thank you in advance
    public class ImageWithMulti extends Applet {
        Image image;
        public void init () {
            image = getImage(getDocumentBase(),
                getParameter("Channel"));
        public void paint(Graphics g) {
            g.drawImage(image, 0, 0, this);
            drawMultiDown1
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);   //2nd number changes left sided position up or down
            drawMultiUp1
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
            drawMultiUp2
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
            drawMultiDown2
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white); 
            drawMultiUp3
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);   
           drawMultiDown3
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiUp4
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiDown4
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiUp5
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);

    hi,
    i've modify your code. but i've commented your some original code because i was getting error...
    please check the code...
    import java.awt.event.*;
    import java.applet.*;
    import java.awt.*;
      <applet code="ImageWithMulti.class" width=100 height=140></applet>
    public class ImageWithMulti extends Applet implements ActionListener {
        Image image;
        Button btnClick = null;
        public void init () {
            /*image = getImage(getDocumentBase(),
                getParameter("Channel"));*/
              btnClick = new Button("Click");
              add(btnClick);
              btnClick.addActionListener(this);
        public void paint(Graphics g) {
            g.drawImage(image, 0, 0, this);
           /* drawMultiDown1
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);   //2nd number changes left sided position up or down
            drawMultiUp1
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
            drawMultiUp2
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
            drawMultiDown2
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white); 
            drawMultiUp3
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);   
           drawMultiDown3
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiUp4
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiDown4
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiUp5
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);*/
         public void actionPerformed(ActionEvent ae){
              if(ae.getSource() == btnClick){
                   System.out.println("Hey");
    }dhaval..

  • Help needed regarding JDeveloper and ADF

    Hi All,
    I am new to ADF customization in JDeveloper. Can any of the experts here, guide me how to start and get myself expertise in ADF. Actually i have been doing some experiments like creating trains,connecting to DB etc., from few days back. But the main thing is i could'nt able to figure out the usage of each and every component. So try to help me.
    Thanks in advance.

    Hi,
    check
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html - All samples
    http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12419/toc.htm - new tag Doc 11.1.1.5
    http://download.oracle.com/docs/cd/E18196_01/11.1.2.0.0/main_11.1.2.0.0.html - new sample 11.1.2.0

  • Help needed regarding file handling

    I have a file path.txt which contains the path of 10 other files....I am attempting to send path.txt through command line arguement and then read each line at a time from the file. Now each line in the file is a path to another file. I have used a string to store each line and am calling a function func() where I am sending the string. Now using that string which contains the path of another file say 1.txt i am trying to open 1.txt .......I have given my prog below....sending path.txt is working fine but reading a path from path.txt and opening that particular file is not happening
    if possible kindly correct my program or give any other prog to do this problem
    import java.io.*;
    class Prog {
         int size;
         static void func(String str1)               throws IOException
              int i;
              int cnt=-1;
              FileInputStream fin;
              try {
                   fin = new FileInputStream(str1);
              catch(FileNotFoundException exc)
                   System.out.println(exc);
                   return;
              catch(ArrayIndexOutOfBoundsException exc)
                   System.out.println("Usage: Showfile file");
                   return;
              do{
                   i=fin.read();
                   cnt++;
              }while(i!=-1);
              System.out.println("File size="+cnt);
              fin.close();
         public static void main(String args[]) throws IOException
              int i;
              int cnt=-1;
              String str1="",str="";
              FileInputStream fin;
              for(i=0;i<args.length;i++)
                   str+=args;
                   str+=" ";
              str=str.substring(0,str.length()-1);
              try {
                   fin = new FileInputStream(str);
              catch(FileNotFoundException exc)
                   System.out.println("File not found");
                   return;
              catch(ArrayIndexOutOfBoundsException exc)
                   System.out.println("Usage: Showfile file");
                   return;
              i=0;
              while(true){
                   i=fin.read();
                   if(i==-1)
                        break;
                   cnt++;
                   if((char) i!='\n')
                             str1=str1+(char)i;
                   else
                        func(str1);
                        str1="";
              System.out.println("File size="+cnt);
              fin.close();

    just putting it in code blocks
    import java.io.*;
    class Prog {
    int size;
    static void func(String str1) throws IOException
    int i;
    int cnt=-1;
    FileInputStream fin;
    try {
    fin = new FileInputStream(str1);
    catch(FileNotFoundException exc)
    System.out.println(exc);
    return;
    catch(ArrayIndexOutOfBoundsException exc)
    System.out.println("Usage: Showfile file");
    return;
    do{
    i=fin.read();
    cnt++;
    }while(i!=-1);
    System.out.println("File size="+cnt);
    fin.close();
    public static void main(String args[]) throws IOException
    int i;
    int cnt=-1;
    String str1="",str="";
    FileInputStream fin;
    for(i=0;i<args.length;i++)
    str+=args;
    str+=" ";
    str=str.substring(0,str.length()-1);
    try {
    fin = new FileInputStream(str);
    catch(FileNotFoundException exc)
    System.out.println("File not found");
    return;
    catch(ArrayIndexOutOfBoundsException exc)
    System.out.println("Usage: Showfile file");
    return;
    i=0;
    while(true){
    i=fin.read();
    if(i==-1)
    break;
    cnt++;
    if((char) i!='\n')
    str1=str1+(char)i;
    else
    func(str1);
    str1="";
    System.out.println("File size="+cnt);
    fin.close();
    }

  • I would like to get some help in regards to the new iphone 6. Do I need to download an antivirus?

    I would like some help in regards to an iphone 6 (iOS 8.1). Is it required to get an antivirus app for the iphone? I just switch from Android to iphone a few months back.

    Hi ...
    No it's not. Apple does not write anti virus software for iOS devices.

  • Can some help with CR2 files ,Ican`t see CR2 files in adobe bridge

    can some help with CR2 files ,I can`t see CR2 files in adobe bridge when I open Adobe Photoshop cs5- help- about plugins- no camera raw plugins. When i go Edit- preference and click on camera raw  shows message that Adobe camera raw plugin cannot be found

    That's strage. Seems that the Camera Raw.8bi file has been moved to different location or has gone corrupt. By any chance did you try to move the camera raw plugin to a custom location?
    Go To "C:\Program Files (x86)\Common Files\Adobe\Plug-Ins\CS5\File Formats" and look for Camera Raw.8bi file.
    If you have that file there, try to download the updated camera raw plugin from the below location.
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5371&fileID=5001
    In case  you ae not able to locate the Camera Raw.8bi file on the above location, then i think you need to re-install PS CS5.
    [Moving the discussion to Photoshop General Discussions Forum]

  • Help needed with header and upload onto business catalyst

    Can someone help with a problem over a header please?
    I have inserted a rectangle with a jpeg image in  background, in the 'header' section, underneath the menu. It comes up fine on most pages when previsualised, going right to the side of the screen, but stops just before the edge on certain pages. I have double checked that I have placed it in the right place in relation to the guides on the page.
    That's one problem.
    The second problem is that I tried to upload onto business catalyst, which got to 60% and refused to go any further, saying it couldn't find the header picture, giving the title and then u4833-3.fr.png. The picture is in the right folder I have double checked. And it isn't a png. Does it have to be ?
    And the third problem is that I got an email following my upload from business catalyst in Swedish. I am living in France.
    Can anyone help ? Thanks.

    Thanks for replying,
    How can I check the preview in other browsers before I publish a provisional site with BC?
    The rectangle width issue happens on certain pages but not others. The Welecom page is fine when the menu is active, also the contact page, but others are slightly too narrow. Changing the menu spacing doesn’t help - I was already on uniform but tried changing to regular and back.
    In design mode the rectangle is set to the edge of the browser, that’s 100%browser width right?
    Re BC I have about 200 images on 24 different pages and it seems to be having difficulty uploading some of them. But it has managed a couple I named with spaces but not others I named with just one name.
    Is there an issue on size of pictures ? If I need to replace is there a quick way to rename and relink or do I have to insert the photos all over again?
    I’m a novice with Muse with an ambitious site !
    Thanks for your help.
    Mary Featherstone
    Envoyé depuis Courrier Windows
    De : Sanjit_Das
    Envoyé : vendredi 14 février 2014 22:15
    À : MFeatherstone
    Re: Help needed with header and upload onto business catalyst
    created by Sanjit_Das in Help with using Adobe Muse CC - View the full discussion 
    Hi
    Answering the questions :
    - Have you checked the preview in Muse and also in other browsers ?
    - Does the rectangle width issue happens when menu is active , or in any specific state , Try to change the menu with uniform spacing and then check.
    - In design view the rectangle is set to 100% browser width ?
    With publishing :
    - Please try to rename the image file and then relink
    - If it happens with other images as well , see if all the image names includes strange characters or spaces.
    - Try again to publish
    With e-mail from BC :
    - Under preferences , please check the country selected.
    - If you have previously created partner account in BC and selected country and language then it would follow that, please check that.
    Thanks,
    Sanjit
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6121942#6121942
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6121942#6121942
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6121942#6121942. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Help needed with flash and web service call

    Hi all,
    I need some help with web services and flash. I'm very new to flash, so please have that in the back of your mind when reading this :-)
    I've got a .swf file, and I would like to display a number received from a web service (using adobe flash professional cs5). Ive added the web service and provided the WSDL, but when i try to "Add Method Call", nothing happens. Why? What am I doing wrong?
    Hope someone can help

    start with the button that causes the text to be displayed.  find what it does (which may not be easy because most templates are coded by novice or intermediate level coders) and follow that trail to the text.  (note:  the text may be in a txt or xml file that's loaded.)
    to have a button release open a file, use:
    yourbtn.onRelease=function(){
    getURL("http://www.adobe.com");

  • Hi, i have purchased iPhone 5 about 15 days ago, its working well but only one problem that it has is that some time its losting signal and appear as no serves. would you please help me in this reqard. thanks

    Hi, i have purchased iPhone 5 about 15 days ago, its working well but only one problem that it has is that some time its losting signal and appear as no serves. would you please help me in this reqard. thanks

    Well, it could be that your carrier doesn't have a signal when it looses its signal.  You could try resetting network settings which might help - Settings/General/Reset/Reset Network Settings.  You'll need to set up any wi-fi networks you connect too again. If you're still having issues, contact your carrier.
    Good luck!

  • I can't manage file and storage services in server manager.

    I have a windows 2012 R2 server. I had turned on the file and storage services role and was able to configure a single share in server manager. A few days later I wanted to create another share but when I select file and storage services within server manager
    I get the message at the top that says The server has not been queried for data since it appeared offline. Also there are no shares listed. Even though the shared folder that I already created is available from other computers.
    If I try to create a file share anyway I am asked to choose a server to create the share on and the server appears in the list with a status of offline. 
    Now this may seem like an obvious connection issue however, I am trying to configure the server locally, not over the network. I can manage other services in server manager just fine. I have WDS and WSUS roles installed and can be configured with server
    manager just fine. I only have a problem with file and storage services. 
    There are no errors in the event log. 
    I tried to remove the file and storage services role from the server but as soon as I uncheck the box for file and storage services I get a pop up windows that says: 
    The validation process found problems on the server from which you want to remove features. The selected features cannot be removed from the selected server. click ok to select different featres.
    I lists validation results that simply state the name of the server and says "storage services cannot be removed."
    How can I get file and storage services working again?

    Hi,
    How many servers are there in the list? If the offline serve is a remote server, please reboot the remote server to see the result. In the meantime, please new a shared folded on the local server in Windows Explorer to see if the issue still exists.
    Please refer to the article below to share a folder with server manager.
    12 Steps to NTFS Shared Folders in Windows Server 2012
    https://blogs.technet.com/b/keithmayer/archive/2012/10/21/ntfs-shared-folders-a-whole-lot-easier-in-windows-server-2012.aspx#.Ux1ty_mSwXV
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Help needed regarding reading in a text file and tokenizing strings.

    Hello, I require help with a task I've been set, which asks me to read in a text file, and check the contents for errors. The text file contains lines as follows.
    surname:forename:1234:01-02-06
    I can read in the file, but dont know how to split the strings so each token can be tested (ie numbers in the name tokens)
    However, I am not allowed to use regex functions, only those found in java.io.*
    I think i should be putting the tokens into an array, but have had no luck so far in doing so. Any help would be appreciated.

    public class Validator {
         public static void main(String args[]) {
              String string = "Suname:Forename:1234:01_02-06";
              String stringArray[] = string.split(":");
              System.out.println (validateLetters(stringArray[0]));//returns true
              System.out.println (validateNumbers(stringArray[3]));//returns false
         static boolean validateLetters(String s) {
                 for(int i = 0; i < s.length(); i++) {
                 char c = s.charAt(i);
                 if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z')) {
                         return false; //return false if one of characters is other than a-z A-Z
                 }//end if
                 }//end for
                 return true;
         }//end validateLetters
         static boolean validateNumbers(String s) {
                 for(int i = 0; i < s.length(); i++) {
                 char c = s.charAt(i);
                 if ((c < '0' || c > '9') && (c != '-')) {
                         return false; //return false if one of characters is other than 0-9 or -
                 }//end if
                 }//end for
                 return true;
         }//end validateNumbers
    }

Maybe you are looking for

  • Can I sync more than one Iphone on one computer

    I need to know if it's possible to sync or update more than one iphone to one computer without having to share each others media, contacts, and such.

  • How to read Condition Value of a Sales Order

    Hello everyone, I want to read the salse order's  Condition Value in VA03, in sales order's  Header condition. Anyone who can help me? Thank a lot. Julie.

  • Stacked Bar Chart Query

    Hello everyone, I need some help on a query for a Stacked Bar Chart. I copied the following query from the "How To" Pages for a Stacked Bar (HTML DB 2 Day Developer) and adjusted it according to my tables: SELECT NULL l, sales_month, revenue FROM ( S

  • Set text of status bar problem

    I'm trying to hide the url in the status bar of the links in a graphic where I have a mapping situation. I click on the map box and select the set text of status bar behavior but it will not work while the mouse is over the mapped area. When I move m

  • Zen Touch 40GB file transfer probl

    This is my second player, the first one was set off for testing and this new one has the same problem. Dunno whats up with it, been on the phone to support and took all the steps, formatted it, reset it and all that over and over.. Whenever I go to p