question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with passive mode

See original GitHub issue

Hi,

I’m having some issue with the passive mode for any operation that requires it (list, put, mkdir,…)

  • with node FTP client, I’m able to execute those operation but within an average of 10 seconds (and sometimes it even drop due to timeouts).
  • with a CLI ftp client (Linux default), once I’m connected:
230 User logged in, proceed
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (X,X,X,X,35,40)
ftp: connect: Invalid argument
ftp>

I tried both methods on my FTP server and they work without flaws or timeouts.

I tried to play with the pasv port range but without more success and I’m a bit dry on new idea to solve this. Did you experiment this? Have any idea?

Thank you

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JbIPScommented, Jun 8, 2017

Just so you know (and for future reference), it was me closing the FTP session to soon. Thanks again!

0reactions
trscommented, Jun 8, 2017

Great to hear!

Read more comments on GitHub >

github_iconTop Results From Across the Web

FTP passive mode issue - Microsoft Q&A
Deselect Use Passive FTP (for firewall and DSL modem compatibility). Click OK, restart Internet Explorer, and open the folder on the FTP server ......
Read more >
Active vs. Passive FTP Simplified: Understanding FTP Ports
If there are problems connecting to your FTP Server, check your transfer mode. Let JSCAPE help you understand the difference in active &...
Read more >
I've correctly configured passive FTP but passive data ...
One way to diagnose this issue is to monitor the log file from Cerberus and the FTP client as a passive connection is...
Read more >
What is FTP passive mode, when and how to use it with ...
Passive mode allows the client to establish both channels, so the firewall won't block the FTP connection. The problem in this case is...
Read more >
Known Issues and Limitations with Active and Passive FTP ...
Active FTP may fail when the FTP server is on a public network and the client is on a private network. 1. Windows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found