• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 652
  • Last Modified:

FTP Disconnects TYPE A

FTP Server: Filezilla

I have a system that updates our phone systems.  Two sites each with Cisco ASA firewalls have the same phone system.

When we push out update jobs, one site is not staying connected to the FTP server.  Please look at the below logs.  The first connection goes from Type A to Type I and gets the file.

The second once it goes to Type A it disconnects.

Why would it not which to I?

(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 230 Logged on
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> CWD /Vertical Software/GHF/
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 250 CWD successful. "/Vertical Software/GHF" is current directory.
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> TYPE A
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 200 Type set to A
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> PORT 50,74,221,18,185,62
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 200 Port command successful
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> LIST
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 150 Opening data channel for directory list.
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 226 Transfer OK
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> PWD
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 257 "/Vertical Software/GHF" is current directory.
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> CWD GHF_99_99_0_1021_1112.CAB*
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 550 CWD failed. "/Vertical Software/GHF/GHF_99_99_0_1021_1112.CAB*": directory not found.
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> TYPE I
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 200 Type set to I
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> PORT 50,74,221,18,171,162
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 200 Port command successful
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> SIZE GHF_99_99_0_1021_1112.CAB
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 213 29068675
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> RETR GHF_99_99_0_1021_1112.CAB
(000016) 9/1/2012 9:46:07 AM - waveip (2.x.x.x)> 150 Opening data channel for file transfer.
(000016) 9/1/2012 9:46:31 AM - waveip (2.x.x.x)> 226 Transfer OK
(000016) 9/1/2012 9:46:31 AM - waveip (2.x.x.x)> disconnected.
(000017) 9/1/2012 9:47:15 AM - (not logged in) (1.x.x.x)> Connected, sending welcome message...
(000017) 9/1/2012 9:47:15 AM - (not logged in) (1.x.x.x)> 220-FileZilla Server version 0.9.39 beta
(000017) 9/1/2012 9:47:15 AM - (not logged in) (1.x.x.x)> 220 Welcome to
(000017) 9/1/2012 9:47:15 AM - (not logged in) (1.x.x.x)> USER waveip
(000017) 9/1/2012 9:47:15 AM - (not logged in) (1.x.x.x)> 331 Password required for waveip
(000017) 9/1/2012 9:47:15 AM - (not logged in) (1.x.x.x)> PASS XXXXXX
(000017) 9/1/2012 9:47:15 AM - waveip (1.x.x.x)> 230 Logged on
(000017) 9/1/2012 9:47:16 AM - waveip (1.x.x.x)> CWD /Vertical Software/GHF/
(000017) 9/1/2012 9:47:16 AM - waveip (1.x.x.x)> 250 CWD successful. "/Vertical Software/GHF" is current directory.
(000017) 9/1/2012 9:47:16 AM - waveip (1.x.x.x)> TYPE A
(000017) 9/1/2012 9:47:16 AM - waveip (1.x.x.x)> 200 Type set to A
(000017) 9/1/2012 9:47:17 AM - waveip (1.x.x.x)> disconnected.
0
skynetop
Asked:
skynetop
  • 2
2 Solutions
 
giltjrCommented:
This looks like a log from the server side.

Can you get a log from the client side?
0
 
AlexPaceCommented:
The problem is not likely related to the TYPE command.  The client probably just requests directory listings in ASCII mode and files in Binary mode.
0
 
giltjrCommented:
I would also double check both servers.  Some servers are setup to only allow binary transfers.  Although I have never seen one setup to disconnect when TYPE A was received. The few I have seen issue a message saying "Only image transfers allowed."

I would also check your client side script.  Doing a cd to what appears to be wildcard file name won't work:

     " CWD GHF_99_99_0_1021_1112.CAB*"
0

Featured Post

Prepare for an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program curriculum features two internationally recognized certifications from the EC-Council at no additional time or cost.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now