Old 09-05-2004, 12:05 AM   #1
102020
Junior Member
 
Join Date: Sep 2004
Posts: 3
Default STOR Hanging?

SERVER2SERVER
PROFTPD 1.2.8 SERVER @ ftp://xx.xx.62.156
PROFTPD 1.2.9 SERVER @ ftp://xx.xx.182.164

* FlashFXP v[3].[0], build [1015], [ ]registered, [X]unregistered, [ ]pirated
* OS [X] WinXP-SP2, [ ] Win2K, [ ] Win98, [ ] WinME, [ ] Other
* Running behind NAT/router [ ] Yes & Model [ ], [ ] No, [X] Not sure
* Running firewall [X] Yes, Name [BLACKICE], Ver. [3.6], or [ ] No
* Running Antivirus [X] Yes, Name [NOD32] or [ ] No
* Network [X] xDSL, [ ] CABLE, [ ] Dail-Up, [ ] Other


-----
While attempting to transfer via server 2 server, my very 1st file just hangs there while trying to do a STOR command, the connection will timeout, reconnect, and repeat the hang, over & over & over. Any thoughts? Already tried disabling firewalls and running my dsl without the router (NAT)
102020 is offline  
Old 09-05-2004, 12:15 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Can you please provide a copy of the ftp session log.

Are you sure the ftp server is properly configured to allow site to site to transfer.
bigstar is offline  
Old 09-05-2004, 12:28 AM   #3
102020
Junior Member
 
Join Date: Sep 2004
Posts: 3
Default

how would i change the settings to allow s2s to be done?
i have access to both servers control panel. 1 server i have access to ssh, the other i do not.

log is as follows:
*** Log Opened: 9/5/2004 1:31:12 AM
WinSock 2.0 -- OpenSSL 0.9.7d 17 Mar 2004
[R] Connecting to 69.64.62.156 -> IP=69.64.62.156 PORT=21
[R] Connected to 69.64.62.156
[R] 220 ProFTPD 1.2.8 Server (ProFTPD Default Installation) [kingcars.com]
[R] USER kiadmin
[R] 331 Password required for kiadmin.
[R] PASS (hidden)
[R] 230 User kiadmin logged in.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Features:
[R] MDTM
[R] REST STREAM
[R] SIZE
[R] 211 End
[R] PWD
[R] 257 "/home/webadmin" is current directory.
[R] TYPE A
[R] 200 Type set to A
[R] PORT 64,228,198,24,14,138
[R] 200 PORT command successful
[R] LIST -al
[R] 150 Opening ASCII mode data connection for file list
[R] 226 Transfer complete.
[R] List Complete: 507 bytes in 0.52 seconds (1.0 KB/s)
[L] Connecting to kingcars.com -> IP=67.18.182.164 PORT=21
[L] Connected to kingcars.com
[L] 220 ProFTPD 1.2.9 Server (ftp.commonacre.com) [67.18.182.164]
[L] USER kiadmin
[L] 331 Password required for kiadmin.
[L] PASS (hidden)
[L] 230 User kiadmin logged in.
[L] SYST
[L] 215 UNIX Type: L8
[L] FEAT
[L] 211-Features:
[L] MDTM
[R] CWD kingcars.com
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/home/webadmin/kingcars.com" is current directory.
[R] PORT 64,228,198,24,14,143
[R] 200 PORT command successful
[R] LIST -al
[R] 150 Opening ASCII mode data connection for file list
[R] 226 Transfer complete.
[R] List Complete: 502 bytes in 0.42 seconds (1.2 KB/s)
[L] REST STREAM
[L] SIZE
[L] 211 End
[L] PWD
[L] 257 "/" is current directory.
[L] TYPE A
[L] 200 Type set to A
[L] PASV
[L] 227 Entering Passive Mode (67,18,182,164,179,234).
[L] Opening data connection IP: 67.18.182.164 PORT: 46058
[L] LIST -al
[L] 150 Opening ASCII mode data connection for file list
[L] 226 Transfer complete.
[L] List Complete: 819 bytes in 0.45 seconds (1.8 KB/s)
[R] CWD html
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/home/webadmin/kingcars.com/html" is current directory.
[R] PORT 64,228,198,24,14,146
[R] 200 PORT command successful
[R] LIST -al
[R] 150 Opening ASCII mode data connection for file list
[R] 226 Transfer complete.
[R] List Complete: 1 KB in 0.42 seconds (2.5 KB/s)
[L] CWD public_html
[L] 250 CWD command successful.
[L] PWD
[L] 257 "/public_html" is current directory.
[L] PASV
[L] 227 Entering Passive Mode (67,18,182,164,179,235).
[L] Opening data connection IP: 67.18.182.164 PORT: 46059
[L] LIST -al
[L] 150 Opening ASCII mode data connection for file list
[L] 226 Transfer complete.
[L] List Complete: 18 KB in 0.75 seconds (24.2 KB/s)
[R] CWD LINK
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/home/webadmin/kingcars.com/html/LINK" is current directory.
[R] PORT 64,228,198,24,14,149
[R] 200 PORT command successful
[R] LIST -al
[R] 150 Opening ASCII mode data connection for file list
[R] 226 Transfer complete.
[R] List Complete: 184 bytes in 0.42 seconds (0.4 KB/s)
[R] CWD /home/webadmin/kingcars.com/html/LINK/acrosscanadaauto/
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/home/webadmin/kingcars.com/html/LINK/acrosscanadaauto" is current directory.
[R] PORT 64,228,198,24,14,151
[R] 200 PORT command successful
[R] LIST -al
[R] 150 Opening ASCII mode data connection for file list
[R] 226 Transfer complete.
[R] List Complete: 182 bytes in 0.42 seconds (0.4 KB/s)
[L] CWD /public_html/acrosscanadaauto/
[L] 250 CWD command successful.
[L] PWD
[L] 257 "/public_html/acrosscanadaauto" is current directory.
[L] PASV
[L] 227 Entering Passive Mode (67,18,182,164,179,236).
[L] Opening data connection IP: 67.18.182.164 PORT: 46060
[L] LIST -al
[L] 150 Opening ASCII mode data connection for file list
[L] 226 Transfer complete.
[L] List Complete: 246 bytes in 0.39 seconds (0.6 KB/s)
[L] TYPE I
[L] 200 Type set to I
[R] TYPE I
[R] 200 Type set to I
[R] PASV
[R] 227 Entering Passive Mode (69,64,62,156,178,178).
[L] PORT 69,64,62,156,178,178
[L] 200 PORT command successful
[R] STOR 1083808672.jpg
[L] RETR 1083808672.jpg
[R] Connection lost: 69.64.62.156
[R] Attempting to Reconnect.
[R] Connecting to 69.64.62.156 -> IP=69.64.62.156 PORT=21 (attempt # 1)
[R] Connected to 69.64.62.156
[R] 220 ProFTPD 1.2.8 Server (ProFTPD Default Installation) [kingcars.com]
[R] USER kiadmin
[R] 331 Password required for kiadmin.
[R] PASS (hidden)
[R] 230 User kiadmin logged in.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Features:
[R] MDTM
[R] REST STREAM
[R] SIZE
[R] 211 End
[L] Connection lost: kingcars.com
[R] Transfer Failed!
[L] Attempting to Reconnect.
[L] Connecting to kingcars.com -> IP=67.18.182.164 PORT=21 (attempt # 1)
[L] Connected to kingcars.com
[L] 220 ProFTPD 1.2.9 Server (ftp.commonacre.com) [67.18.182.164]
[L] USER kiadmin
[L] 331 Password required for kiadmin.
[L] PASS (hidden)
[L] 230 User kiadmin logged in.
[L] SYST
[L] 215 UNIX Type: L8
[L] FEAT
[L] 211-Features:
[L] MDTM
[L] REST STREAM
[L] SIZE
[L] 211 End
[L] PWD
[L] 257 "/" is current directory.
[R] CWD /home/webadmin/kingcars.com/html/LINK/acrosscanadaauto/
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/home/webadmin/kingcars.com/html/LINK/acrosscanadaauto" is current directory.
[R] TYPE A
[R] 200 Type set to A
[R] PORT 64,228,198,24,14,177
[R] 200 PORT command successful
[R] LIST -al
[R] 150 Opening ASCII mode data connection for file list
[R] 226 Transfer complete.
[R] List Complete: 182 bytes in 0.50 seconds (0.4 KB/s)
[L] CWD /public_html/acrosscanadaauto/
[L] 250 CWD command successful.
[L] PWD
[L] 257 "/public_html/acrosscanadaauto" is current directory.
[L] List (cached)
[L] List Complete: 246 bytes in 0.13 seconds (1.9 KB/s)
[L] TYPE I
[L] 200 Type set to I
[R] TYPE I
[R] 200 Type set to I
[R] PASV
[R] 227 Entering Passive Mode (69,64,62,156,178,224).
[L] PORT 69,64,62,156,178,224
[L] 200 PORT command successful
[R] STOR 1083808672.jpg
[L] RETR 1083808672.jpg
[L] ABOR
[L] QUIT
[R] QUIT
*** Log Closed: 9/5/2004 1:34:18 AM
102020 is offline  
Old 09-05-2004, 12:57 AM   #4
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

You need to be able to edit the proftpd.conf file

https://oss.azurewebsites.net/support.php?s=howto#proftpd

By default proftpd doesn't allow site to site transfers
bigstar is offline  
Old 09-05-2004, 08:53 AM   #5
102020
Junior Member
 
Join Date: Sep 2004
Posts: 3
Default

I made the following changes to the receiving host's proftpd.conf file (the only 1 i have access to), does the changes need to be made on both sides or only receiving because I am still getting the same hang.

#
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

AllowForeignAddress on
PassivePorts 49152 65534
ServerName "ProFTPD"
ServerType inetd
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers on

# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd/scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /usr/local/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /home/httpd/vhosts>
GroupOwner psacln
</Directory>

Include /etc/proftpd.include
102020 is offline  
Old 09-05-2004, 09:41 AM   #6
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

I'm not entirely sure, Both servers may need to be properly configured.
bigstar is offline  
 

Tags
flashfxp, proftpd, running, server, [x]

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:54 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)