RNFR/RNTO not working

Core FTP client questions and answers
Post Reply
alise1
Posts: 11
Joined: Thu Mar 20, 2008 2:36 pm

RNFR/RNTO not working

Post by alise1 »

I am trying to rename a file on the ftp server after transferring it (download). In Post Transfer Commands I have

RNFR %1
RNTO %1.bak

I have also tried

RNFR /%1
RNTO /%1.bak

RNFR //%1
RNTO //%1.bak

None of these works, I get an error

150 Opening ASCII mode data connection for 042408101818.mi00272a.pgp.
226 Transfer complete. 729 bytes transferred. 729 Bps.
042408101818.mi00272a.pgp - 729 bytes transferred
MDTM 042408101818.mi00272a.pgp
213 20080424131956.143
RNFR 042408101818.mi00272a.pgpRNTO 042408101818.mi00272a.pgp.bak
550 042408101818.mi00272a.pgpRNTO 042408101818.mi00272a.pgp.bak: Requested action not taken. File unavailable (file not found or no access).
Transfer time: 00:00:01
alise1
Posts: 11
Joined: Thu Mar 20, 2008 2:36 pm

Not working with remote directory specified

Post by alise1 »

I was able to get these commands to work on build 1563. However, now I am working with a file in /NorthAmerica/HQ/ that I want renamed to /NorthAmerica/HQ/Processed.

The same command does not work when I specify the directory:

RNFR /NorthAmerica/HQ/Sungard/%1
RNTO /NorthAmerica/HQ/Sungard/Processed/%1
abhishekpandey18
Posts: 4
Joined: Wed Sep 17, 2008 7:55 am

Post by abhishekpandey18 »

Hi Alise/CP ,

Could you please explian me how you used RNFR and RNTO command which is working now in the latest build.
Plase help me.
alise1
Posts: 11
Joined: Thu Mar 20, 2008 2:36 pm

Post by alise1 »

I would love to help you out but since my original post I have received a new laptop and lost all my coreftp sites and settings so I can't reference what I ended up doing.
Post Reply