Using sftp proxycommand in php upload and download

HI , I need some help please this command is set up with our adminstrator

sftp -o ProxyCommand="alias proxy_port %h %p" Username@target_address_to_connect

my question how can I convert this to php script and how can I download and upload file using sftp ?

Thank you in advance.


Post editing is limited to a certain amount of time, something like an hour I believe, to prevent people from posting something legitimate and then later coming back and changing it to something spammy.


1 Like