Topic "WinSCP FTP explicitly send QUIT"

Author Message
michaelskoerner
[View user's profile]

Joined: 2011-08-16
Posts: 2
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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
I have sent you an email.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
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/show_bug.cgi?id=717

Quote:
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/show_bug.cgi?id=716
michaelskoerner
[View user's profile]

Joined: 2011-08-16
Posts: 2
Thanks for investigating
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License