Permission with Tar files

Hi All,
I have 1000's of xml files in the Windows environment which needs to be FTPed to the UNIX environment.
to reduce the time taken i go in for Tar and gzip

  1. At the windows server i use the following command to tar and gzip
    tar --remove-files -pcf DW_BankDrop.tar DW_BankDrop*.xml
    gzip -r9 DW_BankDrop.tar
    This yields me a file DW_BankDrop.tar.gz
  2. I FTP this .tar.gz file to the UNIX environment and perform
    chmod 777 Pathname/DW_BankDrop.tar.gz
    gunzip Pathname/DW_BankDrop.tar.gz
    tar pxvf Pathname/DW_BankDrop.tar

this commands unzips and untars the files but the permission of untarred file becomes 666... Is it possible to retain the same 777 permission which was given for the .tar.gz file earlier in this command(chmod 777 Pathname/DW_*.gz)?

another question: Is it possible to delete the .tar file once its being untarred in the same command? (like --remove-files in case of windows environment)
Kindly help me.

What on earth for? The executable bit is pointless on anything but directories, scripts, and executables. The 666 permissions you already have mean "read/write access for everyone". And I do mean everyone. You might want to check your umask...

Not that I can see. tar treats the archive file as a stream, not a file, so doesn't have options like that. Not a big deal, just 'rm filename' to delete it after.

On the subject of file creation permissions, see "man umask".