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.
Write an article for LinuxForums Today! Win Great Prizes!
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
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..
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...
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