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
RNFR/RNTO not working
Not working with remote directory specified
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
The same command does not work when I specify the directory:
RNFR /NorthAmerica/HQ/Sungard/%1
RNTO /NorthAmerica/HQ/Sungard/Processed/%1
-
- Posts: 4
- Joined: Wed Sep 17, 2008 7:55 am