[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ncftp update problems ..



Tim wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave Selby wrote:
| I was using lftp, had it working the way I wanted but when trying to use | it with my new web host, refused to work. Changed to ncftp which is good
| but I have a problem ..
| When I update my HTML I want to mirror it to my ftp. The nearest command
| I can find is ..
| ncftpput -zR -d stdout -u smallbus -p xxxx 203.194.159.239 /www/www/
| /usr/local/myfiles/dave/websites/current/*.html
|
| This worked great first time and mirrord all my html files However if I
| change a file and execute it again, it checks the file on the server,
| decides its there and does not mirror it !. I have to go into ncftp to
| manually delete it before it will upload a fresh copy
| Any work arounds ?
|
| Dave
|
| Failing that any suggestions for another ftp server with mirror commant,
| unfortunately not lftp
|
|

Not used ncftp, but switched from lftp to weex as I couldn't get lftp to
mirror from local to remote. weex caches and works well. All you do it
configure your ~/.weex/weexrc to log onto the remote (leave out the
password line), then type weex <remote>. Done!


Looks like Just what I need ! As soon as I get back from work I will give it a go, many thanks
Dave

PS Work is such a pain, it gets in the way of linuxing. Less work, more linuxing I say.






Reply to: