Write permissions in FIleZilla

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Write permissions in FIleZilla

Postby cearlp » 24. November 2012 18:53

After connecting to FIlezilla from a remote and doing a 'cd' to xampp/htdocs, trying to write a small file fails with a permissions problem. I have given Users the Modify permission for htdocs but not for xampp.
What else must I do to allow writing to the xampp/htdocs directory?
cearlp
 
Posts: 13
Joined: 02. February 2011 19:00
XAMPP Version: 5.6.3
Operating System: Windows 7 x64 SP1

Re: Write permissions in FIleZilla

Postby JonB » 26. November 2012 17:34

"what" users?
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Write permissions in FIleZilla

Postby cearlp » 26. November 2012 17:51

Sorry, I am referring to the 'Users' in 'Group or user names' under the Security tab in the Properties window for the directory htdocs in Windows 7.
cearlp
 
Posts: 13
Joined: 02. February 2011 19:00
XAMPP Version: 5.6.3
Operating System: Windows 7 x64 SP1

Re: Write permissions in FIleZilla

Postby JonB » 26. November 2012 18:47

ahhh OK - that has nothing to do with FileZilla.

You need to define the FTP users in FileZilla Server Interface. You can start FileZilla's server control by using the Admin Button for Filezilla in the Control Panel. The 'Person' icon is the User control.

There are no predefined users for FileZilla in the Windows version of XAMPP, so you will need to add them.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Write permissions in FIleZilla

Postby cearlp » 26. November 2012 20:58

Yes, I did that. I get so far in trying to transfer data to the FileZilla then it gives me 550 permission denied message trying to write a small file to hrtdocs. There is a re-login after waiting in Passive mode for some reason, then gets a bit further before it errors.
Here are the FileZIlla messages:
(000001)11/26/2012 12:46:58 PM - (not logged in) (192.168.2.6)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000001)11/26/2012 12:46:58 PM - (not logged in) (192.168.2.6)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000001)11/26/2012 12:46:58 PM - (not logged in) (192.168.2.6)> USER earl
(000001)11/26/2012 12:46:58 PM - (not logged in) (192.168.2.6)> 331 Password required for earl
(000001)11/26/2012 12:46:58 PM - (not logged in) (192.168.2.6)> PASS ******
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> 230 Logged on
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> TYPE A
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> 200 Type set to A
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> SYST
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> 215 UNIX emulated by FileZilla
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> PWD
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> 257 "/" is current directory.
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> CWD /xampp/htdocs
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> 250 CWD successful. "/xampp/htdocs" is current directory.
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> PWD
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> 257 "/xampp/htdocs" is current directory.
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> PASV
(000001)11/26/2012 12:46:58 PM - earl (192.168.2.6)> 227 Entering Passive Mode (192,168,2,5,195,26)
(000001)11/26/2012 12:47:58 PM - earl (192.168.2.6)> PORT 192,168,2,6,230,182
(000001)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 200 Port command successful
(000001)11/26/2012 12:47:58 PM - earl (192.168.2.6)> LIST
(000001)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 150 Opening data channel for directory list.
(000001)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 226 Transfer OK
(000002)11/26/2012 12:47:58 PM - (not logged in) (192.168.2.6)> Connected, sending welcome message...
(000002)11/26/2012 12:47:58 PM - (not logged in) (192.168.2.6)> 220-FileZilla Server version 0.9.41 beta
(000002)11/26/2012 12:47:58 PM - (not logged in) (192.168.2.6)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000002)11/26/2012 12:47:58 PM - (not logged in) (192.168.2.6)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000002)11/26/2012 12:47:58 PM - (not logged in) (192.168.2.6)> USER earl
(000002)11/26/2012 12:47:58 PM - (not logged in) (192.168.2.6)> 331 Password required for earl
(000002)11/26/2012 12:47:58 PM - (not logged in) (192.168.2.6)> PASS ******
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 230 Logged on
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> TYPE A
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 200 Type set to A
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> SYST
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 215 UNIX emulated by FileZilla
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> PWD
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 257 "/" is current directory.
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> CWD /xampp/htdocs
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 250 CWD successful. "/xampp/htdocs" is current directory.
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> PWD
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 257 "/xampp/htdocs" is current directory.
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> TYPE I
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 200 Type set to I
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> SIZE /xampp/htdocs/iWebTestFile.html
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 550 File not found
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> PASV
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 227 Entering Passive Mode (192,168,2,5,195,37)
(000002)11/26/2012 12:48:58 PM - earl (192.168.2.6)> PORT 192,168,2,6,230,187
(000002)11/26/2012 12:48:58 PM - earl (192.168.2.6)> 200 Port command successful
(000002)11/26/2012 12:48:58 PM - earl (192.168.2.6)> STOR /xampp/htdocs/iWebTestFile.html
(000002)11/26/2012 12:48:58 PM - earl (192.168.2.6)> 550 Permission denied
(000001)11/26/2012 12:49:59 PM - earl (192.168.2.6)> 421 Connection timed out.
(000001)11/26/2012 12:49:59 PM - earl (192.168.2.6)> disconnected.
(000002)11/26/2012 12:50:59 PM - earl (192.168.2.6)> 421 Connection timed out.
cearlp
 
Posts: 13
Joined: 02. February 2011 19:00
XAMPP Version: 5.6.3
Operating System: Windows 7 x64 SP1

Re: Write permissions in FIleZilla

Postby JonB » 27. November 2012 00:45

OK - I tried to re-create your error - no luck

This is what intrigues me...
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 257 "/xampp/htdocs" is current directory.
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> TYPE I
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 200 Type set to I < = means the transfer mode was switched to "I"mage (binary)
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> SIZE /xampp/htdocs/iWebTestFile.html <== is a client side command requesting the size of an object , presumably to create the directory listing.
(000002)11/26/2012 12:47:58 PM - earl (192.168.2.6)> 550 File not found (how could the client have asked for the size of file that does not exist?)

A. What FTP client are you using on the other/remote machine?

B. Did you make sure you gave the correct permissions in the User setup for Filezilla?

C. Did you by any chance use 'move' that to get that File into the /xampp/htdocs from a Windows User hierarchy NTFS location, such as a desktop?

D. Did you set the transfer type to auto or ASCII/Text on the client side?

Good Luck
:)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Write permissions in FIleZilla

Postby cearlp » 27. November 2012 01:44

The client side is an Apple application (iWeb) that builds web pages and FTP's the results to an FTP Server.
Since the pages have logos and such on them I can understand that type 'I' might be reasonable.
I'm not sure what the iWebTestFile.html is. I haven't seen it before.
Before I un-installed separate installations of Apache, MySql, PHP and FileZilla on the server and re-installed everything using XAMPP 1.8.1 I used iWeb to FTP to the server machine without problems.
The only thing I did different was I had to turn off Windows Firewall to get it to transfer successfully. With XAMPP 1.8.1 I just set up FIleZIlla and it's ports to be allowed through the Firewall.
There is no interface with the iWeb client to specify transfer type or anything except server address, user, password and directory.
cearlp
 
Posts: 13
Joined: 02. February 2011 19:00
XAMPP Version: 5.6.3
Operating System: Windows 7 x64 SP1

Re: Write permissions in FIleZilla

Postby JonB » 27. November 2012 03:53

Presuming you were on the same OS/machine before -

Since you have no control on the client side, I'd step back to say, XAMPP 1.7.7 - and give it a go.

or

try using the same Filezilla version you were working with before - FileZilla has no real integration with XAMPP other than through the Control Panel. I think you can configure those application paths now.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Write permissions in FIleZilla

Postby hackattack142 » 28. November 2012 03:48

Are you certain you gave your user write permissions to that folder from the FileZilla Server Admin interface?
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
XAMPP Version: 5.6.3
Operating System: Windows 7 Ultimate SP1 64-Bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: Nobbie and 67 guests