Re: SCP Task & umask

2007-08-31 Thread Eric Jain
Atsuhiko Yamanaka wrote: I have not tried it by myself yet, but it seems scp1 protocol allows us to choose the umask in sending files and creating directories. In the class, org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage the method 'sendFileToRemote' has explicitly chosen '0644'. As

SCP Task & umask

2007-08-30 Thread Eric Jain
According to http://ant.apache.org/manual/OptionalTasks/scp.html, "File permissions are not retained when files are copied; they end up with the default UMASK permissions instead". That would suite me just fine: I'm copying files from a Windows machine to a Linux machine, where I have `umask 00

Re: Testing for File.lastModified > 1d

2003-05-02 Thread Eric Jain
targetfile=".my_day_old_file" > srcfile="${my.file}"/> > > > -- Eric Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]