Weird output from "DOS" DIR command.

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Weird output from "DOS" DIR command.

Steve Sobol
Administrator
It's technically *not* DOS, though, it's the Windows Vista command prompt:

C:\Users\sjsobol>net use z: http://testing1.dev.justthe.net/dav
The command completed successfully.


C:\Users\sjsobol>dir z:
 Volume in drive Z has no label.
 Volume Serial Number is 0000-0000

 Directory of Z:\

The parameter is incorrect.
      <DIR>          .
The parameter is incorrect.
?      <DIR>          ..
The parameter is incorrect.
?      <DIR>          test
               0 File(s)              0 bytes
               3 Dir(s)  157,654,020,096 bytes free


Why the ?'s and error messages? testing1.dev.justthe.net is a Milton-ified website. /dav points to the MiltonServlet.

--
Steve Sobol, Victorville, CA
[hidden email]

_______________________________________________
Milton-users mailing list
[hidden email]
http://lists.justthe.net/mailman/listinfo/milton-users
Reply | Threaded
Open this post in threaded view
|

Re: Weird output from "DOS" DIR command.

Brad McEvoy
what version of milton are you using? and can you provide a propfind
response? (ie from wireshark is best, otherwise milton's debugfilter)

On Tue, 22 Dec 2009 00:48 -0500, "Steve Sobol" <[hidden email]>
wrote:

> It's technically *not* DOS, though, it's the Windows Vista command
> prompt:
>
> C:\Users\sjsobol>net use z: http://testing1.dev.justthe.net/dav
> The command completed successfully.
>
>
> C:\Users\sjsobol>dir z:
>  Volume in drive Z has no label.
>  Volume Serial Number is 0000-0000
>
>  Directory of Z:\
>
> The parameter is incorrect.
>       <DIR>          .
> The parameter is incorrect.
> ?      <DIR>          ..
> The parameter is incorrect.
> ?      <DIR>          test
>                0 File(s)              0 bytes
>                3 Dir(s)  157,654,020,096 bytes free
>
>
> Why the ?'s and error messages? testing1.dev.justthe.net is a
> Milton-ified website. /dav points to the MiltonServlet.
>
> --
> Steve Sobol, Victorville, CA
> [hidden email]
>
> _______________________________________________
> Milton-users mailing list
> [hidden email]
> http://lists.justthe.net/mailman/listinfo/milton-users
--
  Brad McEvoy
  [hidden email]

_______________________________________________
Milton-users mailing list
[hidden email]
http://lists.justthe.net/mailman/listinfo/milton-users
Reply | Threaded
Open this post in threaded view
|

Re: Weird output from "DOS" DIR command.

Brad McEvoy
In reply to this post by Steve Sobol
Hi Steve,

I've just mapped a drive to my own milton-ified application which is now
running 1.5.0-SNAPSHOT with digest authentication enabled, and all looks
ok. This is from Vista (pre SP2):

C:\Windows\system32>net use * http://ex4.picophoto.net
Enter the user name for 'ex4.picophoto.net': ex4
Enter the password for ex4.picophoto.net:
Drive X: is now connected to http://ex4.picophoto.net.

The command completed successfully.


C:\Windows\system32>x:

X:\>dir
 Volume in drive X has no label.
 Volume Serial Number is 0000-0000

 Directory of X:\

22/12/2009  11:29 p.m.    <DIR>          .
22/12/2009  11:29 p.m.    <DIR>          ..
18/11/2009  10:06 a.m.    <DIR>          files
20/11/2009  10:29 p.m.                 0 index.html
18/11/2009  10:06 a.m.    <DIR>          invitations
18/11/2009  10:06 a.m.    <DIR>          templates
18/11/2009  10:36 a.m.    <DIR>          Trash
22/12/2009  11:29 p.m.    <DIR>          users
20/11/2009  10:29 p.m.    <DIR>          _receipts
               1 File(s)              0 bytes
               8 Dir(s)  26,683,736,064 bytes free

X:\>

On Tue, 22 Dec 2009 00:48 -0500, "Steve Sobol" <[hidden email]>
wrote:

> It's technically *not* DOS, though, it's the Windows Vista command
> prompt:
>
> C:\Users\sjsobol>net use z: http://testing1.dev.justthe.net/dav
> The command completed successfully.
>
>
> C:\Users\sjsobol>dir z:
>  Volume in drive Z has no label.
>  Volume Serial Number is 0000-0000
>
>  Directory of Z:\
>
> The parameter is incorrect.
>       <DIR>          .
> The parameter is incorrect.
> ?      <DIR>          ..
> The parameter is incorrect.
> ?      <DIR>          test
>                0 File(s)              0 bytes
>                3 Dir(s)  157,654,020,096 bytes free
>
>
> Why the ?'s and error messages? testing1.dev.justthe.net is a
> Milton-ified website. /dav points to the MiltonServlet.
>
> --
> Steve Sobol, Victorville, CA
> [hidden email]
>
> _______________________________________________
> Milton-users mailing list
> [hidden email]
> http://lists.justthe.net/mailman/listinfo/milton-users
--
  Brad McEvoy
  [hidden email]

_______________________________________________
Milton-users mailing list
[hidden email]
http://lists.justthe.net/mailman/listinfo/milton-users
Reply | Threaded
Open this post in threaded view
|

Re: Weird output from "DOS" DIR command.

Steve Sobol
Administrator

----- "Brad McEvoy" <[hidden email]> wrote:

> Hi Steve,
>
> I've just mapped a drive to my own milton-ified application which is
> now
> running 1.5.0-SNAPSHOT with digest authentication enabled, and all
> looks
> ok. This is from Vista (pre SP2):


Yeah, I'm sure I am doing something wrong. Just have to figure out what it is. :)



--
Steve Sobol, Victorville, CA
[hidden email]

_______________________________________________
Milton-users mailing list
[hidden email]
http://lists.justthe.net/mailman/listinfo/milton-users
Reply | Threaded
Open this post in threaded view
|

Re: Weird output from "DOS" DIR command.

Steve Sobol
Administrator
In reply to this post by Steve Sobol

----- "Brad McEvoy" <[hidden email]> wrote:

> what version of milton are you using? and can you provide a propfind
> response? (ie from wireshark is best, otherwise milton's debugfilter)

I'm having trouble getting Wireshark to work. What do I need to do to get the debugfilter to work?

I tried

new HttpManager().addFilter(0,new DebugFilter)

in the constructor for my ResourceFactory. That didn't work.

Thanks

--
Steve Sobol, Victorville, CA
[hidden email]

_______________________________________________
Milton-users mailing list
[hidden email]
http://lists.justthe.net/mailman/listinfo/milton-users
Reply | Threaded
Open this post in threaded view
|

Re: Weird output from "DOS" DIR command.

Steve Sobol
Administrator

----- "Steve Sobol" <[hidden email]> wrote:

> ----- "Brad McEvoy" <[hidden email]> wrote:
>
> > what version of milton are you using? and can you provide a
> propfind
> > response? (ie from wireshark is best, otherwise milton's
> debugfilter)
>
> I'm having trouble getting Wireshark to work. What do I need to do to
> get the debugfilter to work?

Never mind. I figured out why I was getting that output - getModifiedDate was returning null. If I return new Date(0L), I see:


Z:\>dir
 Volume in drive Z has no label.

 Directory of Z:\

12/31/1969  04:00 PM    <DIR>          .
12/31/1969  04:00 PM    <DIR>          ..
12/31/1969  04:00 PM    <DIR>          assets
               0 File(s)              0 bytes
               3 Dir(s)  157,519,155,200 bytes free

Z:\>dir assets
 Volume in drive Z has no label.

 Directory of Z:\assets

12/31/1969  04:00 PM    <DIR>          .
12/31/1969  04:00 PM    <DIR>          ..
               0 File(s)              0 bytes
               2 Dir(s)  157,518,856,192 bytes free


--
Steve Sobol, Victorville, CA
[hidden email]

_______________________________________________
Milton-users mailing list
[hidden email]
http://lists.justthe.net/mailman/listinfo/milton-users