Hi,
I am using FTP stage to FTP a sequential file from server1 to server2. After ftp is complete I want to rename the file at server2.
Is there any way or stage in which I could rename the file?
Regards.
Renaming a file
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 783
- Joined: Mon Jan 16, 2006 10:17 pm
- Location: Sydney, Australia
Not the only way, but certainly the simplest. As noted, just give it whatever name you like, regardless of the original sequential filename, in the FTP stage.
You can also use the Telnet capabilities of the stage and the 'Telnet After Command' to rename the landed file. Simplest to just drop it with the desired name because just because you have FTP permissions on a server doesn't mean you can telnet there as well.
You can also use the Telnet capabilities of the stage and the 'Telnet After Command' to rename the landed file. Simplest to just drop it with the desired name because just because you have FTP permissions on a server doesn't mean you can telnet there as well.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers