You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Hosted Forums > UTStats > General Chat

Reply
Thread Tools Display Modes
  #1  
Unread 21st October, 2010, 02:13 PM
rork's Avatar
rork rork is offline
Godlike
 
Join Date: Nov 2007
Posts: 265
Default FTP Problem: error 552 after NLST

Someone asked my assistance with an FTP problem. I hope someone here can give some more insight.

Login and switching to the directory went ok but at the moment the file list is requested it goes wrong.

His debug log looked like this:
Quote:
Creating data socket
PUT > PASV
GET < 227 Entering Passive Mode (94,23,229,44,19,231).
Connecting to 94.23.229.44:5095
_data_prepare: socket_connect (Connection refused)
Disconnected data from remote host
Thinking it might have something to do with passive mode I asked him to disable it and now he gets the following error at the same spot.
Quote:
PUT > NLST
GET < 552 Requested file action aborted.
Disconnected data from remote host
552 would normally big given when you try to upload a file and there's not enough diskspace to store it. From my point of view it doesn't make any sense that this code is returned after requesting a file list.

The complete log of the active mode attempt.
Quote:
Staring FTP client class with PORT mode support
UMASK 022
Transfer type: auto ASCII
Timeout 30
Passive mode off
Host ""***.***.***.***("***.***.***.***):21"
Local OS : UNIX
Using PHP's socket extension
Creating socket
Connecting to "***.***.***.***:21"
Connected to remote host ""***.***.***.***:21". Waiting for greeting.
GET < 220 RoxServers.com FTP Server
PUT > USER ***
GET < 331 User name okay, need password.
PUT > PASS ***
GET < 230 User logged in, proceed.
Authentication succeeded
PUT > REST 100
GET < 350 Requested file action pending further information.
This server can resume broken uploads/downloads
Transfer type: binary
Passive mode off
PUT > PWD
GET < 257 "/" is current directory
PUT > CWD /ut-server/Logs
GET < 250 CWD command successful.
PUT > PWD
GET < 257 "/ut-server//Logs" is current directory
PUT > TYPE A
GET < 200 Command okay.
Creating data socket
PUT > PORT 174,132,78,2,175,115
GET < 200 Port ok.
PUT > NLST
GET < 552 Requested file action aborted.
Disconnected data from remote host
PUT > CWD /ut-server//Shots
GET < 250 CWD command successful.
PUT > PWD
GET < 257 "/ut-server/Shots" is current directory
PUT > TYPE A
GET < 200 Command okay.
Creating data socket
PUT > PORT 174,132,78,2,223,190
GET < 200 Port ok.
PUT > NLST
GET < 552 Requested file action aborted.
Disconnected data from remote host
PUT > QUIT
GET < 221 Service closing control connection.
Session finished
Socket closed
He also tried using php instead of sockets but no luck there also.

Does anyone have an idea what could be the problem?
__________________
Admin of XOL DOG CTF Fun server: 81.169.188.18 - Stats & dU Coop: 85.14.203.180:5555 - Forum
Reply With Quote
  #2  
Unread 21st October, 2010, 04:11 PM
TheDane's Avatar
TheDane TheDane is offline
Unstoppable
 
Join Date: Jul 2010
Location: Roskilde, Denmark.
Posts: 234
Default

Quote:
Passive mode off
try setting passive mode to >ON< , that works for me.
__________________
Finaly .... peace
Reply With Quote
  #3  
Unread 21st October, 2010, 06:00 PM
Azura's Avatar
Azura Azura is offline
Holy Shit!!
 
Join Date: Apr 2003
Posts: 4,029
Default

That's weird indeed. What's the ftp client and server software?
__________________
How to feck up a perfectly good game:
UT (1999) = UnbelievableGameSoCoolIMustHelpBringNewPlayers Tournament
UT (2008) = Unreal ThrustMyPrivatePartsInYourFaceBish

And that's probably why UTIII was a relative flop. New game, same sh*thead players ^^.
Reply With Quote
  #4  
Unread 12th December, 2010, 04:03 PM
rork's Avatar
rork rork is offline
Godlike
 
Join Date: Nov 2007
Posts: 265
Default

It took some time to get this rolling again.

The client used it UTStats php sockets.
The server is the build in ftp server in TCAdmin running on a Windows NT server. Besides this error I encounter connection loss during normal ftp sessions, a "500 unknown command" after sending a "RNTO" request.

I send TCAdmin an email to clarify the problem. There are similar problems with the server as discussed in this thread.
__________________
Admin of XOL DOG CTF Fun server: 81.169.188.18 - Stats & dU Coop: 85.14.203.180:5555 - Forum
Reply With Quote
  #5  
Unread 13th December, 2010, 07:02 PM
iDeFiX iDeFiX is offline
Godlike
 
Join Date: Jun 2004
Location: NL
Posts: 369
Default

Quote:
Originally Posted by rork View Post
Someone asked my assistance with an FTP problem. I hope someone here can give some more insight.

Login and switching to the directory went ok but at the moment the file list is requested it goes wrong.

His debug log looked like this:


Thinking it might have something to do with passive mode I asked him to disable it and now he gets the following error at the same spot.

552 would normally big given when you try to upload a file and there's not enough diskspace to store it. From my point of view it doesn't make any sense that this code is returned after requesting a file list.

The complete log of the active mode attempt.


He also tried using php instead of sockets but no luck there also.

Does anyone have an idea what could be the problem?
How much files are there? And is the 552 code given after 30 seconds?
Reply With Quote
  #6  
Unread 12th November, 2012, 08:29 PM
rork's Avatar
rork rork is offline
Godlike
 
Join Date: Nov 2007
Posts: 265
Default

Quote:
Originally Posted by TheDane View Post
try setting passive mode to >ON< , that works for me.
Just helped someone with the same problem:

Quote:
PUT > NLST
GET < 552 Requested file action aborted.
Disconnected data from remote host
In this case setting passive mode on seemed to fix it.
__________________
Admin of XOL DOG CTF Fun server: 81.169.188.18 - Stats & dU Coop: 85.14.203.180:5555 - Forum
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:02 AM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.