Extra List command

Advertisement

neil1964
Joined:
Posts:
1
Location:
UK

Extra List command

Hi

we have the following script

# FGWS
# step 2) connect to the FGWS server (and now delete the files)
open ftp://fgw:*****************@xx.yy.zz.aa -rawsettings SendBuf=0

# Upload to this folder
cd "/orders"

# Put all the files onto the server
put -delete *.* -nopreservetime

close

looking at the logging it generates the following

. 2016-06-30 01:21:49.145 Connecting to xx.yy.zz.aa ...
. 2016-06-30 01:21:49.145 Connected with xx.yy.zz.aa. Waiting for welcome message...
< 2016-06-30 01:21:49.145 220 (vsFTPd 3.0.2)
> 2016-06-30 01:21:49.145 USER fgw
< 2016-06-30 01:21:49.145 331 Please specify the password.
> 2016-06-30 01:21:49.145 PASS ***************
< 2016-06-30 01:21:49.161 230 Login successful.
> 2016-06-30 01:21:49.161 SYST
< 2016-06-30 01:21:49.161 215 UNIX Type: L8
> 2016-06-30 01:21:49.161 FEAT
< 2016-06-30 01:21:49.161 211-Features:
< 2016-06-30 01:21:49.161 EPRT
< 2016-06-30 01:21:49.161 EPSV
< 2016-06-30 01:21:49.161 MDTM
< 2016-06-30 01:21:49.177 PASV
< 2016-06-30 01:21:49.177 REST STREAM
< 2016-06-30 01:21:49.177 SIZE
< 2016-06-30 01:21:49.177 TVFS
< 2016-06-30 01:21:49.177 UTF8
< 2016-06-30 01:21:49.177 211 End
> 2016-06-30 01:21:49.177 OPTS UTF8 ON
< 2016-06-30 01:21:49.177 200 Always in UTF8 mode.
. 2016-06-30 01:21:49.177 Connected
. 2016-06-30 01:21:49.177 --------------------------------------------------------------------------
. 2016-06-30 01:21:49.177 Using FTP protocol.
. 2016-06-30 01:21:49.177 Doing startup conversation with host.
> 2016-06-30 01:21:49.177 PWD
< 2016-06-30 01:21:49.177 257 "/"
. 2016-06-30 01:21:49.177 Getting current directory name.
. 2016-06-30 01:21:49.177 Startup conversation with host finished.
< 2016-06-30 01:21:49.177 Script: Active session: [1] fgw@xx.yy.zz.aa
> 2016-06-30 01:21:49.177 Script: cd "/orders"
. 2016-06-30 01:21:49.177 Cached directory change via "/orders" to "/orders".
. 2016-06-30 01:21:49.177 Getting current directory name.
< 2016-06-30 01:21:49.177 Script: /orders
> 2016-06-30 01:21:49.177 Script: put -delete *.* -nopreservetime
. 2016-06-30 01:21:49.177 Copying 1 files/directories to remote directory "/orders"
. 2016-06-30 01:21:49.177 PrTime: No; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask:
. 2016-06-30 01:21:49.177 TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM: ; ResumeL: 0
. 2016-06-30 01:21:49.177 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2016-06-30 01:21:49.177 File: 'C66U012148052.dat' [2016-06-30T00:21:48.052Z] [836]
. 2016-06-30 01:21:49.177 Copying "C66U012148052.dat" to remote directory started.
. 2016-06-30 01:21:49.177 Binary transfer mode selected.
. 2016-06-30 01:21:49.177 Starting upload of C66U012148052.dat
> 2016-06-30 01:21:49.177 CWD /orders/
< 2016-06-30 01:21:49.177 250 Directory successfully changed.
> 2016-06-30 01:21:49.177 PWD
< 2016-06-30 01:21:49.177 257 "/orders"
> 2016-06-30 01:21:49.177 TYPE A
< 2016-06-30 01:21:49.192 200 Switching to ASCII mode.
> 2016-06-30 01:21:49.192 PASV
< 2016-06-30 01:21:49.192 227 Entering Passive Mode (52,16,73,195,4,23).
> 2016-06-30 01:21:49.192 LIST
< 2016-06-30 01:21:49.192 150 Here comes the directory listing.
< 2016-06-30 01:21:49.317 226 Directory send OK.
. 2016-06-30 01:21:49.427 -rw------- 1 1002 1002 190 May 31 23:04 C65V234708626.dat
. 2016-06-30 01:21:49.427 -rw------- 1 1002 1002 304 May 31 23:05 C65V234826127.dat
. 2016-06-30 01:21:49.427 -rw------- 1 1002 1002 304 May 31 23:32 C661001504949.dat
. 2016-06-30 01:21:49.427 -rw------- 1 1002 1002 456 May 31 23:35 C661001744076.dat

what is triggering the LIST command and how do we stop it ?

Neil

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum