Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

michaelskoerner

Re: WinSCP FTP explicitly send QUIT

Thanks for investigating
martin

Re: WinSCP FTP explicitly send QUIT

michaelskoerner wrote:

When I check the FTP server, I see that the WinSCP client does not send a QUIT command when the session is closed.

This issue was added to tracker:
https://winscp.net/tracker/717

However this results with the winscp.com throwing the error "Invalid access to memory", probably because the session is already closed

This bug was added to tracker:
https://winscp.net/tracker/716
martin

Re: WinSCP FTP explicitly send QUIT

I have sent you an email.
michaelskoerner

WinSCP FTP explicitly send QUIT

Hi,
I'm using the WinSCP winscp.com to open a FTP session on a server, list the contents, and log off. When I check the FTP server, I see that the WinSCP client does not send a QUIT command when the session is closed. This keeps the session open on the server. So I added a "call quit" command to the script. However this results with the winscp.com throwing the error "Invalid access to memory", probably because the session is already closed

Is there a better way to send the QUIT from WinSCP?

Here is the command line:
winscp.com /script=test.txt /log=log.txt

Script:
option batch on
option confirm off
open ftp://user:pwd@site
ls
call HELP
call quit
exit

Client is WinSCP Version 4.3.4 (Build 1428) (OS 6.1.7601 Service Pack 1)
Server is IIS ftp