Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2004-08-24 19:06:09


At 06:53 AM 4/8/2004, Arne Adams wrote:

>I am trying to use boost filesystem to copy files from a local directory
to
>a directory on a network server (the latter having a path like
>\\databaseserver\c$\importfiles\myTabledump.txt
><file:///\\databaseserver\c$\importfiles\myTabledump.txt> )
>
>Unfortunately the leading double backslashs (\\) get converted in the
>constructor of filesystem::path to double slashs - yielding a different
>meaning.

Is the path specified in a string literal? Are you remembering to write
"\\\\databaseserver"?

>Is there a way to copy files on windows to network servers like this?

Network names are supposed to work, and there are some test cases in the
regression tests. So if it isn't working for you, please post the exact
code so we can look at it.

--Beman

PS: Sorry to be so long in replying.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk