D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320L => Topic started by: Confederate on June 03, 2014, 10:37:24 AM

Title: FTP issues
Post by: Confederate on June 03, 2014, 10:37:24 AM
Hello people,

I have successfully set up my DNS 320 L even though some things are not working as they
should.

One of them being the FTP connection.

I have used the following setting for my FTP server on the DNS 320 L.

Maximum users: 5
Idle Time: 10
Port: 3643
Passive Mode -> Use the default port range (55536-55663)

I did not check "Report external IP in PASV mode"

Client Language ISO-8859-1 ( Western European )

Flow Control -> Unlimited

SSL / TLS -> did not check anything

FXP -> disable

--------------------------------------------------------------

As long as I use Filezilla to access the FTP server by using the internal IP 192.168.1.5
everything works fine. I generally use it to upload files to the FTP server.

Response:   220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:   220-You are user number 1 of 5 allowed.
Response:   220-Local time is now 19:30. Server port: 3643.
Response:   220-IPv6 connections are also welcome on this server.
Response:   220 You will be disconnected after 10 minutes of inactivity.
Command:   USER user1
Response:   331 User user1 OK. Password required
Command:   PASS ******
Response:   230 OK. Current restricted directory is /
Command:   SYST
Response:   215 UNIX Type: L8
Command:   FEAT
Response:   211-Extensions supported:
Response:    EPRT
Response:    IDLE
Response:    MDTM
Response:    SIZE
Response:    REST STREAM
Response:    MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response:    MLSD
Response:    ESTP
Response:    PASV
Response:    EPSV
Response:    SPSV
Response:    ESTA
Response:    AUTH TLS
Response:    PBSZ
Response:    PROT
Response:   211 End.
Status:   Server does not support non-ASCII characters.
Status:   Connected
Status:   Retrieving directory listing...
Command:   PWD
Response:   257 "/" is your current location
Command:   TYPE I
Response:   200 TYPE is now 8-bit binary
Command:   PASV
Response:   227 Entering Passive Mode (192,168,1,5,216,249)
Command:   MLSD
Response:   150 Accepted data connection
Response:   226-Options: -a -l
Response:   226 3 matches total
Status:   Directory listing successful

------------------------------------------------------------------

However whenever I try to access the FTP access by using the dyndns address
it fails to connect to the FTP server. Port forwarding on the router is working as I used
this before for the FTP server on the PC and it always worked with the same dyn address.

Whenever I use Filezilla to access my FTP server using the dyn address I am getting the following
error message:

Response:   220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:   220-You are user number 1 of 5 allowed.
Response:   220-Local time is now 19:36. Server port: 3643.
Response:   220-IPv6 connections are also welcome on this server.
Response:   220 You will be disconnected after 10 minutes of inactivity.
Command:   USER user1
Response:   331 User user1 OK. Password required
Command:   PASS ******
Response:   230 OK. Current restricted directory is /
Command:   SYST
Response:   215 UNIX Type: L8
Command:   FEAT
Response:   211-Extensions supported:
Response:    EPRT
Response:    IDLE
Response:    MDTM
Response:    SIZE
Response:    REST STREAM
Response:    MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response:    MLSD
Response:    ESTP
Response:    PASV
Response:    EPSV
Response:    SPSV
Response:    ESTA
Response:    AUTH TLS
Response:    PBSZ
Response:    PROT
Response:   211 End.
Status:   Server does not support non-ASCII characters.
Status:   Connected
Status:   Retrieving directory listing...
Command:   PWD
Response:   257 "/" is your current location
Command:   TYPE I
Response:   200 TYPE is now 8-bit binary
Command:   PASV
Response:   227 Entering Passive Mode (192,168,1,5,217,43)
Status:   Server sent passive reply with unroutable address. Using server address instead.
Command:   MLSD

-> The error message shows that the port forwarding is using however I do not understand
why no directory is shown in Filezilla. It is basically useless.

Any help would be appreciated.
Title: Re: FTP issues
Post by: PacketTracer on June 03, 2014, 02:24:37 PM
Hi,

look here (http://forums.dlink.com/index.php?topic=59119.0). Maybe that thread will help you to solve your problem.

PT