# Local remote on windows with external data source

**URL:** <https://discuss.dvc.org/t/local-remote-on-windows-with-external-data-source/2167>\
**Category:** Bug Reports\
**Created:** [July 19, 2024, 9:34am UTC](https://discuss.dvc.org/t/local-remote-on-windows-with-external-data-source/2167 "2024-07-19T09:34:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkb](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@jkb](https://discuss.dvc.org/u/jkb)\
**Post date:** [July 19, 2024, 9:34am UTC](https://discuss.dvc.org/t/local-remote-on-windows-with-external-data-source/2167/1 "2024-07-19T09:34:50Z")

</div>

Hi,  
I’m new to dvc and I’m currently testing some stuff, so please be nice, I tried my very best to research the documentation and I know that what I’ve tested might not be the most common use case, but anyway.

Basic idea is that I want to copy stuff from a data source to a local remote and then pull it afterwards using `dvc import-url <...> --to-remote` and then `dvc pull`.

## Steps to reproduce

- Work on Windows (tested on Windows 10)
- Create a folder with 3 subfolders:
  - repo
  - local\_remote
  - data

- Copy a file to data
- Initialize an empty git repo in the repo folder
- Initialize dvc (run `dvc init`) in the repo folder
- Add the local\_remote as a remote to dvc (`dvc remote add -d local_remote C:\<...>\local_remote`)
- Run `dvc import-url --to-remote ../data`
- Run `dvc pull`

## Expected behaviour

- In the repo folder there should be a subfolder called data with the file that is also in the data source

## Actual behaviour

- In the repo folder there is a data subfolder but it is **empty**

## Notes

- `dvc import-url` seems to work (The files are created in the local\_remote folder)
- The data.dvc file looks correct (it indicates there is a file on the remote: `nfiles > 0`)
- `dvc pull` does pull all the files from remote to the ..dvc\cache folder
- The data subfolder is created (as i said), however it is empty
- The same procedure works perfectly fine when I use wsl

So i guess it’s not a super important issue but I was wondering what could be the reason for this behaviour.
