Wget HTTP Authentication issue

I found this when using HTTP authentication, not sure if this is a bug on wget or on the server side. This is wget version 1.10.2 compiled on MacOS X 10.4.8 with gcc 4.0.1 and make 3.80, which shows this behaviour: $> wget -O – –no-cache -d –http-user=admin –http-password=XXXXXX http://192.168.128.23/admin/test/advanced Setting –http-user (httpuser) to admin …

How to overwrite existing files when use wget?

How to overwrite existing files when use wget? It seems that there is no way to force overwriting every files when downloading files using wget. However, use -N option can surely force downloading and overwriting newer files. Posted by Enod at 11:19 AM 2 comments: Advait said… if you are using gnu version of wget …

Plesk changing the linux permissions

Plesk uses PHP’s open_basedir setting to restrict PHP scripts to their domain’s httpdocs directory (and /tmp) for security. If you check the domain’s error_log you’ll see that the open_basedir restriction is in effect (or enable display_errors to see errors in your browser, but this is not recommended for production sites). You can override a domain’s …

How To scp, ssh and rsync without prompting for password

How To scp, ssh and rsync without prompting for password Whenever you need to use scp to copy files, it asks for passwords. Same with rsync as it (by default) uses ssh as well. Usually scp and rsync commands are used to transfer or backup files between known hosts or by the same user on …