• Page 1 of 1
  • 1
uCoz Community » uCoz Modules » File Catalog, Site Catalog, Publisher, Ad Board, Online Games » FTP Upload 421 ERROR (421 ftp error)
FTP Upload 421 ERROR
^WeSt
Posts: 38
Reputation: 0

Message # 1 | 12:47 PM
Hello,

I am trying to upload a file on my FTP server but it giving me sometimes an error

421 Timeout (no new data for 900 seconds)

what's exactly is this and how can i stop this error?

- Thanks!

I Would Like To Kiss You But I Cant Tell Me Why Not My Baby ? ? ?
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 12:49 PM
^WeSt, what's the website URL and what kind of file are you trying to upload (extension, size)? Check also the following guide: http://forum.ucoz.com/forum/37-2500-1
I'm not active on the forum anymore. Please contact other forum staff.
^WeSt
Posts: 38
Reputation: 0

Message # 3 | 12:53 PM
The website is westorcenter.ucoz.com the file extention is .log file (25 chars file name) and about 8-9KB file size.
I Would Like To Kiss You But I Cant Tell Me Why Not My Baby ? ? ?
Sunny
Posts: 9296
Reputation: 456

Message # 4 | 1:31 PM
^WeSt, try to rename the file (make the title shorter).
I'm not active on the forum anymore. Please contact other forum staff.
^WeSt
Posts: 38
Reputation: 0

Message # 5 | 4:25 PM
same problem on 17 chars file name.
I Would Like To Kiss You But I Cant Tell Me Why Not My Baby ? ? ?
Sunny
Posts: 9296
Reputation: 456

Message # 6 | 1:31 PM
^WeSt, .log files can be uploaded just fine via FTP. Please try the following:

1. Make sure the passive mode is enabled in your FTP client.
2. Temporarily disable your antivirus.

If nothing helps, provide the exact name of the file you are trying to upload.

I'm not active on the forum anymore. Please contact other forum staff.
^WeSt
Posts: 38
Reputation: 0

Message # 7 | 5:28 PM
Passive mode is OK

About the antivirus i am using Avast! but i don't think this is blocking something because as i said this is happening sometimes and not all the time, e.g: of 20 FTP send the 5-9 will be 421 error.

Attention: i am trying to use the Windows FTP Command Line but the windows does not support the Passive mode.

So i am thinking the problem is on the FTP server.

filename: fd_100.log

Question: is there any option or any way to disable the Passive Mode? because i think the problem is from there!

Added (2014-09-26, 11:28 AM)
---------------------------------------------
Also i have disable the Antivirus and same problem appear!

I Would Like To Kiss You But I Cant Tell Me Why Not My Baby ? ? ?
Post edited by ^WeSt - Friday, 2014-09-26, 7:03 PM
Sunny
Posts: 9296
Reputation: 456

Message # 8 | 1:58 PM
^WeSt, please try to use another FTP client to make sure the problem is not caused by Windows FTP Command Line.
I'm not active on the forum anymore. Please contact other forum staff.
^WeSt
Posts: 38
Reputation: 0

Message # 9 | 11:15 AM
What's the point to use an other FTP Client i am using my own build FTP Upload client code to upload files, i made an other way to upload the files without the windows method, using SOCKETS, but the problem on yours FTP servers is when the 421 error code returned sometimes the file uploaded with success so somewhere there is an problem.
I Would Like To Kiss You But I Cant Tell Me Why Not My Baby ? ? ?
Post edited by ^WeSt - Tuesday, 2014-09-30, 11:16 AM
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 10 | 11:31 AM
^WeSt, do you appropriately open and then terminate your existing sessions while using FTP? If you have created your own uploader this may be something you've overlooked.

I advise you use a tried and tested FTP client as a control test at the least - if you do not encounter the 421 error then we can confirm it is an outcome due to a conceptual error within your programme architecture. If you do, we can then look at possible gateway errors on our end.

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
^WeSt
Posts: 38
Reputation: 0

Message # 11 | 8:39 PM
Well this is what is happening on 421 error reply debug.

DATA: 220---------- Welcome to Pure-FTPd ----------
DATA: 220-You are user number 9 of 100 allowed.
DATA: 220-Local time is now 23:37. Server port: 21.
DATA: 220-This is a private system - No anonymous login
DATA: 220 You will be disconnected after 15 minutes of inactivity.
DATA: 331 User dwestorcenter OK. Password required
DATA: 230-User dwestorcenter has group access to: 1002
DATA: 230-OK. Current restricted directory is /
DATA: 230-70 files used (0%) - authorized: 25600 files
DATA: 230 568 Kbytes used (0%) - authorized: 410624 Kb
DATA: 250 OK. Current directory is /rafaella/6_0
DATA: 200 TYPE is now 8-bit binary
DATA: 227 Entering Passive Mode (213,174,157,139,48,235)
DATA: 150 Accepted data connection
DATA: 421 Timeout (no new data for 900 seconds)

I Would Like To Kiss You But I Cant Tell Me Why Not My Baby ? ? ?
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 12 | 5:54 AM
^WeSt, we can't assist until you start accepting our help and advice.

Please use a tried and tested FTP client. The software you are using from what I can determine isn't a standard client, try using a standard FTP client and we can determine further action from there.

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
uCoz Community » uCoz Modules » File Catalog, Site Catalog, Publisher, Ad Board, Online Games » FTP Upload 421 ERROR (421 ftp error)
  • Page 1 of 1
  • 1
Search: