|
Hello Mark,
Am 09.02.2024 um 02:08 schrieb mlazarus<mlazarus@xxxxxxxxxxxx>:
Any idea what might be causing this? Or how to debug it? TIA.As Marc pointed out, it's an active-passive issue.
Active mode FTP means, the client instructs the server to build a *new* (data) connection back to the client. This mostly fails because the client's IP address is behind a NAT gateway and not reachable from the internet.
Passive mode FTP means, the client instructs the server to open a *new* (data) port where the client connects to: Same direction as the initial control connection. This usually works.
If you want to automate things via command line ftp, you probably need a command line client on Windows supporting passive mode.
Another viable solution would be to use sftp or scp which uses the ssh protocol for transmission. The PuTTY installation package provides command line tools for automation purposes.
:wq! PoC
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.