Networking Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationNetworking Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old June 18th, 2004, 04:56 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
sleeping guru
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2003
Location: under the stars
Posts: 2,444 RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 6 Days 6 h 18 m 28 sec
Reputation Power: 171
Send a message via MSN to RadioactiveFrog
ftp programs crashing :(

ok i have been using ftp programs for ages and have had no real problems, but i have just changed my server to a router (Netgear ADSL Firewall router DG834) and now the ftp programs dont seem to work

I have tried WSFTP and SmartFTP and i get the same prob with both.

They connect fine and i start the file transfer and that is good, it gets to 100% and then it waits there and WSFTP eventaully says "connect seems to have died" or somthing like that and SmartFTP seems to be say "connection closed, server timeout" now i know that it is not my host as i have asked someone else to upload and they have done it fine .... does anyone have any ideas? Is there something on the router that would cause this? this is my first router so i am new to what they can do !!

Thanks

RF

Reply With Quote
  #2  
Old June 18th, 2004, 11:09 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Just use passive mode.

Reply With Quote
  #3  
Old June 19th, 2004, 05:40 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
sleeping guru
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2003
Location: under the stars
Posts: 2,444 RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 6 Days 6 h 18 m 28 sec
Reputation Power: 171
Send a message via MSN to RadioactiveFrog
In WSFTP passive is ticked and therefore i assume i am running it in passive mode....

anyone else

cheers

RF

Reply With Quote
  #4  
Old June 19th, 2004, 06:03 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
In WSFTP passive is ticked and therefore i assume i am running it in passive mode....
When you are asking for help here, your assumption tells nothing. To support your assumption you need to copy and paste the entire FTP session log here.

If it turns out to be true, you then need to do more testing like: downloading, using browsers, another FTP client like FlashFXP or so.
In addition, you keep saying server...router, can you define the role of your server previously?
Sometime the more assumption you make (FTP passsive mode ticked and router's fault), you mislead and confuse readers. Let the readers make the asumption for you.

Reply With Quote
  #5  
Old June 19th, 2004, 06:16 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
sleeping guru
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2003
Location: under the stars
Posts: 2,444 RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 6 Days 6 h 18 m 28 sec
Reputation Power: 171
Send a message via MSN to RadioactiveFrog
i apologise for any confusing i have caused.

here is a session log from WSFTP
Quote:
WINSOCK.DLL: WinSock 2.0
WS_FTP Pro, Version 7.5, 2002.02.28
Connecting to 66.98.242.25:21
Connected to 66.98.242.25:21 in 0.171, Waiting for Server Response
220-This computer system is for authorized users only. Individuals using this
system without authority or in excess of their authority are subject to
having all their activities on this system monitored and recorded or
examined by any authorized person, including law enforcement, as system
personnel deem appropriate. In the course of monitoring individuals
improperly using the system or in the course of system maintenance, the
activities of authorized users may also be monitored and recorded. Any
material so recorded may be disclosed as appropriate. Anyone using this
system consents to these terms.


220 ProFTPD 1.2.9 Server (ProFTPD) [cougar.cougardns.com]
Host type (1): Automatic detect
USER justtaps
331 Password required for justtaps.
PASS (hidden)
230 User justtaps logged in.
SYST
215 UNIX Type: L8
Host type (2): UNIX (standard)
Host type (I): UNIX (standard)
PWD
257 "/" is current directory.
PASV
227 Entering Passive Mode (66,98,242,25,155,198).
connecting data channel to 66.98.242.25:39878
data channel connected to 66.98.242.25:39878
LIST
150 Opening ASCII mode data connection for file list
transferred 391 bytes in 0.063 seconds, 48.875 Kbps ( 6.109 KBps).
CWD www
250 CWD command successful.
PWD
257 "/public_html" is current directory.
PASV
227 Entering Passive Mode (66,98,242,25,155,199).
connecting data channel to 66.98.242.25:39879
data channel connected to 66.98.242.25:39879
LIST
150 Opening ASCII mode data connection for file list
transferred 5225 bytes in 0.234 seconds, 174.167 Kbps ( 21.771 KBps).
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (66,98,242,25,155,205).
connecting data channel to 66.98.242.25:39885
data channel connected to 66.98.242.25:39885
STOR index.php
150 Opening BINARY mode data connection for index.php
transferred 4872 bytes in < 0.001 seconds, 38062.500 Kbps ( 4757.813 KBps).
It appears that the connection is dead. Attempting reconnect...
Connecting to 66.98.242.25:21
Connected to 66.98.242.25:21 in 0.140, Waiting for Server Response
220-This computer system is for authorized users only. Individuals using this
system without authority or in excess of their authority are subject to
having all their activities on this system monitored and recorded or
examined by any authorized person, including law enforcement, as system
personnel deem appropriate. In the course of monitoring individuals
improperly using the system or in the course of system maintenance, the
activities of authorized users may also be monitored and recorded. Any
material so recorded may be disclosed as appropriate. Anyone using this
system consents to these terms.


220 ProFTPD 1.2.9 Server (ProFTPD) [cougar.cougardns.com]
Host type (1): Automatic detect
USER justtaps
331 Password required for justtaps.
PASS (hidden)
230 User justtaps logged in.
SYST
215 UNIX Type: L8
Host type (2): UNIX (standard)
Host type (I): UNIX (standard)
PWD
257 "/" is current directory.
New connection OK. Reissuing command.
CWD public_html
250 CWD command successful.
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (66,98,242,25,155,225).
connecting data channel to 66.98.242.25:39905
data channel connected to 66.98.242.25:39905
REST 4096
350 Restarting at 4096. Send STORE or RETRIEVE to initiate transfer
STOR index.php
451 index.php: Append/Restart not permitted, try again
PORT 192,168,0,17,6,113
200 PORT command successful
REST 4096
350 Restarting at 4096. Send STORE or RETRIEVE to initiate transfer
STOR index.php
451 index.php: Append/Restart not permitted, try again
PASV
227 Entering Passive Mode (66,98,242,25,155,226).
connecting data channel to 66.98.242.25:39906
data channel connected to 66.98.242.25:39906
REST 4096
350 Restarting at 4096. Send STORE or RETRIEVE to initiate transfer
STOR index.php
451 index.php: Append/Restart not permitted, try again
PORT 192,168,0,17,6,115
200 PORT command successful
REST 4096
350 Restarting at 4096. Send STORE or RETRIEVE to initiate transfer
STOR index.php
451 index.php: Append/Restart not permitted, try again
PASV
227 Entering Passive Mode (66,98,242,25,155,227).
connecting data channel to 66.98.242.25:39907
data channel connected to 66.98.242.25:39907
REST 4096
350 Restarting at 4096. Send STORE or RETRIEVE to initiate transfer
STOR index.php
451 index.php: Append/Restart not permitted, try again
PORT 192,168,0,17,6,117
200 PORT command successful
REST 4096
350 Restarting at 4096. Send STORE or RETRIEVE to initiate transfer
STOR index.php
451 index.php: Append/Restart not permitted, try again
Transfer request completed with status: Failed, 1 SubItem(s) failed


As for the router/server thing...
I previously had a computer which i called the server. This was only used to connected to our ADSL line using Inter Connection Sharing. I have no replaced that server with a Netgrear Router. I hope that clears things up there .

I have tried SmartFTP as i mentioned in my first post, woul d a log from there help too?

i will try this FlashFXP also..
Web browsing ins fine, and i can download files fine through the browser..(ie smartftp and flashfxp is just finished...)

Thanks

RF

Last edited by RadioactiveFrog : June 19th, 2004 at 06:19 AM.

Reply With Quote
  #6  
Old June 19th, 2004, 07:24 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
That server doesn't allow Active Mode (not allowing/understanding PORT command), Passive Mode only.
When it's passive mode only, you won't see the PORT command anywhere. But your FTP client appears to be using Active mode. Based on your log, for instance:

STOR index.php
451 index.php: Append/Restart not permitted, try again
PORT 192,168,0,17,6,113
200 PORT command successful
REST 4096
350 Restarting at 4096. Send STORE or RETRIEVE to initiate transfer
STOR index.php
451 index.php: Append/Restart not permitted, try again
PASV
227 Entering Passive Mode (66,98,242,25,155,226).
connecting data channel to 66.98.242.25:39906
data channel connected to 66.98.242.25:39906
REST 4096

Another behavior in passive mode is that, your LAN's IP as 192.168.0.17 will never be revealed. Also keep in mind that, when you are behind a hardware router, using passive-mode to connect is ALWAYS A MUST.

Reply With Quote
  #7  
Old June 19th, 2004, 07:38 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
sleeping guru
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2003
Location: under the stars
Posts: 2,444 RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 6 Days 6 h 18 m 28 sec
Reputation Power: 171
Send a message via MSN to RadioactiveFrog
thanks for your reply, i managed to get in contact with my host and asked them if there was a prob at there end as my ftp program was definiatly in passive mode. They told me to turn off passive mode....now it works a treat

thanks anyway for your help

RF

Reply With Quote
  #8  
Old June 19th, 2004, 08:10 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> They told me to turn off passive mode....now it works a treat

Oddly enough. I even tried to connect to their FTP server using both modes. Passive worked great, and Active had to fallback to passive (automatically) in order to work.
It appears that they have miconfigured their FTP server on their end in some ways anyway.

Reply With Quote
  #9  
Old June 20th, 2004, 05:12 PM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
sleeping guru
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2003
Location: under the stars
Posts: 2,444 RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)RadioactiveFrog User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1Folding Points: 155419 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 6 Days 6 h 18 m 28 sec
Reputation Power: 171
Send a message via MSN to RadioactiveFrog
they say it is configured fine... strange....

RF

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationNetworking Help > ftp programs crashing :(


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |