Connection closing with 200 ASCII mode selected

Advertisement

mnaveen
Joined:
Posts:
12
Location:
India

Connection closing with 200 ASCII mode selected

C:\Program Files (x86)\WinSCP\WinSCP.com" /rawconfig Interface\SessionReopenAutoStall=2000 /log="D:\old\winscp_log\winscp_%yymmdd_hhmmss%.log"  /command ^
    "option batch abort" ^
    "open ftps://***%%2Fsupport@**.com:%Password%@***.sharefileftp.com -hostkey="**" -passive=on" ^
    "synchronize local -transfer=automatic -mirror -speed=2250  E:\MAX\  /MAX" ^
Log file:
[103.227.98.68].
< 2020-12-20 16:48:02.387 230-You are connected as TEST (invoices@***.com).
< 2020-12-20 16:48:02.387 230 Welcome to the iTech FTP site.
> 2020-12-20 16:48:02.387 SYST
< 2020-12-20 16:48:02.934 215 UNIX Type: L8
> 2020-12-20 16:48:02.934 FEAT
< 2020-12-20 16:48:02.981 211-Extensions supported:
< 2020-12-20 16:48:03.059  EPSV
< 2020-12-20 16:48:03.059  MDTM
< 2020-12-20 16:48:03.059  PASV
< 2020-12-20 16:48:03.059  REST STREAM
< 2020-12-20 16:48:03.059  SIZE
< 2020-12-20 16:48:03.059  UTF8
< 2020-12-20 16:48:03.059  PBSZ
< 2020-12-20 16:48:03.059  PROT
< 2020-12-20 16:48:03.059  X-NOVELLABS
< 2020-12-20 16:48:03.059  X-CITRIX
< 2020-12-20 16:48:03.059 211 End.
> 2020-12-20 16:48:03.059 OPTS UTF8 ON
< 2020-12-20 16:48:03.106 200 OK.
> 2020-12-20 16:48:03.106 PBSZ 0
< 2020-12-20 16:48:03.152 200 OK.
> 2020-12-20 16:48:03.152 PROT P
< 2020-12-20 16:48:03.199 200 Data connections set to secure (SSL) mode
< 2020-12-20 16:48:03.199 Script: Connected
. 2020-12-20 16:48:03.199 Connected
. 2020-12-20 16:48:03.199 Doing startup conversation with host.
< 2020-12-20 16:48:03.199 Script: Starting the session...
> 2020-12-20 16:48:03.199 PWD
< 2020-12-20 16:48:03.246 257 "/"
. 2020-12-20 16:48:03.246 Changing directory to "/".
> 2020-12-20 16:48:03.246 CWD /
< 2020-12-20 16:48:03.965 250 "/" is the current directory.
. 2020-12-20 16:48:03.965 Getting current directory name.
> 2020-12-20 16:48:03.965 PWD
< 2020-12-20 16:48:04.012 257 "/"
. 2020-12-20 16:48:04.012 Startup conversation with host finished.
< 2020-12-20 16:48:04.012 Script: Session started.
. 2020-12-20 16:48:04.012 Retrieving directory listing...
> 2020-12-20 16:48:04.012 CWD /MAX/DB_BACKUP
< 2020-12-20 16:48:04.684 250 "/MAX/DB_BACKUP" is the current directory.
> 2020-12-20 16:48:04.684 PWD
< 2020-12-20 16:48:04.731 257 "/MAX/DB_BACKUP"
> 2020-12-20 16:48:04.731 TYPE A
< 2020-12-20 16:48:04.777 200 ASCII mode selected. (Note: This server treats ASCII mode identically to Binary mode.)
> 2020-12-20 16:48:04.777 PASV
< 2020-12-20 16:48:04.824 227 Entering Passive Mode (54,254,202,61,164,190)
> 2020-12-20 16:48:04.824 LIST -a
. 2020-12-20 16:48:04.824 Connecting to 54.254.202.61:42174 ...

Reply with quote E-mail

Advertisement

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

Re: Connection closing with 200 ASCII mode selected

As I have asked you on your duplicate Stack Overflow question (which you have deleted meanwhile):
This looks like XY problem. Do you have any reason to believe your problem has anything to do with the ascii mode? I'm quite sure it does not. – Can you retrieve the directory listing from the FTP server anyhow? In WinSCP GUI? In any other FTP client? If you can, show us a log file for that successful listing.

Reply with quote

Advertisement

You can post new topics in this forum