# PHP Active Ftp?

**URL:** https://forum.kirupa.com/t/php-active-ftp/256538
**Category:** programming
**Created:** [April 3, 2008, 10:12pm UTC](https://forum.kirupa.com/t/php-active-ftp/256538 "2008-04-03T22:12:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![joran420](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joran420/32/2329_2.png) [@joran420](https://forum.kirupa.com/u/joran420)
#### Post date: [April 3, 2008, 10:12pm UTC](https://forum.kirupa.com/t/php-active-ftp/256538/1 "2008-04-03T22:12:13Z")

</div>

does anyone have any insite on creating an ACTIVE (NOT PASV) FTP connection from a php page hosted on a website to FTP into a different server and upload files(no DL’s necessary…just uploads)??

---

<div class="post-metadata">

### Author: ![kikiriki](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@kikiriki](https://forum.kirupa.com/u/kikiriki)
#### Post date: [June 8, 2008, 1:36am UTC](https://forum.kirupa.com/t/php-active-ftp/256538/2 "2008-06-08T01:36:46Z")

</div>

I also think it has to do with godaddy servers. Havent figured it out yet ☹ If anyone knows the solution to this, please post it. The same i will do.

---

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [June 8, 2008, 3:22am UTC](https://forum.kirupa.com/t/php-active-ftp/256538/3 "2008-06-08T03:22:09Z")

</div>

Alternatively, if the remote machine has SSH access, it might be easier to just use the [scp utility](http://en.wikipedia.org/wiki/Secure_copy) to copy the file(s) over with a shell command.
