ftp and permission denied!

mickhall

Joined: 2008-07-05
Posts: 7
Posted: Tue, 2009-02-24 13:32

een having trouble trying to ftp my photos to my gallery keep getting message below

know i need to create a path but have not got a clue! what the path is/should be also keep coming up with permission denied etc etc if any of you clever people know what to do please tell me!!

mick hall

message my ftp keeps telling me!!

Finding Host ftp.mickhall-photos.com ...
Connecting to 94.76.210.28:21
Connected to 94.76.210.28:21 in 0.043, Waiting for Server Response
220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 18:09. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Host type (1): Automatic detect
USER mickhall
331 User mickhall OK. Password required
PASS (hidden)
230-User mickhall has group access to: mickhall
230 OK. Current restricted directory is /
SYST
215 UNIX Type: L8
Host type (2): UNIX (standard)
Host type (I): UNIX (standard)
PWD
257 "/" is your current location
/ loaded from [Directory Listing Cache]\DIR541D.tmp
CWD public_html
250 OK. Current directory is /public_html
/public_html loaded from [Directory Listing Cache]\DIRC8F7.tmp
CWD gallery2
250 OK. Current directory is /public_html/gallery2
/public_html/gallery2 loaded from [Directory Listing Cache]\DIRD30A.tmp
CWD g2data
250 OK. Current directory is /public_html/gallery2/g2data
/public_html/gallery2/g2data loaded from [Directory Listing Cache]\DIR45D4.tmp
CWD micksuploads
250 OK. Current directory is /public_html/gallery2/g2data/micksuploads
PWD
257 "/public_html/gallery2/g2data/micksuploads" is your current location
PASV
227 Entering Passive Mode (94,76,210,28,194,68)
connecting data channel to 94.76.210.28:49732
data channel connected to 94.76.210.28:49732
LIST
150 Accepted data connection
transferred 609 bytes in < 0.001 seconds, 4757.813 Kbps ( 594.727 KBps).
226-Options: -a -l
CDUP
250 OK. Current directory is /public_html/gallery2/g2data
/public_html/gallery2/g2data loaded from [Directory Listing Cache]\DIR45D4.tmp
CWD albums
250 OK. Current directory is /public_html/gallery2/g2data/albums
/public_html/gallery2/g2data/albums loaded from [Directory Listing Cache]\DIR6033.tmp
CWD otherevents
250 OK. Current directory is /public_html/gallery2/g2data/albums/otherevents
/public_html/gallery2/g2data/albums/otherevents loaded from [Directory Listing Cache]\DIRE92.tmp
CWD test
250 OK. Current directory is /public_html/gallery2/g2data/albums/otherevents/test
/public_html/gallery2/g2data/albums/otherevents/test loaded from [Directory Listing Cache]\DIRC600.tmp
TYPE I
200 TYPE is now 8-bit binary
PASV
227 Entering Passive Mode (94,76,210,28,43,0)
connecting data channel to 94.76.210.28:11008
data channel connected to 94.76.210.28:11008
STOR LXC1.jpg
553-Can't open that file: Permission denied
553 Rename/move failure: No such file or directory
PORT 192,168,1,66,195,3
200 PORT command successful
STOR LXC1.jpg
553-Can't open that file: Permission denied
553 Rename/move failure: No such file or directory
Transfer request completed with status: Failed, 1 SubItem(s) failed

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Tue, 2009-02-24 14:47

You can't FTP files to the G2data dir.
It looks like you are FTPing to /public_html/gallery2/g2data/albums
I would make a dir at /public_html/temp
then I would assume you know the path to that dir.
If not post config.php line that starts with:
$gallery->setConfig('data.gallery.base',

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mickhall

Joined: 2008-07-05
Posts: 7
Posted: Tue, 2009-02-24 19:31

sorry dave i;m new to all this stuff don't know much about this stuff is there any chance of helping me out a bit more?
so have put some files into
/public_html/temp
now i don't know php or stuff like that sorry!
is there any other way of finding this path thing?

 
mickhall

Joined: 2008-07-05
Posts: 7
Posted: Tue, 2009-02-24 19:53

transfer files that are already on your server into your Gallery. The files must already have been uploaded to your server some other way (like FTP) and must be placed in an accessible directory. If you're on Unix this means that the files and the directory the files are in should have modes of at least 755.

For security purposes, you can't use this feature until the Gallery Site Administrator configures a set of legal upload directories.

as admin how do i config set of legal upload directories??

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Wed, 2009-02-25 03:32

Open config.php, it is on your server in the gallery directory. FTP it to your client open it with notepad. then;
tell us what the line that starts with:
$gallery->setConfig('data.gallery.base',
say?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team