Sun, Dec 6, 2020 2:00 PM
With upgrade to xfi modem, command line FTP batch file stopped working. Signs in the to server but "put" file hangs....
Batch file worked for 15 years before upgrade.??
6 m ago
Are you running in passive mode? In non-passive mode (default), the server makes a connection back to you to transfer the file. (Which typically-configured consumer routers will just ignore.)
I don't think FTP.exe does passive.. Things worked before Comcast Upgrade but not after.
Maybe try out FileZilla, it's a free ftp/sftp client/server that it very good, it has a lot of configurable options, it has a great user interface
No command line optiones for filezilla....
Point is FTP worked..Modem upgrade FTP doesn't work. Let's fix it...
Have you forwarded the proper ports for your FTP setup ?
You can also try disabling the Xfi Advanced Security feature as a work-around for now and see. It's buggy ! And there is currently no way for an end-user to be able to whitelist anything;
To disable the Advanced Security feature in xFi, select the Account icon from the top-left corner of the Overview tab on the xFi app and then select xFi Advanced Security. From here, select Disable under xFi Advanced Security and follow the on-screen prompts.
Here's a thread I googled up:
Apparently, Explorer has supported passive mode for many years but ftp.exe never got it.
From the thread: " The Windows FTP command-line client (ftp.exe) does not support the passive mode, on any version of Windows. It makes it pretty useless nowadays due to ubiquitous firewalls and NATs."
In addition, the people on that thread show a bunch of ways to get this working, such as converting Windows FTP scripts to WinSCP scripts, or psftp, or the "Windows Subsystem for Linux" (WSL).
While not discussed in the thread, perhaps you could get around the lack of passive with some port forwards. Or, I suppose a more "generally permissive" firewall/router. (I see that EG suggested this while I was typing.)
I remember running into this same issue. In my case it was in the 90s when I switched from dial-up modems to DSL and for the first time I had a firewall appliance between me and the internet. At that time, I learned about passive mode and have used it ever since. This seemed easier and safer to me than punching holes in firewalls. (I currently use WinSCP.)