Find the answer to your Linux question:
Results 1 to 3 of 3
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" ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    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
    New Users, please read this..
    Google first, then ask..

  3. #3
    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •