Error listing directory on some FTP sites

Advertisement

amweiss
Joined:
Posts:
2

Error listing directory on some FTP sites

Hi

I was unable to list directory from one FTP site using WinSCP scripting, and I also get same error on the WinSCP UI.
See attached session log file.

I also tested using windows command prompt, which worked correctly.
  • Cmd Log.png (22.42 KB, Private file)
  • ftplog.txt (5.65 KB, Private file)
Description: Session Log

Reply with quote

Advertisement

amweiss
Joined:
Posts:
2

Re: Error listing directory on some FTP sites

Thanks for your response.
You are right, this was the issue.
However why not automatically switch to active mode? Same as FileZilla. or at-least clarify the error message.

Thanks again.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,258
Location:
Prague, Czechia

Re: Error listing directory on some FTP sites

amweiss wrote:

However why not automatically switch to active mode? Same as FileZilla. or at-least clarify the error message.
Sure, this can be improved. However this happens so rarely, that active mode works, and passive does not, that it's hardly worth the effort.

Reply with quote

martouf
Guest

Re: Error listing directory on some FTP sites

martin wrote:

amweiss wrote:

However why not automatically switch to active mode? Same as FileZilla. or at-least clarify the error message.
Sure, this can be improved. However this happens so rarely, that active mode works, and passive does not, that it's hardly worth the effort.

It seems like a reasonable request and would provide a "least surprise" exception handling for the user. "Do the right thing" in the face of exceptions is always appreciated!

Reply with quote

Advertisement

You can post new topics in this forum