LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2014, 01:29 AM   #1
je_syd
LQ Newbie
 
Registered: Jul 2011
Location: Sydney
Distribution: Debian
Posts: 13

Rep: Reputation: Disabled
Question 550 Failed to open file


I am trying to download NASM from nasm.us
I can successfully log in at anonymous/anonymous
I can change the directory to /pub/nasm/releasebuilds/2.11.05 and successfully list the directory entries.

When I issue the command:

ftp> get nasm-2.11.05.tar.gz
I get the error message: 550 Failed to open file

I was trying to download the file to the pwd which is /usr/local/src where I am logged in as root.

Assuming this 550 error to be a file permission error in the pwd I ran the following command from the parent directory to ./src :
>chmod 777 /usr/local/src and got the following permissions:

drwsrwsrwt 3 root staff 4096 Jun 4 10:51 src

But that makes no difference and I still get the 550 error message.

I am logged into a Linux Debian v7.5 distribution and using the ftp progam.

So what else should I do???
 
Old 06-03-2014, 02:21 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,129

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
wget http://www.nasm.us/pub/nasm/releaseb...2.11.05.tar.gz
works for me perfectly
 
1 members found this post helpful.
Old 06-03-2014, 02:25 AM   #3
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by je_syd View Post
ftp> get nasm-2.11.05.tar.gz
I get the error message: 550 Failed to open file
that's an error or status code returned by the FTP server. It indicates a technical problem with the server side file system.

Quote:
Originally Posted by je_syd View Post
Assuming this 550 error to be a file permission error in the pwd I ran the following command from the parent directory to ./src :
>chmod 777 /usr/local/src and got the following permissions:

drwsrwsrwt 3 root staff 4096 Jun 4 10:51 src
You may be on the right trail assuming a permission problem - but it's not about permissions on your local machine where you're going to put the downloaded file; instead, it's likely to be a permission problem on the server side. Either a misconfiguration, or the file's ownership and access rights are set deliberately so that the ftp process can't access the file. However, then it would be a lot smarter not to put the file there in the first place.

But don't forget that a permission issue isn't the only possibility. A 550 status code is fairly generic in FTP and merely indicates a file-system related problem that probably won't sort itself out on its own. Trying to access a non-existent file yields the same status code (unlike HTTP, where there is a dedicated status code for "Not Found", the 404). So before you go on, double-check that you don't simply have a typo.

Quote:
Originally Posted by je_syd View Post
So what else should I do???
Contact the server administrator or the people who run the FTP service. Whatever the actual problem is, it seems to be on their side.

[X] Doc CPU
 
1 members found this post helpful.
  


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
[SOLVED] vsftpd anon download gets 550 failed to open file error arashi256 Linux - Server 3 02-26-2014 08:48 AM
lftp mirror: Access failed: 550 /var/www/vhosts/test: No such file or directory speedy6 Linux - Software 11 10-22-2012 03:06 PM
[SOLVED] 550:Failed to change directory divyashree Linux - Server 10 09-29-2010 01:42 PM
reason: 550-Verification failed for noo7 Red Hat 1 04-06-2009 11:28 PM
vsftp - 550 Failed to change directory mayankh Linux - Server 3 06-24-2008 11:52 PM


All times are GMT -5. The time now is 08:33 AM.

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