C:\>echo 123 | curl -T - --ftp-create-dirs --ftp-pasv -u ftpuser001:Password ftp://ftp.example.com/test-dir/test-file.txt % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 6 0 0 0 6 0 29 --:--:-- --:--:-- --:--:-- 29
C:\>curl --ftp-pasv -u ftpuser001:Password ftp://ftp.example.com/test-dir/-rw-r--r-- 1 ftpuser001 ftpusers 6 May 23 06:44 test-file.txt
2022-05-23 10:01:27,224 s2 proftpd[6317] s2.example.net (firewall.example.net[10.99.0.1]): SECURITY VIOLATION: Passive connection from foreign IP address 10.99.0.2 rejected (does not match client IP address 10.99.0.1).
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.99.0.102 netmask 255.255.255.0 broadcast 10.99.0.255 ether ac:1f:6b:76:e7:2e txqueuelen 1000 (Ethernet) RX packets 402772438 bytes 125251420679 (116.6 GiB) RX errors 0 dropped 0 overruns 779331 frame 0 TX packets 384462758 bytes 191478460768 (178.3 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device memory 0xdf200000-df27ffff eth0:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.99.0.31 netmask 255.255.255.0 broadcast 10.99.0.255 ether ac:1f:6b:76:e7:2e txqueuelen 1000 (Ethernet) device memory 0xdf200000-df27ffff eth0:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.99.0.34 netmask 255.255.255.0 broadcast 10.99.0.255 ether ac:1f:6b:76:e7:2e txqueuelen 1000 (Ethernet) device memory 0xdf200000-df27ffff eth0:2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.99.0.250 netmask 255.255.255.0 broadcast 10.99.0.255 ether ac:1f:6b:76:e7:2e txqueuelen 1000 (Ethernet) device memory 0xdf200000-df27ffff lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 1000 (Local Loopback) RX packets 18713387 bytes 8392738213 (7.8 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 18713387 bytes 8392738213 (7.8 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.8.0.1 netmask 255.255.255.255 destination 10.8.0.2 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC) RX packets 78772655 bytes 43780025295 (40.7 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 49179619 bytes 6922383213 (6.4 GiB) TX errors 0 dropped 27101 overruns 0 carrier 0 collisions 0