# Turning on passive mode when using ftp\_put

**URL:** https://forum.kirupa.com/t/turning-on-passive-mode-when-using-ftp-put/314389
**Category:** programming
**Created:** [September 27, 2010, 1:50pm UTC](https://forum.kirupa.com/t/turning-on-passive-mode-when-using-ftp-put/314389 "2010-09-27T13:50:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jerome\_chevreau](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)
#### Post date: [September 27, 2010, 1:50pm UTC](https://forum.kirupa.com/t/turning-on-passive-mode-when-using-ftp-put/314389/1 "2010-09-27T13:50:20Z")

</div>

Hi there,

I am using ftp\_put to upload a zip from one server to the other. It was working fine until this wkend. I sorted the problem by using ftp\_pasv (turning on passive mode). I really dont understand why suddenly i need to use the passive mode as it was fine before.

Could somebody help me understand why i should using passive mode. is it a security risk too?

Also does anybody know any resource about the best way to use in order to upload/download files from one server to another.

Thanks a lot for any help.

Regards,

Jerome Chevreau
