Link to home
Start Free TrialLog in
Avatar of Robert Saylor
Robert SaylorFlag for United States of America

asked on

php ssh2_scp_send

I have an end user who will not disclose the absolute path so I can send files via SFTP. From my reading the docs the path is required. I am looking for confirmation on that.

http://php.net/manual/en/function.ssh2-scp-send.php

Error I get sending with just "directory/filename.csv" instead of "/path/from/root/directory/filename.csv". Also, when I use another server that I know the path it works fine.

<b>Warning</b>:  ssh2_scp_send(): Failure creating remote file: failed to send file

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial