Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: Can't rename files on FTP

  1. #1

    Can't rename files on FTP

    Hi,

    I have some trouble with my FTP. I can't rename files on my FTP server?
    When i try to rename it says:

    [R] 257 "ftp_pvt/Shared/" is current directory.
    [R] PASV
    [R] 227 Entering Passive Mode (192,168,100,2,4,4)
    [R] Opening data connection IP: 192.168.100.2 PORT: 1028
    [R] LIST -al
    [R] 150 OK
    [R] 226 Transfer complete.
    [R] List Complete: 56 bytes in 0,24 seconds (0,2 KB/s)
    [R] RNFR Test
    [R] 350 File exists, ready for destination name.
    [R] RNTO Test2
    [R] 553 Permission denied.
    Rename Failure!

    What is wrong? How can i fix this?

    Thx

  2. #2
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    -Does your user have the required FTP rights (read/write/erase)?
    -What filesystem are you using?

    We need more info...

    Edit: It looks like stupid-ftp does not support the rename commands.
    Last edited by Styno; 07-01-2005 at 11:28.

  3. #3
    Filesystem = Fat32

    Ik can rename directory's.

    But when i make a directory in an other directory, i can't rename?

    What is my problem?

  4. #4
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    supply firmware version etc.. (reading faq would be nice..)

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  5. #5
    Product: WL500G
    Firmware Version: 1.9.2.7
    Firmware Release: 1.9.2.7-2

  6. #6
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    please enable Samba, and confirm that you can not rename dirs there as well

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  7. #7
    Is there a manual to get samba working?

    Thx

  8. #8
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by Antiloop
    please enable Samba, and confirm that you can not rename dirs there as well
    I tested it at home and I confirm you can't rename a file (1.8.1.7 CR2) on a FAT32 partition. With Samba its possible. Renaming a directory works.
    Code:
    226 Transfer complete.
        RNFR compile.txt
    350 File exists, ready for destination name.
        RNTO compile1.txt
    553 Permission denied.
        RNFR /giftwakeup-old
    350 File exists, ready for destination name.
        RNTO /giftwakeup-ol
    250 RNTO command successful.

  9. #9
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    Quote Originally Posted by Flappie
    Is there a manual to get samba working?

    Thx
    http://wl500g.info/search.php?

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  10. #10
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    Quote Originally Posted by Styno
    I tested it at home and I confirm you can't rename a file (1.8.1.7 CR2) on a FAT32 partition. With Samba its possible. Renaming a directory works.
    Code:
    226 Transfer complete.
        RNFR compile.txt
    350 File exists, ready for destination name.
        RNTO compile1.txt
    553 Permission denied.
        RNFR /giftwakeup-old
    350 File exists, ready for destination name.
        RNTO /giftwakeup-ol
    250 RNTO command successful.
    hm yeah possible.. I haven't used FTP for months since Samba runs nice & smoothly

    anyway stupidftpd is stupid.. I'll add this to faq asap

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  11. #11
    Okey, i started samba and changes the workgroup from my computer from HOME to WORKGROUP

    I can access the files, but thy are read-only!!!

    I have to change smb.conf?

    1. How can i change the name of the "fileserver". Now it is:
    Samba 1.9.18P10 (Asus-wl500g)

    Can i change this name?

    2. When i edit the file /etc/smb.conf (vi /etc/smb.conf) how can i save my changes, en quit the editor vi?


    And yes, i have used the SEARCH!

    Thx

  12. #12
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by Flappie
    Okey, i started samba and changes the workgroup from my computer from HOME to WORKGROUP

    I can access the files, but thy are read-only!!!

    I have to change smb.conf?

    1. How can i change the name of the "fileserver". Now it is:
    Samba 1.9.18P10 (Asus-wl500g)

    Can i change this name?

    2. When i edit the file /etc/smb.conf (vi /etc/smb.conf) how can i save my changes, en quit the editor vi?


    And yes, i have used the SEARCH!

    Thx
    You might need to search again

    Answers:
    The visible shares are read-only. There's a hidden share too which is read/write (Share$). Also, the samba config supplied by the custom firmwares are example configs, you need to adjust them to your needs.

  13. #13
    Oke,

    The share \\192.168.100.2\Share$ is also read only.


    When i open vi (vi /etc/smb.conf) i can edit the file with pressing "i"

    But, how can i save the file ? And how to exit Vi


    How to ad the commands

    /usr/sbin/smbd -D
    /usr/sbin/nmbd -D

    to the /usr/local/sbin/post-boot


    I have used the search several times. I have found a lot of information. On http://wl500g.dyndns.org/ i found:

    -------------------------
    add the following to your /usr/local/sbin/post-boot script):

    /usr/sbin/smbd -D
    /usr/sbin/nmbd -D
    -------------------------

    But HOW can i add this files to /usr/local/sbin/post-boot!!

  14. #14
    someone who can help me?

  15. #15
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by Flappie
    someone who can help me?
    Wow, easy dude, we ain't some paid helpdesk here

    For a manual on vi use Google.

    You can use vi to add the two lines needed for samba in the post-boot file.

    On a FAT32 the Share$ dir should be writable, unless you edited the samba.conf wrongly. Also is the 192.168.1.2 your router?

Page 1 of 2 12 LastLast

Similar Threads

  1. Big files using samba with 1.9.2.7-6a
    By Ulyss62 in forum WL-500g Custom Development
    Replies: 6
    Last Post: 25-09-2005, 18:20
  2. Samba, files >50 mb
    By double j in forum Dutch Discussion - Nederlands
    Replies: 4
    Last Post: 26-07-2005, 19:42
  3. FTP files disappeared
    By eugen in forum WL-500g Q&A
    Replies: 3
    Last Post: 18-01-2005, 10:16
  4. 1.7.5.9 Samba Problem with big files
    By kwr in forum WL-500g Custom Development
    Replies: 4
    Last Post: 27-08-2004, 22:58

Posting Permissions

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