Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Networking > Problem using FTP "mget". Please help..

Forgot Password?
 Linux Networking   Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-27-2007   #1 (permalink)
Just Joined!
 
Join Date: Jun 2006
Posts: 40
Problem using FTP "mget". Please help..

Hi,

I used "mput" to put these files from my windows machine to my linux machine using FTP from my windows desktop. But, now if I am using FTP "mget" from same windows desktop from command prompt, Iam getting "permission denied" message as below.

Please help me, if I am doing anything incorrect....I'll appreciate your help.

ftp> cd sand
250 Directory successfully changed.
ftp> dir
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-rw-r-- 1 505 506 4730043 Oct 21 2006 01 crazy kiya.mp3
-rw-rw-r-- 1 505 506 5245386 Dec 02 2006 01 dil kya kare.mp3
-rw-rw-r-- 1 505 506 5830111 Dec 22 2006 01 maula mere -rw-rw-r-- 1 505 506 5104116 Oct 21 2006 02 touch me.mp3
-rw-rw-r-- 1 505 506 3990071 Apr 27 2007 02 yeh dooriyaan.mp3
-rw-rw-r-- 1 505 506 982460 Jun 15 05:36 mpkdh06.rm
-rw-rw-r-- 1 505 506 970187 Jun 15 05:36 mpkdh07.rm
-rw-rw-r-- 1 505 506 1138902 Jun 15 05:58 swades01.rm
226 Directory send OK.
ftp: 3377 bytes received in 0.03Seconds 105.53Kbytes/sec.
ftp> mget *.mp3
200 Switching to ASCII mode.
mget 01 crazy kiya.mp3? y
Error opening local file 01 crazy kiya.mp3.
> 01 crazy kiya.mp3:Permission denied
mget 01 dil kya kare.mp3? n
mget 01 maula mere maula.mp3? y
Error opening local file 01 maula mere maula.mp3.
> 01 maula mere maula.mp3:Permission denied
mget 01 teri yaad.mp3? y
Error opening local file 01 teri yaad.mp3.
> 01 teri yaad.mp3:Permission denied

Thanks-
Pawan Sangal
Pawan Sangal is offline  


Reply With Quote
Old 11-27-2007   #2 (permalink)
Linux Engineer
 
RobinVossen's Avatar
 
Join Date: Aug 2007
Location: The Netherlands
Posts: 1,282
Send a message via ICQ to RobinVossen Send a message via MSN to RobinVossen
What user is going the FTP?
root, file owner, other? (eg Annoymous?)
If you think file owner are you sure it has the right UID and username?
If its other you have to change the read rights.

Hope that helps.
Cheers,
Robin
__________________
My webpage: codeinject.org
New Users, please read this..
Google first, then ask..
RobinVossen is offline   Reply With Quote
Old 11-27-2007   #3 (permalink)
Just Joined!
 
Join Date: Nov 2007
Location: Camp Pendleton
Posts: 55
Hi,

See this:
Error opening local file 01 crazy kiya.mp3.
> 01 crazy kiya.mp3:Permission denie

It's trying to download the file. All that seems to be working fine, but when it tries to write it locally it's getting a permission denied. Make sure you change into a directory that you can write to before connecting to the ftp server...
mrjohnson is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:19 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2