0
0
I'm trying to use via ssh2_scp_send command, for some reason the remote server that I trying to copy to him a file, told me he see: "scp -pt /........" The SysAdmin of the remote server told me that I need to remove the -p option, how this is po...
2011-06-21
0
2
Hi Trying to send a file to another server using scp.. cannot use sftp as it is not installed on my server so i am getting a function not found for ssh2_connect. So my only option as i can see it is scp. Now the problem come with i cannot includ...
2010-09-21
0
3
I want to copy a zip file from remote to my local system using SCP. I have a php file where i use php function exec(); if i run upload.php like http://www.abc.com/upload.php. The zip file should copy to my local linux folder my path is /var/www/...
2010-11-09
2
2
I switched over to zendserver(VS8 php(5.3) binaries), and now curl(7.19.4) seems to be lacking SCP and SFTP protocol support(verified by errors and phpinfo). Curl itself is installed correctly, it's just lacking the protocol support mentioned. ...
2009-10-20
0
1
I'm just playing around with Phing, and I've setup a task like this: <scp .... > <fileset dir="/my/dir"> <include name="**" /> </fileset> </scp> But it fails when it gets to a symlink within my dir...
2011-02-18
5
7
I would like to do remote deployment from my build machine onto a server. The remoting can be done via ssh commands from a script, but I would rather use phing and a deploy.xml file that would do the automation. What alternatives do I have to do...
2008-10-23
0
1
I'm trying to fetch a file and send a command to another server. I'm trying to do the following: system('scp root@xxx.xxx.xxx.xxx:/etc/something.conf /tmp/',$ret); But the file isn't copied. If I echo $ret it outputs 1. If I log to the server...
2011-06-09
1
3
I am using this code in html form <input name="button" type="button" value="Step 2" onclick="location.href='../ticket/scp/auto.php?dest=../scp/admin.php?t=staff&a=new'"/> when i use print_r($_GET) i get Array ( [dest] => ../scp/...
2011-03-16
4
2
I am using the PHP function ssh2_scp_send to transfer files from one server to another. The interesting things is that if I write the permission in it's octal form (ie 0644) directly everything works fine. If I instead enclose this in inverted co...
2010-12-18
0
1
I have a question that has been bugging me recently i wanted to write a webpage that will use the php-expect to SCP an image from another server and then display it in an image TAG here is my code <?php // Copies file from remote host: ini_...
php
2010-10-09