-1

I've 2 server: Server A: Centos, webmin installed, with access to everything, SSH included.

Server B: only FTP access

On Server B I've a file of 10GB and I want to move it to Server A directly, and not downloading it on my PC and then upload it again.

Is it possible? What should I do? PHP or SSH?

Nathan C
  • 15,059
  • 4
  • 43
  • 62
testermaster
  • 121
  • 1
  • 7

1 Answers1

0

If I'm reading the question correctly, you want to get a file from ServerB which you only have FTP access to onto ServerA. Why not download it over FTP to ServerA? Just use ftp Server-B.com and get file.10g.zip to grab the file from ServerB and download it onto ServerA.

Alternatively, use wget: wget ftp://serverb/path/to/file.zip

Nathan C
  • 15,059
  • 4
  • 43
  • 62
  • Hello, thanks for the reply. I'll try this. Is there any way to specify the path in which I want to save the file? – testermaster Dec 09 '14 at 19:31
  • Both commands save the file in the current folder you're in on the server. With wget, you can use: `wget -O /path/to/destination/ ftp://...` – Nathan C Dec 09 '14 at 20:00