FTP List fails.

For issues regarding settings and usage of FTP and WebDAV service, post it here!
Forum rules
This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:
https://myds.synology.com/support/suppo ... p?lang=enu

FTP List fails.

Postby privasoft » Mon May 14, 2012 8:00 pm

Hello,

first off some details :

DS1010+ DSM 4.0-2219

We use this NAS primarily as a network storage device for my current domain. However, we've had our previous FTP server cause us some problems, so I would like to move the FTP to the DS1010+.

I've enabled FTP
custom port number,
left Passive as default,
Forced SSL/TLS,
I DO NOT want to enable selected users' root to user home, because I do not want to enable user home directories.

I simply want the FTP service to allow a single NAS specific account to connect (user1 for example), and upload files to the single ftp specific directory, and if possible, NOT list the files already in the directory.

Is this possible?

With the existing config, I can connect (even with SSL), however When ftp gets to LIST it fails to list the directory, and so I cannot upload files (using filezilla).

Here's a copy of my FTP output :

Code: Select all
Status:   Resolving address of downloads.privasoft.com
Status:   Connecting to x.x.x.x:2121...
Status:   Connection established, waiting for welcome message...
Response:   220 London FTP server ready.
Command:   AUTH TLS
Response:   234 AUTH SSL command successful.
Status:   Initializing TLS...
Status:   Verifying certificate...
Command:   USER privasoft
Status:   TLS/SSL connection established.
Response:   331 Password required for privasoft.
Command:   PASS *********
Response:   230 User USER1 logged in.
Command:   SYST
Response:   215 UNIX Type: L8
Command:   FEAT
Response:   211- Extensions supported:
Response:    AUTH TLS
Response:    PBSZ
Response:    PROT
Response:    SIZE
Response:    MDTM
Response:    MFMT
Response:    REST STREAM
Response:    UTF8
Response:   211 End.
Command:   OPTS UTF8 ON
Response:   200 OK, UTF-8 enabled
Command:   PBSZ 0
Response:   200 PBSZ command successful (PBSZ=0).
Command:   PROT P
Response:   200 Protection level set to Private.
Status:   Connected
Status:   Retrieving directory listing...
Command:   PWD
Response:   257 "/" is current directory.
Command:   TYPE I
Response:   200 Type set to I.
Command:   PORT 192,168,10,4,216,203
Response:   500 Illegal PORT range rejected.
Command:   PASV
Response:   227 Entering Passive Mode (209,217,88,213,217,13)
Command:   LIST
Error:   Connection timed out
Error:   Failed to retrieve directory listing


Any help / suggestions are welcome,

Cheers,

Spyrule
privasoft
I'm New!
I'm New!
 
Posts: 5
Joined: Thu Dec 30, 2010 11:18 pm

Re: FTP List fails.

Postby privasoft » Mon May 14, 2012 8:30 pm

NVM, figured it out... doh! ><

For some reason I had to set my passive ports manually, and leave them to the same default values.

This worked for me. Odd.

Now, if only I could get resuming to work.
privasoft
I'm New!
I'm New!
 
Posts: 5
Joined: Thu Dec 30, 2010 11:18 pm

Re: FTP List fails.

Postby whardwick » Wed Jul 25, 2012 11:33 pm

I could not get the passive ports to work, but I was able to connect using FileZilla in active mode successfully. Is there something wrong with the passive mode?
whardwick
I'm New!
I'm New!
 
Posts: 2
Joined: Wed Jul 25, 2012 11:20 pm


Return to FTP & WebDAV Server

Who is online

Users browsing this forum: No registered users and 1 guest