>>>>> "Binand" == Binand Raj S <[EMAIL PROTECTED]> writes:

    Binand> On Sat, Mar 15, 2003 at 01:16:58PM +0530, Vinod Bhaskar
    Binand> wrote:
    >> The issue is ncftp allows to chmod function in interative mode.
    >> But I require a commandline chmod function, to set in the
    >> crontab like ncftpput command.

    Binand> Oh. Don't know if ncftp can do this, but with lftp, we
    Binand> have a -e option.  Like this:

    Binand> [EMAIL PROTECTED]:(22) lftp -e "chmod 777 /pub"
    Binand> updates.redhat.com chmod: Access failed: 550 Permission
    Binand> denied. (/pub)

Or how about good old ftp?

ftp -n domain.com <<!
user ID PASSWORD
cd DIRECTORY
bin
put LOCAL-FILE REMOTE-FILE
chmod MODE REMOTE-FILE
bye
!

Regards,

-- Raju
-- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
                      It is the mind that moves


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to