View previous topic :: View next topic |
Author |
Message |
icitos
Joined: 18 Jun 2009 Posts: 15
|
Posted: Thu Jun 18, 2009 9:21 am Post subject: rename file in a chain |
|
|
I'm trying to chain encrypt, compress then FTP tasks using multiple "filename.txt" files. The objective is to have each individual file result to "filename.zip" before ftp.
encrypt = filename.pgp
compress = filename.zip
ftp = filename.zip
I got it working on 1 file but filename growing ie test.txt > text.txt.pgp > text.txt.pgp.zip.
Could you guide me to the right variable or regex settings.
Thanks a lot |
|
Back to top |
|
 |
melvin Site Admin
Joined: 25 May 2006 Posts: 635 Location: Santa Barbara, california
|
Posted: Fri Jun 19, 2009 5:50 pm Post subject: |
|
|
actually you are doing it the right way..
while encrypting:
test.txt should be test.txt.pgp
while zipping, it should become test.txt.pgp.zip
when you unzip it should become test.txt.pgp
when you decrypt, you should name it back to test.txt
decryption task, filename field = .pgp
rename field = (leave blank) .. this should strip out the .pgp |
|
Back to top |
|
 |
|