MoveFileEx doesn't rename / work ... why ???

Hi,

i am calling movefileEx to move files from one location to the other using this command, but my destination is a mapped network drive.

It doesn't work @ all ?

Is this a windows bug maybe ?

Regards

Comments

  • : Hi,
    :
    : i am calling movefileEx to move files from one location to the other
    : using this command, but my destination is a mapped network drive.
    :
    : It doesn't work @ all ?
    :
    : Is this a windows bug maybe ?
    :
    : Regards

    Does your program have writing permission on the network drive? Does your program have reading permission on the source file? Does the destination file alread exist and didn't you give the MOVEFILE_REPLACE_EXISTING flag? Did you set the MOVEFILE_COPY_ALLOWED flag?
  • : : Hi,
    : :
    : : i am calling movefileEx to move files from one location to the other
    : : using this command, but my destination is a mapped network drive.
    : :
    : : It doesn't work @ all ?
    : :
    : : Is this a windows bug maybe ?
    : :
    : : Regards
    :
    : Does your program have writing permission on the network drive? Does
    : your program have reading permission on the source file? Does the
    : destination file alread exist and didn't you give the
    : MOVEFILE_REPLACE_EXISTING flag? Did you set the
    : MOVEFILE_COPY_ALLOWED flag?

    Hi there, yes, i set everything correctly. I read on the internet you can't rename a file via MoveFileEx over a mapped network drive. Just wanted to know if you knew that, and if there exist any work around maybe ?

    regards

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories