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 my.proxy.com 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.

<offtopic>

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.

</offtopic>

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.