Rick, I think I was not clear. I know about the command rename... I just don't know how to connect throught script sending login, password, and interacting with the ftp server...
Joao. Rick van der Linde wrote: > >Hello list, > > > >I need help with some scripts I must do. I'm not used to script > >programming so I don't know the possibilities. In fact I need scripts > >for uploading, downloading and renaming archives throught FTP > >connection. For upload/download, I thought of using wget. The most > >problem will be with the renaming. Actually, I need to conect to the > >server, check out there if there is a specific file, and then decide to > >rename another file. > > > >Can any one give me any directions? > > You can use mv for renaming files in scripts, like all other > common unix commands. If it should be done within a ftp session > you can use rename... > > mv <old_filename> <new_filename> > > Or in ftp session: > > rename <old_filename> <new_filename> > > Rick > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list