I operate both a dedicated server through DircetAdmin and a separate hosted shared server with another service. Using ssh, I have root access on the dedicated server and a jailed shell with he hosted server. I am attempting to transfer some files from one server to another.
While I was successful in initiating the transfer using the wget -r http://domainname/directory/* command, I was not able to control the transfer. Instead of pulling just from the directory I designated, the entire drive on the dedicated server that I pointed to ended up in the download queue. I had to kill the process and didn't get all the files I needed.
I also considered using the mget or mput commands but am unable to create an ftp connection between the servers from either direction. When attempting to connect with the jailed shell to the dedicated, I am directed to provide the user name & PW but given no prompt to enter the information. When attempting to connect in other direction, I am denied permission and not even given to opportunity to log on with user name and PW.
The drive I am attempting to pull from has over 600 gigs of files, so letting it pull everything and deleting what I don't need isn't an option.
While I was successful in initiating the transfer using the wget -r http://domainname/directory/* command, I was not able to control the transfer. Instead of pulling just from the directory I designated, the entire drive on the dedicated server that I pointed to ended up in the download queue. I had to kill the process and didn't get all the files I needed.
I also considered using the mget or mput commands but am unable to create an ftp connection between the servers from either direction. When attempting to connect with the jailed shell to the dedicated, I am directed to provide the user name & PW but given no prompt to enter the information. When attempting to connect in other direction, I am denied permission and not even given to opportunity to log on with user name and PW.
The drive I am attempting to pull from has over 600 gigs of files, so letting it pull everything and deleting what I don't need isn't an option.