Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I want to copy files from the remote SFTP server to the local server on Linux machines using php. But the server needs any client connection to come from 1 particular IP address. Therefore, somehow, I have to incorporate bind_address.
How do you do that?

Best Regards
Thayalan

What I have tried:

I have tried looking at the url: www.php.net
Posted
Updated 21-Jun-16 1:43am

1 solution

Hello,

I prefer using ssh2_connect but bind_address is present in socket coding. I think with socket coding, it is difficult to separate into files.

Best Regards
Thayalan
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900