LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-30-2005, 12:51 AM   #1
swiftsage
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
Question FTP Problem


Iam able to connect and see the folder contents as a user ,
but iam not able to upload anything as any user .
I am getting a 'Creation Failed ' Message .
Please advise .
 
Old 08-30-2005, 01:28 AM   #2
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
sounds like a permision problem either on the server or local machine. Are you logging on to the ftp server as another user?

A firewall might also give you the same error.

Where exactly is the error generated on the local or remote machine?
 
Old 08-30-2005, 01:46 AM   #3
swiftsage
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Original Poster
Rep: Reputation: 0
I am logging in to a remote server where i also have root access .
As a user i am able to ftp the server and see the directories ,but
not able to upload anything .
Command: SYST
Response: 215 UNIX Type: L8
Status: Connected
Status: Starting upload of E:\worksnew\Aug12\mnrao\a_logo2.gif
Command: CWD /public_html/
Response: 250 Directory successfully changed.
Command: PWD
Response: 257 "/public_html"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PORT 219,65,160,18,16,193
Response: 200 PORT command successful. Consider using PASV.
Command: STOR a_logo2.gif
Response: 553 Could not create file.
Error: Upload failed
Status: Retrieving directory listing...
Command: PORT 219,65,160,18,16,195
Response: 200 PORT command successful. Consider using PASV.
Command: TYPE A
Response: 200 Switching to ASCII mode.
Command: LIST
Response: 150 Here comes the directory listing.
Response: 226 Directory send OK.
Status: Directory listing successful
Command: TYPE A
Response: 200 Switching to ASCII mode.
 
Old 08-30-2005, 02:07 AM   #4
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
Quote:
Originally posted by swiftsage
I am logging in to a remote server where i also have root access .
As a user i am able to ftp the server and see the directories ,but
not able to upload anything .
Command: SYST
Response: 215 UNIX Type: L8
Status: Connected
Status: Starting upload of E:\worksnew\Aug12\mnrao\a_logo2.gif
Command: CWD /public_html/
Response: 250 Directory successfully changed.
Command: PWD
Response: 257 "/public_html"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PORT 219,65,160,18,16,193
Response: 200 PORT command successful. Consider using PASV.
Command: STOR a_logo2.gif
Response: 553 Could not create file.
Error: Upload failed
you may have root access on the unix box but when you start the ftp session is it as root or non-root because it looks like you have permission problems with /public_html. Another problem might be that the ftp server on the unix side may be set up to let only certain users access the /public_html area and it doesn't care whether your root or not
 
Old 08-30-2005, 05:07 AM   #5
swiftsage
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Can you kindly suggest me where i can change these permissions ?
 
Old 08-30-2005, 08:57 AM   #6
linux-goot
Member
 
Registered: Jun 2004
Posts: 60

Rep: Reputation: Disabled
FTP code 553 suggests your filename has illegal characters in it, something that's not acceptable to your remote server's configuration, perhaps.

Although your filename a_logo2.gif seems like it should be okay, have you tried renaming it, say without the underscore or number, to see if it uploads? What other file names have you tried uploading?
 
Old 08-30-2005, 08:12 PM   #7
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
Quote:
Originally posted by swiftsage
Can you kindly suggest me where i can change these permissions ?
What flavour unix is the ftp server box?
In /etc there may be files of the form ftp_accept or ftp_deny or ftp_something check those out and see whats in them.
Other wise try linux-goot's suggestion and change the filename , the other possibility is that the STOR command is trying to create Windows paths on the Unix box perhaps try cd to the home directory of a_logo2.gif and ftp from there.
Another idea might be to use the ftp comman PUT and see if that works
 
Old 08-31-2005, 02:39 PM   #8
swiftsage
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Original Poster
Rep: Reputation: 0
thanks you

Thank you ,Dommy .Its working now .
Its to do with Directory Ownership .I created public_html as Root .
So as a user i had no permission to it .I created a new directory
and copied contents of public_html there .
 
Old 08-31-2005, 11:21 PM   #9
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
Glad to help.

An alternative would be to change the permissions on public_html to allow any one to access it , something like chmod +777 public_html should give rwx access to everyone

Rgrds
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 05:35 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 03:07 PM
FTP problem rwelch Linux - Networking 5 03-14-2003 11:55 PM
ftp problem robmcw Linux - Newbie 8 03-11-2003 08:16 PM
FTP problem DigiCrime Linux - Software 1 01-19-2003 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration