Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Just to be sure I understand:
- After you restart the machine, your application that uses WinSCP .NET assembly is not able to retrieve directory listing (although it can connect to the FTP server).
- You then connect to the same FTP server using Windows command-line ftp.exe client and issue dir command.
- The command retrieves the directory listing.
- From that moment on, the application that uses WinSCP .NET assembly is able to retrieve the directory listing too.

Is that correct?

And again, while the application that uses WinSCP .NET assembly is failing, if you connect using any other FTP client that uses passive FTP mode, is the client able to retrieve directory listing or not? Note that ftp.exe uses an active mode.
Sandoval

So you keep the program running. And once you type the dir somewhere (where? please be specific), the program suddenly starts working?


Yes, in the command prompt:

ftp <ftpAddress>

dir


and it's all

At the same time the program is failing, if you connect with some other standalone FTP client, can you list the directory?

yes, that's correct
martin

So you keep the program running. And once you type the dir somewhere (where? please be specific), the program suddenly starts working? Please give us as many details as possible!

At the same time the program is failing, if you connect with some other standalone FTP client, can you list the directory?
Sandoval

And how/when does it start working again?


Until I make a "dir" in the Command Prompt
martin

Re: Session jammed after restart

Sandoval wrote:

It works fine until the server is restarted

And how/when does it start working again?
Sandoval

LogFile

Thank you for your response

Here is the Log.

Greetings and regards.
martin

Re: Session jammed after restart

Please attach a log file.
Sandoval

Session jammed after restart

Good afternoon.

I have a program that constantly monitors a server, connecting with FTP mode "Pasive" through the port 21. It works fine until the server is restarted, when this event occurs, the application simply stop it's process. It doesn't throw any error, or timeout, and the log doesn't register anything.

On the server side, the server is running at 10% of it's process power and the RAM Memory it's at 45%.

Greetings and thank you for your attention.

Sandoval.