Forum Moderators: phranque
wget -S -m -nH ftp://username:password@REMOTE_HOST_IP
On server A, this results in a full download of the files on the REMOTE_HOST_IP. However, the exact same command on server B results merely in a index.html file displaying a listing of what's on REMOTE_HOST_IP, but it does not download the files itself...
Any ideas?
There is not necessarily a correspondence between URLs and file system directories, though.
I have to assume that the files (other than index.html) are in some other locations, and there is some URL redirection going-on in the HTTP server configuration.
Another possibility is that the FTP account does not have permission to access the files, save for index.html.
I note that you are using FTP to access the site. FTP will access a certain file system directory on the disk, and it's descendants.There is not necessarily a correspondence between URLs and file system directories, though.
Yep, i use FTP. But like i said, the exact same command works 100% fine when executed from another server.
I have to assume that the files (other than index.html) are in some other locations, and there is some URL redirection going-on in the HTTP server configuration.
Not sure I can follow what you mean...
Another possibility is that the FTP account does not have permission to access the files, save for index.html.
Permission should be o.k., since the exact same user/pass combination is used when the wget command is executed from anoter server...