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

Username
Subject
Message body
Options

This confirmation is required for unregistered users only.
Enter the code exactly as you see it. The code is case sensitive and zero has a diagonal line through it.
If you are visually impaired or cannot otherwise read this code please contact the administrator for help.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.
[Allowed Extensions and Sizes]

Topic review

Author Message
michaelskoerner
Thanks for investigating
prikryl
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:
http://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:
http://winscp.net/tracker/show_bug.cgi?id=716
prikryl
I have sent you an email.
michaelskoerner
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

Search winscp.net

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

About donations

Associations

Kyplex Cloud Security Seal - Click for Verification

Site design by Black Gate

WinSCP Privacy Policy

WinSCP License