Creating a directory on a remote machine using a UNC path

Hi all,
Is it possible to create a directory on a remote machine using a UNC path such as \\Server\Share\Directory?
If so, how would i go about this? (Sorry for the newbie question, that's exactly what I am!)
Thanks,
Rob

The tables on your pages are images. Not very convenient if the visitor wants to copy the information and use it.
Read this how to use tables :
http://www.wyodor.net/blog/archives/2010/01/entry_297.html
http://www.wyodor.net/blog/archives/2010/01/entry_298.html
Samples :
http://www.wyodor.net/mfi/Maaskant/Seabreeze.html
http://www.wyodor.net/mfi/Maaskant/Experiment.html
http://www.wyodor.net/mfi/roodhout/Prices.html
And here's a non-iWeb page with a sortable table :
http://www.wyodor.net/htmlegg/TallCard/TallAjax.html?pg=tablesorter
Or use a database on the server with MySQL and make tables with PHP :
http://www.google.com/search?q=create+html+table+with+data+from+mysql+database
Here's a very simple way to do it :
http://home.wyodor.net/w3school

Similar Messages

  • How to create a file on a remote machine using PrintStream

    I want to create an HTML file on a remote machine connect via LAN the path is "\\vineet\akh\" akh is folder where I want to save the HTML file. Now in PrintStream i can give only a local file. Please help how to do it

    .. You can do this in two ways!!
    1) easy way
    2) hard way
    1) EASY WAY
    .. as you know for write to a remote dir you must
    a) have shared remote dir
    b) have write permit on remote dir
    if you have point a) and b) the way to follow it's simple as the other user explained to you!!
    2) HARD WAY
    the hard way is to use RMI (Remote Method Invokation)
    i mean to create a service on a remote machine that give to you a remote method that make you write without share anything..!!!
    check it out
    http://tns-www.lcs.mit.edu/manuals/java-api-1.1beta2/guide/rmi/
    i hope i'm been clear!!
    SORRy My english!! (please)
    Alessandro

  • When I try to connect to a remote machine using IPSecuritas, am getting the following error

    When am trying to connect to remote machine using IPSecuritas, I am getting the following error and hence not able to establish connection. Imported the security policy and when I start IPSec,  I get this error.
    Info     APP  IKE daemon started
    Info     APP  IPSec started
    Error    IKE  Foreground mode.
    Info     IKE  @(#)ipsec-tools CVS (http://ipsec-tools.sourceforge.net)
    Info     IKE  @(#)This product linked OpenSSL 0.9.7l 28 Sep 2006 (http://www.openssl.org/)
    Info     IKE  Reading configuration from "/Library/Application Support/Lobotomo Software/IPSecuritas/racoon.conf"
    Info     IKE  Resize address pool from 0 to 255
    Error    IKE  failed to bind to address 192.168.1.2[4500] (Address already in use).
    Info     APP  IKE daemon terminated
    Error    IKE  failed to bind to address 192.168.1.2[500] (Address already in use).
    Error    IKE  no address could be bound.
    Info     APP  IPSec terminated
    Please help me in fixing this issue. Thanks in advance!!..
    Thanks,
    RV

    Is this music purchased back in DRM days? I don't actually have any iTunes music so I can't test with my iTunes 7.5, but I know that without iTunes 10 you cannot even connect to the store anymore.  I wouldn't think that would require an active connection to the store all the time, otherwise how could you play music on a computer in the middle of nowhere?  Did you do something to trigger iTunes suddenly wanting to connect and check on machine authorization?

  • Not able to create a text file in Client Machine using Forms 10g

    Hi - I'm mot able to create a text file in Client Machine using Forms 10g. I'm getting error when system executes the bolded line.(i.e. CLIENT_TEXT_IO.FOPEN). During run-time system is throwing "ORA-06508: PL/SQL: could not find program unit being called".
    I had attached webutil.pll in the form.
    Please advise me.
    DECLARE
    l_Temp CLIENT_TEXT_IO.FILE_TYPE;
    LC$Name Varchar2(100) ;
    LC$Fic Varchar2(100) ;
    LN$Lines Pls_integer := 0 ;
    LC$Line Varchar2(4000) ;
    Cursor C_CUR Is
    Select * From TEST_TEXTIO where rownum <= 50;
    BEGIN
    LC$Name := 'tmp_file.txt' ;
    LC$Fic := 'c:\temp\tmp_file.txt';
    Begin
    l_temp := CLIENT_TEXT_IO.FOPEN( 'C:\temp\tmp_file.txt', 'W');
    Exception
         when others then
         message( 'OPEN FILE ERROR ' || LC$Fic ||sqlerrm );
         display_error;
         raise form_trigger_failure;
    End ;
    -- Write the lines --
    For Cur In C_CUR Loop
         LC$Line := Cur.CODE || ' -> ' || Cur.COL1 || ',' || Cur.COL2 || ',' || Cur.Col3 ;
         CLIENT_TEXT_IO.PUT_LINE( LF$File, LC$Line ) ;      
         LN$Lines := C_CUR%ROWCOUNT ;
    End loop ;
    -- Close the file --
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;
    Exception
         When others Then
    message('err='||sqlerrm);message(' ');
    display_error;
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;      
         Raise ;
    END;
    Thanks.
    Arun

    Hi ,
    i have one Question though its not related to thos question if some could help me it will be really helpful,
    i have created one program to import and export excel to forms vice versa, if the form is attached with webutil its working fine am using ole2.but i have a new idea if i add this program in menu, it can be used for all the forms attched to that menu, i made program also, but problem am facing right now is if the form is not attched with webutil it will not work so is there possiblity to share my webutil from one form to another form ,so i will keep one form as a interface form in that webutil will be attched ,i can share that webutil to all other forms so that all the forms no need to attach webutil again
    if its possible means please suggest some ideas

  • How to create the log file in remote system using log4j.

    Hi,
    How to create the log file in remote system using log4j. please give me a sample code or related links.The below example i used for create the log file in remote system but it return the below exception.Is there any authandication parameter for accessing the remote path? Please help.
    public class Logging
    Logger log=null;
    FileAppender fileapp=null;
    public Logging(String classname)
    try
    log = Logger.getLogger(classname);
    String path=" [\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt|file://\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt]";
    fileapp = new FileAppender(new PatternLayout("%r [%t] %-5p %c %x - %m%n"),path, true);
    log.addAppender(fileapp);
    log.info("Logger initilized");
    }catch(Exception ex)
    ex.printStackTrace();
    java.io.FileNotFoundException: \\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt (The network path was not found)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
    at org.apache.log4j.FileAppender.<init>(FileAppender.java:109)
    at annwyn.logger.BioCapLogger.<init>(Logging.java:23)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Please help.
    Thanks in advance.
    Saravanan.K

    Sorry path is missing for the above request.
    path="\\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt ";
    please help.
    Saravanan.K

  • How will i create physical directory in oracle pl/sql using java

    how will i create physical directory in oracle pl/sql using java

    This is, I suspect, related to Re: how will i overcome from this error java.io.IOException. Quite why you felt the need to have two partial threads instead of one thread with a complete set of information is beyond me. Perhaps this muddled thinking is indicative....
    Anyway, if I was looking to do this particular task in Java I would look to using the specific command File.mkdir() rather than trying to use a generic exec approach.
    Cheers, APC

  • How to login to remote machine using SSH?

    Hi,
    I have a requirement where in I am required to connect to a remote machine using SSH and execute some commands, say a tail -100 on some file over there and pull back output data from the remote machine.
    I know we can use sockets to connect to remote machines and Runtime.exec to execute external commands. But I am unable to tie together the two of these to achieve whatever I want to do.
    Is it possible to somehow connect w/o using a custom server socket? The problem is that there is no concrete list of servers to connect to. It will be decided by the user. So I will not be able to install a server socket on each and every machine.
    Any help would be most appreciated. Thanks a lot.
    With regards,
    Ganesh

    Hi,
    I am writing a java program that will try to use a SSH client to connect to a remote machine. I do not want to log into every single remote machine to moitor stuff over there.
    My plan goes like this:
    Have a web application that can connect to a DB for all information regarding remote servers to be monitored.
    Based on user selection of a particular server, use data from the DB to connect to the particular remote server and pull in some data.
    Hope I am clear enough now. Thanks a lot.
    Ganesh

  • Can't add own application to RemoteApps - "You must specify a file from the RD Session Host server SERVERNAME by using the UNC path....

    Hi, there
    I'm not really pro- at RDS in server 2012 (r1), but I have a problem and don't find anything suitable on internet:
    I'm trying to publish one of my own, unlisted programs to rdweb, but it keeps saying "You must specify a file from the RD Session Host server SERVERNAME by using the UNC path...."
    1) I provided the path in the unc name - when I click "Add.." then i browse the the .exe file via network share, not via local path. So that should be OK
    2) Firewall is turned off and eventhough the exeptions are enabled, both of then, checked
    What else should I do to make this work?

    Okej, I found the sollution:
    You have to specify the path like \\hostname\drive_letter$\path-to-the-program.
    I was doing wrong because i wrote it like \\hostname\ShareName\path-to-the-program.
    I was misleded because the wizard wants me to find the program by clicking, and not by entring the path manualy.

  • Creating new Managed Servers on remote machines

    Hi,
    We have a multi-machine domain already in place. Nodemanager is configured and we're using the architecture suggested in Oracle SOA Enterprise Deployment Guide, where we have one domain home for the AdminServer and one domain home for the Managed servers. Right now what we need to know is how to add new managed servers in the easiest and fastest way possible on the mserver home on both the adminserver local machine and on the remote machine, this is a development environment and we need to be able to quickly create and delete these servers for developers to work.
    We know that the standard way of doing it is doing a pack (for the managed servers only), and then an unpack on the mserver home both on local and remote machine after changing the root directory of these servers to match those homes. Here is were we have our first doubts. Do the unpack command command has to be run with the already running servers down? Does this pack and unpack process affects what we already have deployed on the running managed servers? And last but not least, is there any way to automate this process? Because we need to give the developers the ability to create clusters on the environment through the admin server console, but without giving them access to the underlying operating system.
    If this seems like a newbie question is because we are, we're just in the process of migrating oas 10g to weblogic 11g and there are tons of basic administration stuff that seem pretty strange for us, we've looked through the Oracle manuals and metalink but even though some show you how to create the domain with remote managed servers for the first time, we couldn't find any mention on how to add the mserver efficiently after that.
    Thanks!

    Cris,
    Thanks again for your help, we're trying to figure out how to present this procedure to our customer, just one thought though, we were thinking about moving away from the architecture presented by de SOA Enterprise Deployment guide, and using a single domain home located on the shared storage, that way we could create the managed servers from the admin console without having to use pack/unpack and deciding where to run the servers just by configuring machines and nodemanager. However, we haven't seen this kind of configuration anywhere on Oracle manuals, is there any other problem you are aware of in this idea? We're using a storage with multipath for the shared disk so we're not very concerned about availability (and if the storage went down the weblogic domain would be the least of our problems).
    Regards, Franco.

  • How to execute a shell script which is present in remote machine using ODI

    I have requirement of executing a batch (shell script) which is present in the remote machine.
    i have an ODI agent in remote machine as well. I have created agent locally by using the remote machine IP and port.
    I am able to test the agent successfully. But when i am executing the package using that agent it is failing with the following error
    errorODI-1226: Step Execution of the Scenario REMOTE_DEMO version 001 fails after 1 attempt(s).
    ODI-1241: Oracle Data Integrator tool execution fails.
    Caused By: oracle.odi.runtime.agent.invocation.InvocationException: HTTP/1.1 500 ODI-1423: Warning connecting to Agent localagent: work repository WORKREP1 is not bound to the master
    My Work Repository Name is : WORKREP1
    Remote Work Repository Name is:WORKREP_LOCAL.
    Could anyone please help me regarding this.
    I can't download shell script and run it locally this needs to be run on that remote machine only.
    Thanks
    senthilkumar

    This is the code.
    1. we can declare types dynamically
    2. Internal table dynamically
    3. Select querry dynamically
    just copy paste this code
    Here is the code for your question
    DATA:v_fieldname
    TYPE fieldname,
    l_PROG TYPE string,
    v_mess TYPE string,
    l_sid TYPE string,
    wa_ddfields TYPE dntab.
    DATA i_tab TYPE STANDARD TABLE OF string.
    DATA:l_str TYPE string,
    l_str1 TYPE string.
    PARAMETERS matnr type marc-matnr.
    end-of-SELECTION.
    *build the subroutine pool
    APPEND 'PROGRAM subpool.' TO i_tab.
    APPEND `LOAD-OF-PROGRAM.` TO i_tab.
    APPEND `DATA i_tab1 TYPE TABLE OF vbak.`      TO i_tab.
    APPEND `DATA l_rows TYPE i.`      TO i_tab.
    APPEND `select * into table i_tab1 from vbak.` To i_tab.
    append 'DESCRIBE TABLE i_tab1 LINES l_rows.' to i_tab.
    append 'Write :  l_rows .' to i_tab.
    GENERATE SUBROUTINE POOL i_tab NAME l_PROG
    MESSAGE v_mess
    SHORTDUMP-ID l_sid.
    IF sy-subrc = 0.
    PERFORM ('LOOP_AT_TAB') IN PROGRAM (l_PROG) IF FOUND.
    ELSEIF sy-subrc = 4.
    MESSAGE v_mess TYPE 'I'.
    ELSEIF sy-subrc = 8.
    MESSAGE l_sid TYPE 'I'.
    ENDIF.
    Edited by: vijay wankhade on Jan 1, 2009 5:34 PM
    Edited by: vijay wankhade on Jan 1, 2009 5:34 PM

  • Cluster setup in remote machines using weblogic8.1??

              Hi,
              How to run a clustered setup in remote machines??
              This is my setup:
              I have a domain called mydomain
              I have three server instances Adminserver, ManagedServer1 and ManagedServer2.
              I have a cluster called cluster1 with two servers , (ManagedServer1 and ManagedServer2).
              I have two machines, machine1(localhost) and machine2(remote machine connected
              to LAN).
              My machine1 has two servers , Adminserver, ManagedServer1 and
              My machine2 has one server ManagedServer2.
              I have installed weblogic 8.1 in both the machines.
              I have started nodemanager in machine1 .
              Iam able to run Adminserver and Managedserver1 in machine1(localhost)
              My question:
              1. I have to run the managedserver2 in the remote machine.
              2. Should i create a domain of the same name called mydomain in machine2(remote
              machine)???
              3. Already nodemanager is running in machine1.............Should i run nodemanager
              in machine2(remote machine) also ???
              4. What should be my configuration parameters (Java home, bea home,classpath,rootdirectory,arguments)
              for managedserver2 ??? should these details be with respect to machine1 or machine2???
              thanks&rgds,
              girish
              

    you just need to install wls and configure the domain there on that machine
              2 and run the startmanagedserver script to use the admin server url and it
              will get its configuration from there. better yet, if you have a shared
              installation use that.
              "Girish" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi,
              > How to run a clustered setup in remote machines??
              >
              > This is my setup:
              > I have a domain called mydomain
              > I have three server instances Adminserver, ManagedServer1 and
              ManagedServer2.
              > I have a cluster called cluster1 with two servers , (ManagedServer1 and
              ManagedServer2).
              > I have two machines, machine1(localhost) and machine2(remote machine
              connected
              > to LAN).
              > My machine1 has two servers , Adminserver, ManagedServer1 and
              > My machine2 has one server ManagedServer2.
              >
              > I have installed weblogic 8.1 in both the machines.
              > I have started nodemanager in machine1 .
              > Iam able to run Adminserver and Managedserver1 in machine1(localhost)
              >
              > My question:
              > 1. I have to run the managedserver2 in the remote machine.
              > 2. Should i create a domain of the same name called mydomain in
              machine2(remote
              > machine)???
              > 3. Already nodemanager is running in machine1.............Should i run
              nodemanager
              > in machine2(remote machine) also ???
              > 4. What should be my configuration parameters (Java home, bea
              home,classpath,rootdirectory,arguments)
              > for managedserver2 ??? should these details be with respect to machine1 or
              machine2???
              >
              >
              > thanks&rgds,
              > girish
              

  • Not able to access database from a remote machine using SQL Server Management Studio

    Hi,
    I have a DB_BOX with SQL Server 2008 R2 installed. I can access the databases on the local machine using SQL Server Management Studio but it is not accessible from other machines, though the machines are in same domain.
    I have remote enabled on SQL Server box, TCP enabled, firewall off. I checked with IP Address too, all SQL Server services are running.
    The SQL Server log shows the message
    The requested service has been stopped or disabled and is unavailable at this time. The connection has been closed.
    I get the below message in SSMS from remote machine.
    Details of error message are
    ===================================
    Cannot connect to DB_BOX.
    ===================================
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=64&LinkId=20476
    Server Name: DB_BOX
    Error Number: 64
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

    Sorry, missed the message from the errorlog in the original post. You shouldn't have included that big .Net dump that hid the important facts. :-)
    My first Google attempt on that message (which I have never seen before) suggests that the TCP Enpoint is stopped, so try this:
    ALTER ENDPOINT [TSQL Default TCP]
    STATE=STARTED;
    Erland Sommarskog, SQL Server MVP, [email protected]
    This solves the problem. Thanks...

  • How to test oracle is up and running in remote machine using shell script

    Hello,
    I need help to write an linux script.
    I have a java application server running on machine 192.168.5.20 and our oracle 10g standard 1.0.2 is running on machine 192.168.5.21.
    I have found script to start oracle when computer is turned on.
    But I cannot start my application server automatically since it depends on whether oracle is up and running or not on the remote machine.
    Therefore, in case of power failure or maintenance, our client has to call us to start application server.
    I would be grateful if someone can help me "How can I write script to check oracle is up and running in machine 192.168.5.21 from machine 192.168.5.20.
    For your information, I have no oracle installed in application server. So tnsping won't work.
    What I want is when power is back, application server script automatically and tesing for oracle server is up and running. If it is up, script will start application server.
    Thanking you.

    Hi,
    It's not failover or experimental. My application server uses JBOSS and JBOSS needs database name to start up. My enviroment is LAN. My database is in different machine as I mentioned before. So In case of power failure, I need to start my application server (JBoss) manually, because I need to confirm that oracle is already running before start app server.
    I want an automated script (when power is just on) to start my application server which will wait to check if the datbase server is up I will start application server.
    The scripts given above It works if appserver and db server in the same machine (my development machine).
    But when I test the script in my production applicaiton server, It shows sqlplus command not found (my app server does not have any oracle client installed).
    About hostname yes My applicaiton server hostname is hostapp1 and dabase server hostname is hostdat1.
    Do you think Is it possible to test the script without oracle client not installed. or It has to be done writing code like java program and test using jdbc connection.
    Best regards.

  • Azure File Storage - Creating a directory at the root level using REST

    I have a Xamarin / iOS project, and looking to use Azure File Share as a back-end.
    With that in mind, I'm playing around with the REST API and have generally got things working with (a) Blobs and (b) Account-level access to Files.
    Specifically, I can successfully request a list of File Shares, so I have the general call structure worked out.
    However, I'm stumped about the exact incantation necessary to create a new directory at the root level of a share.
    I've tried the following three variants, but all result in Forbidden - Server failed to authenticate the request
    request.Host: myaccount.file.core.windows.net
    request.AbsolutePath: /myshare/subdirname1
    request.Query: ?restype=directory
    string to sign: PUT\n\n\n\n\n\n\n\n\n\n\n\nx-ms-date:Sun, 30 Nov 2014 16:07:25 GMT\nx-ms-version:2014-02-14\n/myaccount/myshare/subdirname1\nrestype:directory
    request.Host: myaccount.file.core.windows.net
    request.AbsolutePath: /myshare/subdirname1/
    request.Query: ?restype=directory
    string to sign: PUT\n\n\n\n\n\n\n\n\n\n\n\nx-ms-date:Sun, 30 Nov 2014 16:07:58 GMT\nx-ms-version:2014-02-14\n/myaccount/myshare/subdirname1/\nrestype:directory
    request.Host: myaccount.file.core.windows.net
    request.AbsolutePath: /myshare//subdirname1
    request.Query: ?restype=directory
    string to sign: PUT\n\n\n\n\n\n\n\n\n\n\n\nx-ms-date:Sun, 30 Nov 2014 16:06:16 GMT\nx-ms-version:2014-02-14\n/myaccount/myshare//subdirname1\nrestype:directory
    I did note that trying to get the contents of an (empty) root directory doesn't behave quite the way I'd expect
    request.Host: myaccount.file.core.windows.net
    request.AbsolutePath: /myshare/
    request.Query: ?resttype=directory&comp=list
    string to sign: GET\n\n\n\n\n\n\n\n\n\n\n\nx-ms-date:Sun, 30 Nov 2014 16:23:17 GMT\nx-ms-version:2014-02-14\n/myaccount/myshare/\ncomp:list\nrestype:directory
    Authenticates OK, but generates FAILURE BadRequest - The requested URI does not represent any resource on the server.
    Which is different behaviour from pulling the list of blobs from an empty container (returns 200 with an empty xml list of blobs.
    I've been through the File Service REST API document (dn167006) and found the azurestoragesamples on codeplex, but the former is unclear on working with the root level and the latter is from 2011 and predates File Storage.
    Any insights?

    First, thank you for the quick response and the suggestion about looking at the response content for the string to sign being used. I wasn't aware of that and obviously it's a fantastic resource for figuring this kind of stuff out.
    And what it immediately revealed is it wasn't some subtle oddity in my construction of the STS, it was that I was doing a client.GetAsync(...) and not a client.PutAsync(...). DOH!
    With that sorted, it was trivial to fix.
    In terms of the List Directories and Files, though, there's still a problem.
    FAILURE BadRequest - The requested URI does not represent any resource on the server.
       request.Host: myaccount.file.core.windows.net
       request.AbsolutePath: /myshare
       request.Query: ?resttype=directory&comp=list
       urlQuery: myshare?resttype=directory&comp=list
       string to sign: GET\n\n\n\n\n\n\n\n\n\n\n\nx-ms-date:Sun, 30 Nov 2014 18:40:04 GMT\nx-ms-version:2014-02-14\n/myaccount/myshare\ncomp:list\nresttype:directory
    The response XML is
    <?xml version="1.0" encoding="utf-8"?>
    <Error>
        <Code>InvalidUri</Code>
        <Message>The requested URI does not represent any resource on the server.\nRequestId:33d61aed-001a-0020-0cbd-51aea8000000\nTime:2014-11-30T18:40:04.9712797Z</Message>
        <UriPath>/myshare</UriPath>
    </Error>
    I originally thought it might be because the share was empty. However, I'm targeting the same share in which I created (apparently successfully) the subdirectory.
    So I'm still confuzzled on that.

  • How to excute a power shell script to remote machine using power shell script folder path and script name

    Hi,
    Let say, I have 3 parameters.
    1. Script FolderPath (Remote path for e.g \\RD101\ScriptSharedFolder     Here RD101 is one server)
    2. Script Name(StopAllService.ps1)
    3. Server Name (RD45)
    I want to execute a powershell scritp in my local machine(Test1)  and in that script I want to pass the above three parameters.Now I want to excute the StopAllService.ps1 script into RD45 server. But the script is available in RD101 machine.
    So What I want to here How can we do this ? I have script name and script folder path and target execution server name.
    Pls giude me or give me the script.
    By
    A Path Finder..
    JoSwa 
    If a post answers your question, please click &quot;Mark As Answer&quot; on that post and &quot;Mark as Helpful&quot;
    Best Online Journal

    Hi,
    You got 2 solutions for your problem:
    1- If you have permission to run scripts in the remote computer without specifying your credential,
    then, the first reply solve your problem.
    2- If you have permission to run scripts in the remote computer
    having to specify your credential, l then,
    my solution solves your problem.
    If the remote computer requires signed scripts only, you need signed script. Period. Or are you trying to break remote computer security?
    If you need signed script, there's no psdrive that'll circumvent such requirement.
    The problem is that the execution policy is set to "RemoteSigned". Using the URL explicitly tags that script as being from a remote source, and the policy blocks it.  The PSDrive provides a local reference for the script.  It does not
    sign the script but the local drive reference may prevent it from being blocked for being from a remote source. I'll test that later.
    Script signing is not and should never be considered a security measure. It is easily circumvented by running the script using powershell.exe, and using the -ExecutionPolicy parameter to override whatever the local execution policy setting is. 
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

Maybe you are looking for

  • How to sell on an old copy of Logic

    I recently upgraded from Logc Pro 7 to Logic Studio. I had bought 7 only about a year earlier. Now it is sitting around doing nothing, in perfect condition complete with manuals etc. I'd like to sell it on but would need to include the XSKey. However

  • If I buy Lightroom for PC, can I still use it if I switch to a Mac in the future?

    If I buy Lightroom for PC, can I still use it if I switch to a Mac in the future? I want to use Lightroom now, but don't want to pay for it again if I start using a Mac.

  • IPhone 4 does not see my home WiFi network anymore.

    All of a sudden, a few days ago, my wife's iPhone 4 (initially with iOS 6.0.1, now with iOS 6.1) does not see anymore my home WiFi network (created by a Time Capsule), to which it connected automatically. This has worked flawlessly for years but now

  • Choping up a string in powershell

    I have a variable called $office $Office = (get-aduser -Identity $Name -Properties * |select physicalDeliveryOfficeName).physicalDeliveryOfficeName It produces results like this 01A;514;295;632;428;485;442;277;800;175 Of course it could be shorter or

  • How to make buyer confirm he recieved the promised goods?

    Hello, i recently sold some virtual goods to a buyer, he sent me the money and i send him the promised goods. His account is verified and 6 years old, but i have the suspicion something might be wrong. Today he contacted me again in order to proceed