Cancelling download/upload

Advertisement

ladlon
Joined:
Posts:
4

Cancelling download/upload

Hi. Everything is working fine, but I'm wondering why it doesn't immediately stop the transfer when you cancel an upload/download. It actually continues for several minutes afterwards, decreasing the transfer rate. I can't even shut the program down, and have to kill it in Task Manager just to stop it.

Is there some setting I should look at or something?

Win7Pro i7PC

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: Cancelling download/upload

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

martin
Site Admin
martin avatar

miodrag wrote:

cancelling never worked for me in any version of winscp. any transfer cancel must be done via the task manager.
As above: Please attach a full session log file showing the problem (using the latest version of WinSCP).

Reply with quote

miodrag
Joined:
Posts:
8

the log of unable to cancel upload

The log is here. It says the transfer was aborted and all went well. But in reality, the transfer went on (verified by the target file size) and always on top box showing the progress-bar remained there, showing perfectly normal rate and progress, just like i never clicked cancel. Eventually ctrl-alt-del came to the rescue.

Btw... i opened another thread on this forum, and at first i was able to find it using forum->search->my name. I can no longer do that. Eventually i figured the right keywords, found it and bookmarked it, just wondering why the search works this way. I also found this thread using search->my name.
. 2021-02-23 21:01:27.989 --------------------------------------------------------------------------
. 2021-02-23 21:01:28.004 WinSCP Version 5.17.10 (Build 11087) (OS 6.3.9600 - Windows 8.1 Pro)
. 2021-02-23 21:01:28.004 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2021-02-23 21:01:28.004 Log level: Normal
. 2021-02-23 21:01:28.004 Local account: ****************
. 2021-02-23 21:01:28.004 Working directory: C:\Program Files (x86)\internet\WinSCP
. 2021-02-23 21:01:28.004 Process ID: 1460
. 2021-02-23 21:01:28.004 Command-line: "C:\Program Files (x86)\internet\WinSCP\WinSCP.exe" 
. 2021-02-23 21:01:28.004 Time zone: Current: GMT+1, Standard: GMT+1 (Central Europe Standard Time), DST: GMT+2 (Central Europe Daylight Time), DST Start: 28.3.2021., DST End: 31.10.2021.
. 2021-02-23 21:01:28.004 Login time: 23. februar 2021. 21:01:28
. 2021-02-23 21:01:28.004 --------------------------------------------------------------------------
. 2021-02-23 21:01:28.004 Session name: ************** (Site)
. 2021-02-23 21:01:28.004 Host name: ************** (Port: 21)
. 2021-02-23 21:01:28.004 User name: ************** (Password: Yes, Key file: No, Passphrase: No)
. 2021-02-23 21:01:28.004 Transfer Protocol: FTP
. 2021-02-23 21:01:28.004 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2021-02-23 21:01:28.004 Disable Nagle: No
. 2021-02-23 21:01:28.004 Proxy: None
. 2021-02-23 21:01:28.004 Send buffer: 262144
. 2021-02-23 21:01:28.004 UTF: Auto
. 2021-02-23 21:01:28.004 FTPS: None [Client certificate: No]
. 2021-02-23 21:01:28.004 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2021-02-23 21:01:28.004 Local directory: C:\web\ribbon-cms.novi\online-prodaja SUBDOMAIN\malovic, Remote directory: /online-prodaja/malovic, Update: Yes, Cache: Yes
. 2021-02-23 21:01:28.004 Cache directory changes: Yes, Permanent: Yes
. 2021-02-23 21:01:28.004 Recycle bin: Delete to: No, Overwritten to: No, Bin path: 
. 2021-02-23 21:01:28.004 Timezone offset: 0h 0m
. 2021-02-23 21:01:28.004 --------------------------------------------------------------------------
. 2021-02-23 21:01:28.098 Connecting to ************** ...
. 2021-02-23 21:01:28.098 Connected with ************** Waiting for welcome message...
< 2021-02-23 21:01:28.098 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 2021-02-23 21:01:28.098 220-You are user number 2 of 50 allowed.
< 2021-02-23 21:01:28.098 220-Local time is now 21:01. Server port: 21.
< 2021-02-23 21:01:28.098 220-This is a private system - No anonymous login
< 2021-02-23 21:01:28.098 220-IPv6 connections are also welcome on this server.
< 2021-02-23 21:01:28.098 220 You will be disconnected after 15 minutes of inactivity.
> 2021-02-23 21:01:28.098 USER **************
< 2021-02-23 21:01:28.129 331 User ribbcmst OK. Password required
> 2021-02-23 21:01:28.145 PASS **************
< 2021-02-23 21:01:28.239 230 OK. Current restricted directory is /
> 2021-02-23 21:01:28.239 SYST
< 2021-02-23 21:01:28.270 215 UNIX Type: L8
> 2021-02-23 21:01:28.270 FEAT
< 2021-02-23 21:01:28.301 211-Extensions supported:
< 2021-02-23 21:01:28.301  UTF8
< 2021-02-23 21:01:28.301  EPRT
< 2021-02-23 21:01:28.301  IDLE
< 2021-02-23 21:01:28.301  MDTM
< 2021-02-23 21:01:28.332  SIZE
< 2021-02-23 21:01:28.332  MFMT
< 2021-02-23 21:01:28.332  REST STREAM
< 2021-02-23 21:01:28.332  MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
< 2021-02-23 21:01:28.332  MLSD
< 2021-02-23 21:01:28.332  PRET
< 2021-02-23 21:01:28.332  AUTH TLS
< 2021-02-23 21:01:28.332  PBSZ
< 2021-02-23 21:01:28.332  PROT
< 2021-02-23 21:01:28.332  TVFS
< 2021-02-23 21:01:28.332  ESTA
< 2021-02-23 21:01:28.332  PASV
< 2021-02-23 21:01:28.348  EPSV
< 2021-02-23 21:01:28.348  SPSV
< 2021-02-23 21:01:28.348  ESTP
< 2021-02-23 21:01:28.348 211 End.
> 2021-02-23 21:01:28.348 OPTS UTF8 ON
< 2021-02-23 21:01:28.379 504 Unknown command
. 2021-02-23 21:01:28.426 Connected
. 2021-02-23 21:01:28.426 --------------------------------------------------------------------------
. 2021-02-23 21:01:28.426 Using FTP protocol.
. 2021-02-23 21:01:28.426 Doing startup conversation with host.
> 2021-02-23 21:01:28.442 PWD
< 2021-02-23 21:01:28.473 257 "/" is your current location
. 2021-02-23 21:01:28.473 Changing directory to "/online-prodaja/malovic".
> 2021-02-23 21:01:28.473 CWD /online-prodaja/malovic
< 2021-02-23 21:01:28.504 250 OK. Current directory is /online-prodaja/malovic
. 2021-02-23 21:01:28.504 Getting current directory name.
> 2021-02-23 21:01:28.504 PWD
< 2021-02-23 21:01:28.551 257 "/online-prodaja/malovic" is your current location
. 2021-02-23 21:01:28.614 Retrieving directory listing...
> 2021-02-23 21:01:28.614 TYPE A
< 2021-02-23 21:01:28.645 200 TYPE is now ASCII
> 2021-02-23 21:01:28.645 PASV
< 2021-02-23 21:01:28.676 227 Entering Passive Mode (*,*,64,254,208,246)
> 2021-02-23 21:01:28.676 MLSD
. 2021-02-23 21:01:28.676 Connecting to **************:53494 ...
< 2021-02-23 21:01:28.739 150 Accepted data connection
< 2021-02-23 21:01:28.739 226 18 matches total
. 2021-02-23 21:01:28.801 Data connection closed
. 2021-02-23 21:01:28.801 type=file;size=182528;modify=20210216070330;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a62; data.file
. 2021-02-23 21:01:28.801 type=file;size=73;modify=20150211033531;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a33; plus.gif
. 2021-02-23 21:01:28.801 type=file;size=41715;modify=20210217012129;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440065; mile.php.bak2
. 2021-02-23 21:01:28.801 type=file;size=21241;modify=20180902005059;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a39; nemanja.php
. 2021-02-23 21:01:28.801 type=file;size=41592;modify=20210218035820;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3441c26; mile.php
. 2021-02-23 21:01:28.801 type=cdir;sizd=4096;modify=20210218020541;UNIX.mode=0755;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a29; .
. 2021-02-23 21:01:28.801 type=file;size=31;modify=20150212104019;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a44; index.php
. 2021-02-23 21:01:28.801 type=file;size=2618;modify=20210205181545;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g34410b8; setdes.php
. 2021-02-23 21:01:28.801 type=file;size=72;modify=20150211033526;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a40; minus.gif
. 2021-02-23 21:01:28.801 type=file;size=41715;modify=20210217233411;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g344013c; mile.php.bak1
. 2021-02-23 21:01:28.801 type=file;size=12271;modify=20180901234107;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a4f; blue.jpg
. 2021-02-23 21:01:28.801 type=file;size=3685;modify=20150212101036;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a4e; calc.png
. 2021-02-23 21:01:28.801 type=pdir;sizd=4096;modify=20210205224340;UNIX.mode=0750;UNIX.uid=1475;UNIX.gid=99;unique=902g33e268c; ..
. 2021-02-23 21:01:28.801 type=file;size=7136;modify=20180831090845;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a3c; muaterije.php
. 2021-02-23 21:01:28.801 type=file;size=106105;modify=20170709172617;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a52; blub.jpg
. 2021-02-23 21:01:28.801 type=file;size=1889;modify=20210205172558;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3441239; setship.php
. 2021-02-23 21:01:28.801 type=file;size=30;modify=20210131011140;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g34400a9; php.ini
. 2021-02-23 21:01:28.801 type=file;size=33067;modify=20180529222443;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a2c; vlue.jpg
. 2021-02-23 21:01:28.801 Directory listing successful
. 2021-02-23 21:01:28.801 ..;D;0;1899-12-30T01:00:00.000Z;0;"" [0];"" [0];---------;0
. 2021-02-23 21:01:28.801 data.file;-;182528;2021-02-16T07:03:30.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 plus.gif;-;73;2015-02-11T03:35:31.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 mile.php.bak2;-;41715;2021-02-17T01:21:29.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 nemanja.php;-;21241;2018-09-02T00:50:59.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 mile.php;-;41592;2021-02-18T03:58:20.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 index.php;-;31;2015-02-12T10:40:19.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 setdes.php;-;2618;2021-02-05T18:15:45.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 minus.gif;-;72;2015-02-11T03:35:26.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 mile.php.bak1;-;41715;2021-02-17T23:34:11.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 blue.jpg;-;12271;2018-09-01T23:41:07.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 calc.png;-;3685;2015-02-12T10:10:36.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 mušterije.php;-;7136;2018-08-31T09:08:45.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 blub.jpg;-;106105;2017-07-09T17:26:17.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 setship.php;-;1889;2021-02-05T17:25:58.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 php.ini;-;30;2021-01-31T01:11:40.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.801 vlue.jpg;-;33067;2018-05-29T22:24:43.000Z;3;"1475" [0];"1478" [0];rw-r--r--;0
. 2021-02-23 21:01:28.832 Startup conversation with host finished.
. 2021-02-23 21:01:43.757 Copying 1 files/directories to remote directory "/online-prodaja/malovic/" - total size: 429.568.000
. 2021-02-23 21:01:43.757   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2021-02-23 21:01:43.757   TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; EncryptNewFiles: Yes; ExcludeHiddenFiles: No; ExcludeEmptyDirectories: No; InclM: ; ResumeL: 0
. 2021-02-23 21:01:43.757   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2021-02-23 21:01:43.772 File: 'C:\web\backup-ribbon-cms.ml-2-3-2021.tar' [2021-02-02T23:12:59.000Z] [429568000]
. 2021-02-23 21:01:43.788 Copying "C:\web\backup-ribbon-cms.ml-2-3-2021.tar" to remote directory started.
. 2021-02-23 21:01:43.788 Binary transfer mode selected.
. 2021-02-23 21:01:43.788 Starting upload of C:\web\backup-ribbon-cms.ml-2-3-2021.tar
> 2021-02-23 21:01:43.788 TYPE I
< 2021-02-23 21:01:43.819 200 TYPE is now 8-bit binary
> 2021-02-23 21:01:43.819 PASV
< 2021-02-23 21:01:43.851 227 Entering Passive Mode (*,*,64,254,221,50)
> 2021-02-23 21:01:43.851 STOR backup-ribbon-cms.ml-2-3-2021.tar
. 2021-02-23 21:01:43.851 Connecting to **************:56626 ...
< 2021-02-23 21:01:43.929 150 Accepted data connection
. 2021-02-23 21:01:45.038 Increasing send buffer from 262144 to 524288
. 2021-02-23 21:01:55.792 Upload aborted
. 2021-02-23 21:01:55.792 Terminated by user.
< 2021-02-23 21:01:56.854 226-File successfully transferred
< 2021-02-23 21:01:56.854 226 12.932 seconds (measured here), 456.54 Kbytes per second
. 2021-02-23 21:01:56.854 Retrieving directory listing...
> 2021-02-23 21:01:56.854 TYPE A
< 2021-02-23 21:01:56.886 200 TYPE is now ASCII
> 2021-02-23 21:01:56.886 PASV
< 2021-02-23 21:01:56.933 227 Entering Passive Mode (*,*,64,254,253,89)
> 2021-02-23 21:01:56.933 MLSD
. 2021-02-23 21:01:56.933 Connecting to **************:64857 ...
< 2021-02-23 21:01:57.011 150 Accepted data connection
< 2021-02-23 21:01:57.011 226 19 matches total
. 2021-02-23 21:01:57.011 Data connection closed
. 2021-02-23 21:01:57.011 type=file;size=182528;modify=20210216070330;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a62; data.file
. 2021-02-23 21:01:57.011 type=file;size=73;modify=20150211033531;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a33; plus.gif
. 2021-02-23 21:01:57.011 type=file;size=41715;modify=20210217012129;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440065; mile.php.bak2
. 2021-02-23 21:01:57.011 type=file;size=21241;modify=20180902005059;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a39; nemanja.php
. 2021-02-23 21:01:57.011 type=file;size=41592;modify=20210218035820;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3441c26; mile.php
. 2021-02-23 21:01:57.011 type=cdir;sizd=4096;modify=20210223200139;UNIX.mode=0755;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a29; .
. 2021-02-23 21:01:57.011 type=file;size=31;modify=20150212104019;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a44; index.php
. 2021-02-23 21:01:57.011 type=file;size=2618;modify=20210205181545;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g34410b8; setdes.php
. 2021-02-23 21:01:57.011 type=file;size=72;modify=20150211033526;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a40; minus.gif
. 2021-02-23 21:01:57.011 type=file;size=41715;modify=20210217233411;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g344013c; mile.php.bak1
. 2021-02-23 21:01:57.011 type=file;size=12271;modify=20180901234107;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a4f; blue.jpg
. 2021-02-23 21:01:57.011 type=file;size=3685;modify=20150212101036;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a4e; calc.png
. 2021-02-23 21:01:57.011 type=pdir;sizd=4096;modify=20210205224340;UNIX.mode=0750;UNIX.uid=1475;UNIX.gid=99;unique=902g33e268c; ..
. 2021-02-23 21:01:57.011 type=file;size=7136;modify=20180831090845;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a3c; mušterije.php
. 2021-02-23 21:01:57.011 type=file;size=106105;modify=20170709172617;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a52; blub.jpg
. 2021-02-23 21:01:57.011 type=file;size=1889;modify=20210205172558;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3441239; setship.php
. 2021-02-23 21:01:57.011 type=file;size=30;modify=20210131011140;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g34400a9; php.ini
. 2021-02-23 21:01:57.011 type=file;size=33067;modify=20180529222443;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3440a2c; vlue.jpg
. 2021-02-23 21:01:57.011 type=file;size=6045696;modify=20210223200152;UNIX.mode=0644;UNIX.uid=1475;UNIX.gid=1478;unique=902g3441db3; backup-ribbon-cms.ml-2-3-2021.tar
. 2021-02-23 21:01:57.011 Directory listing successful
. 2021-02-23 21:02:27.050 Sending dummy command to keep session alive.
> 2021-02-23 21:02:27.050 REST 0
< 2021-02-23 21:02:27.081 350 Restarting at 0
. 2021-02-23 21:02:57.037 Sending dummy command to keep session alive.
> 2021-02-23 21:02:57.037 TYPE I
< 2021-02-23 21:02:57.068 200 TYPE is now 8-bit binary
. 2021-02-23 21:03:27.045 Sending dummy command to keep session alive.
> 2021-02-23 21:03:27.045 REST 0
< 2021-02-23 21:03:27.076 350 Restarting at 0

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: the log of unable to cancel upload

Thanks for the log.

You wrote that "Eventually ctrl-alt-del came to the rescue". I do not see that in the log. Are you claiming that at the time the log shows WinSCP being idle (21:02:27 and later), the GUI was actually still uploading the files?

If that's the case: I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum. Please follow the instructions in the email.

Reply with quote

Advertisement

You can post new topics in this forum