Many thanks, Bernard. Yes, the first part on /images/gif89a was indeed
from ftp client and its folder auto searching. OK, say bye bye to this
confusion.
I have tried ftp.exe, info as shown below -
331 Password required for Administrator.
Password:
230 User Administrator logged in.
ftp> binary
200 Type set to I.
ftp> pwd
257 "/" is current directory.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
----------------------?
Aborting any active data connections...
425 Can't open data connection.
ftp> cd tmp1
250 CWD command successful.
ftp> pwd
257 "/tmp1" is current directory.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
------------------------?
It hangs there unless you forcibly discountinue it! Then I searched
the web about this and found your previous contributions - it is about
DOS FTP Active mode. I just do not know how to set Passive mode for
the DOS FTP. I tried to test this mode swap in WS_FTP - indeed, if I
select Active mode, the client produces the same hanging.
We do use Firewalls on both Server and all client XP machines within
the company. I note that all ftp clients used - including ftp.exe,
WS_FTP and SmartFTP - are put in Firewall exceptions.
The most odd thing is that the Server is just sensitive to some files
being uploaded. If I rename "Lucy_photo.jpg" to "Lucy_photo1.jpg" or
"Lucy1_photo.jpg" within the "tmp1" folder, both Ws_FTP and SmartFTP
can show the file list very quickly, no problem. If I change the new
file name back to "Lucy_photo.jpg", the problem re-occurs - both
WS_FTP and SmartFTP CANNOTshow the file list of this "tmp1" folder. I
also note that the problem is not really totally related to this file
"Lucy_photo.jpg", as if it is within the "tmp1" folder, just only a
partial list of files can be shown (e.g., in SmartFTP).
Is it possible that this is to do with some net filtering solutions
implemented within the larger company network?
Below I am forwarding two WS_FTP log files - the first one with the
"Lucy_photo.jpg" deleted in the "tmp1" folder, while the second was re-
added. As soon as it is added, the ftp client cannot show file list!!!
Both logs file show first login as Administrator, and then move to the
folder "tmp" to test - no problem with this folder; back to the root
directory, then trying to open the troubling folder "tmp1" - at this
point two log files start to show difference.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
1st log - works OK
WINSOCK.DLL: WinSock 2.0
WS_FTP LE 5.08 2000.01.13, Copyright =A9 1992-2000 Ipswitch, Inc.
- -
connecting to xxx.xxx.xx.xx:21
Connected to xxx.xxx.xx.xx port 21
220 Microsoft FTP Service
USER Administrator
331 Password required for Administrator.
PASS (hidden)
230 User Administrator logged in.
PWD
257 "/" is current directory.
Host type (I): Microsoft NT
PASV
227 Entering Passive Mode (xxx,xxx,xx,xx,19,140).
connecting to xxx.xxx.xx.xx:5004
- -
connecting to xxx.xxx.xx.xx:5004
Connected to xxx.xxx.xx.xx port 5004
LIST
125 Data connection already open; Transfer starting.
Received 5202 bytes in 0.1 secs, (500.00 Kbps), transfer succeeded
226 Transfer complete.
CWD tmp
250 CWD command successful.
PWD
257 "/tmp" is current directory.
PASV
227 Entering Passive Mode (xxx,xxx,xx,xx,19,141).
connecting to xxx.xxx.xx.xx:5005
- -
connecting to xxx.xxx.xx.xx:5005
Connected to xxx.xxx.xx.xx port 5005
LIST
125 Data connection already open; Transfer starting.
Received 212 bytes in 0.1 secs, (20.00 Kbps), transfer succeeded
226 Transfer complete.
CDUP
250 CWD command successful.
PWD
257 "/" is current directory.
CWD tmp1
250 CWD command successful.
PWD
257 "/tmp1" is current directory.
PASV
227 Entering Passive Mode (xxx,xxx,xx,xx,19,147).
connecting to xxx.xxx.xx.xx:5011
- -
connecting to xxx.xxx.xx.xx:5011
Connected to xxx.xxx.xx.xx port 5011
LIST
125 Data connection already open; Transfer starting.
Received 4284 bytes in 0.1 secs, (410.00 Kbps), transfer succeeded
226 Transfer complete.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
2st log - problem appeared in the last line
WINSOCK.DLL: WinSock 2.0
WS_FTP LE 5.08 2000.01.13, Copyright =A9 1992-2000 Ipswitch, Inc.
- -
connecting to xxx.xxx.xx.xx:21
Connected to xxx.xxx.xx.xx port 21
220 Microsoft FTP Service
USER Administrator
331 Password required for Administrator.
PASS (hidden)
230 User Administrator logged in.
PWD
257 "/" is current directory.
Host type (I): Microsoft NT
PASV
227 Entering Passive Mode (xxx,xxx,xx,xx,19,144).
connecting to xxx.xxx.xx.xx:5008
- -
connecting to xxx.xxx.xx.xx:5008
Connected to xxx.xxx.xx.xx port 5008
LIST
125 Data connection already open; Transfer starting.
Received 5202 bytes in 0.1 secs, (500.00 Kbps), transfer succeeded
226 Transfer complete.
CWD tmp
250 CWD command successful.
PWD
257 "/tmp" is current directory.
PASV
227 Entering Passive Mode (xxx,xxx,xx,xx,19,145).
connecting to xxx.xxx.xx.xx:5009
- -
connecting to xxx.xxx.xx.xx:5009
Connected to xxx.xxx.xx.xx port 5009
LIST
125 Data connection already open; Transfer starting.
Received 212 bytes in 0.1 secs, (20.00 Kbps), transfer succeeded
226 Transfer complete.
CDUP
250 CWD command successful.
PWD
257 "/" is current directory.
CWD tmp1
250 CWD command successful.
PWD
257 "/tmp1" is current directory.
PASV
227 Entering Passive Mode (xxx,xxx,xx,xx,19,146).
connecting to xxx.xxx.xx.xx:5010
- -
connecting to xxx.xxx.xx.xx:5010
Connected to xxx.xxx.xx.xx port 5010
LIST
125 Data connection already open; Transfer
starting.
-----------------------
WS_FTP is hanging there now, and cannot display the FULL file list
again!
THANK YOU.
On Mar 1, 6:37 pm, "Bernard Cheah [MVP]"
[quoted text, click to view] <qbern...@hotmail.com.discuss> wrote:
> Funny... it could be from the ftp client itself auto navigating to the
> folder
> CWD /images/gif89a
>
> have you try plain simple ftp.exe to connect and check the behavior ?
>
> after upload do a dir listing.
>
> --
> Regards,
> Bernard Cheah
http://www.iis.net/http://
www.iis-resources.com/http://msmvp=
s=2Ecom/blogs/bernard/
>