• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to Transfer a File In Passive Mode by FTP

By admin

By default vsftpd will use passive mode for transferring:

# man vsftpd

  pasv_enable
  Set to NO if you want to disallow the PASV method of obtaining a data connection.

  Default: YES

If the user wants to customize the ports information used, or to enable active mode, then do the following:

1. modify /etc/vsftpd/vsftpd.conf and add below lines:

pasv_enable=NO
pasv_min_port=49152
pasv_max_port=65534

2. Restart the vsfptd service for the above configuration to take effect.

# service vsftpd restart

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to shrink root filesystem on CentOS / RHEL 6
  2. CentOS / RHEL 7 : How to modify the kernel command line
  3. A File Is Claimed to Be Disappearing – How to monitor a file for deletion in Linux
  4. How to Change Kernel Semaphore Limits in CentOS/RHEL
  5. What are Symbolic Links (Soft Links) and how to create them under Linux
  6. How to Verify if a Disk/Partition is in Use by Oracle ASM, was used by Oracle ASM or is never used by Oracle ASM
  7. How to configure apache virtual host on ubuntu
  8. Common Init.ora Parameters and Unix, Linux Kernel Parameters and Relationship Between Them
  9. How to get Fibre Channel HBA information from Linux SOSreport
  10. Inconsistent Device Names Across Reboot Cause Mount Failure Or Incorrect Mount in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • How to disable ACPI in CentOS/RHEL 7
  • How to Use real-time query to access data on a physical standby database
  • CentOS/RHEL 8: “ACPI MEMORY OR I/O RESET_REG” Server Hung after reboot
  • How to Create a Physical Standby Database by Using SQL and RMAN Commands
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary