noreply@rubyforge.org
2005-Nov-10 15:17 UTC
[Win32utils-devel] [ win32utils-Feature Requests-2811 ] Add UNC support to file / dir
Feature Requests item #2811, was opened at 2005-11-10 15:17 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=414&aid=2811&group_id=85 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: graham foster (fosterg2) Assigned to: Nobody (None) Summary: Add UNC support to file / dir Initial Comment: I''d like to see win32 support for UNC''s on the file management level, i.e. FileUtils for Windows Enable UNC support for the following (with recursive options please) directory delete file delete file copy directory copy file move directory move Another option would be to add a ''map to driveletter'' method (as once done, the existing FileUtils module works OK.) Not sure is this should be a win32 request or a FileUtils request?? Graham ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=414&aid=2811&group_id=85
zdennis
2005-Nov-11 00:48 UTC
[Win32utils-devel] [ win32utils-Feature Requests-2811 ] Add UNC support to file / dir
noreply at rubyforge.org wrote:> Feature Requests item #2811, was opened at 2005-11-10 15:17 > You can respond by visiting: > http://rubyforge.org/tracker/?func=detail&atid=414&aid=2811&group_id=85 > > Category: None > Group: None > Status: Open > Resolution: None > Priority: 3 > Submitted By: graham foster (fosterg2) > Assigned to: Nobody (None) > Summary: Add UNC support to file / dir > > Initial Comment: > I''d like to see win32 support for UNC''s on the file management level, i.e. FileUtils for Windows > Enable UNC support for the following (with recursive options please) > > directory delete > file delete > file copy > directory copy > file move > directory move > > Another option would be to add a ''map to driveletter'' method (as once done, the existing FileUtils module works OK.) > > Not sure is this should be a win32 request or a FileUtils request?? >I believe I have the code to utilize WIN32OLE to handle the map-to-drive letter. If Daniel is interested I can submit it for review... Zach
Daniel Berger
2005-Nov-11 01:45 UTC
[Win32utils-devel] [ win32utils-Feature Requests-2811 ] Add UNC support to file / dir
zdennis wrote:>noreply at rubyforge.org wrote: > > >>Feature Requests item #2811, was opened at 2005-11-10 15:17 >>You can respond by visiting: >>http://rubyforge.org/tracker/?func=detail&atid=414&aid=2811&group_id=85 >> >>Category: None >>Group: None >>Status: Open >>Resolution: None >>Priority: 3 >>Submitted By: graham foster (fosterg2) >>Assigned to: Nobody (None) >>Summary: Add UNC support to file / dir >> >>Initial Comment: >>I''d like to see win32 support for UNC''s on the file management level, i.e. FileUtils for Windows >>Enable UNC support for the following (with recursive options please) >> >>directory delete >>file delete >>file copy >>directory copy >>file move >>directory move >> >>Another option would be to add a ''map to driveletter'' method (as once done, the existing FileUtils module works OK.) >> >>Not sure is this should be a win32 request or a FileUtils request?? >> >> >> > >I believe I have the code to utilize WIN32OLE to handle the map-to-drive >letter. If Daniel is interested I can submit it for review... > >Zach >_______________________________________________ >win32utils-devel mailing list >win32utils-devel at rubyforge.org >http://rubyforge.org/mailman/listinfo/win32utils-devel > > >Actually, I just realized that win32.c already defines File.unlink and Dir.rmdir separately, so I''m not sure why they would fail (within FileUtils), so that''s not a Ruby specific issue I don''t think Zach, please submit your code for review. Thanks, Dan
zdennis
2005-Nov-14 13:37 UTC
[Win32utils-devel] [ win32utils-Feature Requests-2811 ] Add UNC support to file / dir
Daniel Berger wrote:> > Zach, please submit your code for review. >This is the raw code, how I use it currently. I can clean it up and make it meet any interfaces you''re looking for. I use this code on windows 2000 and Windows xp workstations, I haven''t had an older version of windows around to test it on. Let me know if any questions or comment. ttyl, Zach -------------- next part -------------- A non-text attachment was scrubbed... Name: windows_host.rb Type: application/x-ruby Size: 4864 bytes Desc: not available Url : http://rubyforge.org/pipermail/win32utils-devel/attachments/20051114/6642f918/windows_host.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: wscript.rb Type: application/x-ruby Size: 1928 bytes Desc: not available Url : http://rubyforge.org/pipermail/win32utils-devel/attachments/20051114/6642f918/wscript.bin
Seemingly Similar Threads
- [ win32utils-Feature Requests-2811 ] Add UNC support to file / dir
- [ win32utils-Feature Requests-25792 ] Create a pure Ruby win32-ole library
- [ win32utils-Bugs-14360 ] Bad interaction between win32-file-stat and FileUtils
- [ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
- [ win32utils-Patches-6335 ] pure ruby implementation