Anonymous FTP

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

Re: Can't Write to FTP over Internet

Postby Rafe » Fri Mar 16, 2012 11:27 am

Hi

I am experiencing the exact same problem as jfass.

I can download files from the DiskStation to my remote machine but I can't upload. I get the error message: 550 Permission Denied

I have done the following:

    Enabled FTP service
    Created FTP folder and set up as a share
    Set Read/Write privileges for the 'Anonymous FTP/WebDav' (System Internal User) on the newly created FTP folder
    In Control Panel>FTP>Security Settings tab, the 'Enable Anonymous FTP' has been ticked
    In Control Panel>FTP>Security Settings tab, the 'Change Anonymous root' has been ticked and have set the folder to FTP (the share I created earlier)

Can anyone help? I really need to able able to upload files to the DiskStation from the remote computer.
Rafe
I'm New!
I'm New!
 
Posts: 1
Joined: Fri Mar 16, 2012 11:12 am

Re: Anonymous FTP

Postby me.anon » Sun Apr 08, 2012 10:14 am

This post saved me a lot of time attempting to get Write access working with anonymous FTP and a DS212J - a late thank you :)

This problem still exists in DSM 4.0.
Even if the problem can not be fixed, the Help text surely can. It is very bare - see below:

====================================
Change Anonymous root

Enable this function to change anonymous FTP user's login directory. Select the shared folder from the drop-down menu.
====================================

and the onscreen help under Control Panel / FTP / Security settings fails to mention this and it would be so easy. Something like:

Warning: Write Access is disabled for anonymous users when "Change Anonymous Root" is selected.

would really help.
me.anon
I'm New!
I'm New!
 
Posts: 9
Joined: Fri Dec 02, 2011 10:54 am
Location: Switzerland

Access Denied via anonymous FTP user

Postby dark_perfect » Thu Apr 12, 2012 2:09 pm

Hi all,

Not sure if I'm doing something stupid here, but I've got an issue trying to access a file over FTP using the anonymous user.

- I've clicked 'Enable Anonymous FTP'
- I've changed anonymous root to the 'public' folder.
- I've gone into Shared Folder -> Selected 'public' foler -> Privileges Setup -> Changed to system internal user -> Clicked Read Only for Anonymous FTP -> Clicked OK.

If I use the command-line FTP tool in Windows, I login to the server ok, and then enter the username as anonymous, at which point it says I should enter an e-mail as a password (fine). I then try to download one of the files in the public folder, but it says :

200 PORT command successful
550 index.cgi: Permission Denied

Any ideas where I should look to resolve this?

Thanks,
Nick
dark_perfect
Rookie
Rookie
 
Posts: 36
Joined: Mon Mar 23, 2009 2:44 pm

Re: Access Denied via anonymous FTP user

Postby MrGlass » Tue Apr 17, 2012 11:35 am

I'm getting this too.. I'm working fine on internal LAN.. and have portforwarded 20/21 so that it sees the FTP server.. but am getting 550 access denied.

Is this a bug?
MrGlass
Novice
Novice
 
Posts: 40
Joined: Mon Sep 20, 2010 12:06 pm

Re: Access Denied via anonymous FTP user

Postby MrGlass » Tue Apr 17, 2012 3:37 pm

OK.. I have it partially working..

Turns out even though I had port forwarding on.. the fact that the router itself was listenting on port21 meant that it wasn't forwarding to the NAS box.

Now it forwards.. but I can't get the passive TLS working
MrGlass
Novice
Novice
 
Posts: 40
Joined: Mon Sep 20, 2010 12:06 pm

Re: Access Denied via anonymous FTP user

Postby iket » Tue Apr 17, 2012 4:02 pm

MrGlass wrote:OK.. I have it partially working..

Turns out even though I had port forwarding on.. the fact that the router itself was listenting on port21 meant that it wasn't forwarding to the NAS box.

Now it forwards.. but I can't get the passive TLS working


You probably need to forward port 989-990 for TLS and probably open up the passive port range.

DS 211J DSM 4.0-2228
DS 212 DSM 4.0-2228
DS 212J DSM 4.0-2228 (at work)
DS 1512+ DSM 4.0-2228 / Kingston KVR1066D3S8S7/2G
Camera - FOSCAM FI8918W, FOSCAM FI8910W, Linksys WVC54GC
Firewall - SonicWALL TZ 100 Switch - Cisco SG200-08
UPS - APC Back-UPS ES 750, CyberPower CP825AVR LCD
User avatar
iket
Experienced
Experienced
 
Posts: 101
Joined: Fri Jan 27, 2012 3:57 am
Location: Montreal, Canada

Re: Anonymous FTP

Postby MAdD » Sat May 12, 2012 1:39 pm

I had the same problem with my DS212+ (DSM 4.0.2219)

I have solved this problem using the following (already state in this thread)

Create a shared folder with anonyous rights (and for me admin rights for both users as groups)
Enable FTP
in security tab only tick Enable Anonymous FTP

if you know login in with anonymous FTP you see the following:

Code: Select all
H:\>ftp NAS_SERVER
Connected to NAS_SERVER.
220 WinGate Engine FTP Gateway ready
User (NAS_SERVER:(none)): anonymous
331 Guest login ok, send your email address as password.
Password:
230 Guest login ok, access restrictions apply.
ftp> ls
200 PORT command successful.
150 Opening BINARY mode data connection for 'file list'.
FTP_folder
226 Transfer complete.
ftp: 12 bytes received in 0.00Seconds 12000.00Kbytes/sec.
ftp> cd FTP_folder
250 CWD command successful.
ftp> ls
200 PORT command successful.
150 Opening BINARY mode data connection for 'file list'.
226 Transfer complete.
ftp> mkdir MAdD2
257 "MAdD2" directory created.
ftp> cd MAdD2
250 CWD command successful.
ftp> bin
200 Type set to I.
ftp> hash
Hash mark printing On  ftp: (2048 bytes/hash mark) .
ftp> prompt
Interactive mode Off .
ftp> mput *.exe
200 PORT command successful.
150 Opening BINARY mode data connection for '81h92whx.exe'.


How can we create a support case for this?

Regards

MAdD
========

Assumption is the mother of all F*ck-ups…..

The difficult we do immediately; the impossible takes a little longer

You can not solve the problem with the same kind of thinking that has created the problem

Een probleem is pas een probleem als er een oplossing voor is. Anders is het een feit!

Proudly owner of a DS212+
MAdD
I'm New!
I'm New!
 
Posts: 6
Joined: Sat May 12, 2012 1:31 pm

Previous

Return to FTP & WebDAV Server

Who is online

Users browsing this forum: No registered users and 0 guests