# Pulling a file from a windows computer

**URL:** <https://www.phphelp.com/t/pulling-a-file-from-a-windows-computer/22096>\
**Category:** General PHP Help\
**Created:** [February 12, 2014, 9:02pm UTC](https://www.phphelp.com/t/pulling-a-file-from-a-windows-computer/22096 "2014-02-12T21:02:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pricedb](https://www.phphelp.com/letter_avatar_proxy/v4/letter/p/85f322/32.png) [@pricedb](https://www.phphelp.com/u/pricedb)\
**Post date:** [February 12, 2014, 9:02pm UTC](https://www.phphelp.com/t/pulling-a-file-from-a-windows-computer/22096/1 "2014-02-12T21:02:37Z")

</div>

Hi.

I’m trying to create a PHP script that can be stored on a LAMP server and called by a networked windows computer. The computer would give the PHP script the location of a file, which would then be pulled by the PHP script onto the LAMP server. Is this possible? If so, what kinds of permisions do I need to enable to let it work?

I am sorry if this is a newbie question or if I’m too vague, I’m new to file transfers and PHP in general.

---

<div class="post-metadata">

**Author:** ![JimL](https://www.phphelp.com/user_avatar/www.phphelp.com/jiml/32/1842_2.png) [@JimL](https://www.phphelp.com/u/JimL)\
**Post date:** [February 12, 2014, 9:11pm UTC](https://www.phphelp.com/t/pulling-a-file-from-a-windows-computer/22096/2 "2014-02-12T21:11:11Z")

</div>

Since PHP can execute system commands you can do pretty much anything you like.

How large is the file?

---

<div class="post-metadata">

**Author:** ![pricedb](https://www.phphelp.com/letter_avatar_proxy/v4/letter/p/85f322/32.png) [@pricedb](https://www.phphelp.com/u/pricedb)\
**Post date:** [February 12, 2014, 9:16pm UTC](https://www.phphelp.com/t/pulling-a-file-from-a-windows-computer/22096/3 "2014-02-12T21:16:25Z")

</div>

The files are fairly large. A small one would be around 100 mb and could be up to a gig or two.
