I agree, except while "passive mode" is the answer you'll find most places,
I've never once had it work.

It's always been either a firewall setting on the PC, a server side setting
or some fanagled security software in the midst. I have one customer that
I can't FTP at all using the command line FTP but other windows based
clients work fine... it's odd.

On Sat, Apr 12, 2025 at 5:59 AM Patrik Schindler <poc@xxxxxxxxxx> wrote:

Hello,

Am 12.04.2025 um 09:32 schrieb <konsult@xxxxxxxxxxxxxxx> <
konsult@xxxxxxxxxxxxxxx>:

I have an FTP script that I have run hundreds of times that suddenly
stopped
working.
It connects to the server. Login does work.
But when the "put" command executes nothing happens - it just sits there

"ftp> put anmalan.txt kamrat/anm278

200 PORT subcommand request successful"

Welcome to the wonderful world of firewalls and FTP.

FTP uses a separate TCP connection for data transfers, while the initial
connection is only used as a control channel.

Something in between changed and now the data connection can't be
established anymore: Most often this is a firewall issue somewhere.

https://www.ibm.com/support/pages/ftp-deeper-look-passive-file-transfer

Try the "quote pasv" command after login, to force passive mode to the
server. If that doesn't fix the issue, consult with your firewall people.

See further explanation here:

https://archive.midrange.com/midrange-l/200208/msg00371.html

:wq! PoC


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.