RE: WinSCP and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What about the secure shell2 functions?:
http://uk.php.net/manual/en/ref.ssh2.php

I haven't used them myself but these two functions sound like the could be
useful:

ssh2_scp_recv ? Request a file via SCP
ssh2_scp_send ? Send a file via SCP

Edward

> -----Original Message-----
> From: George Pitcher [mailto:george.pitcher@xxxxxxxxxxx]
> Sent: 08 February 2007 11:30
> To: php-general@xxxxxxxxxxxxx
> Subject:  WinSCP and PHP
>
>
> Hi,
>
> I run specialised websites on my NT server on behalf of some universities.
> These sites offer processes to librarians (mainly) enabling them to order
> services from my company as well as doing some processes themselves. The
> processes involve handling PDF files, and I've done all the
> PDF-building-scripts etc that they need.
>
> I would now like to extend the services, allowing users more interactivity
> with their own filesystems - checking that PDFs are in the right place,
> being able to put them in the right place and removing them when the
> licencing says they must be removed - etc etc.
>
> By testing, I know that I can do this using PHP's ftp functions,
> but when I
> visited one of my main customers recently, they said they would
> prefer me to
> use SCP. I've found WinSCP (as it will need to run on the NT box) but am
> stumped as to how I can use it with PHP to offer equivalent (or
> even close)
> functionality to PHP's ftp function.
>
> Does anyone have any experience of using SCP/WinSCP as part of a PHP
> application, and if so, could they help me on to the next stage please?
>
>
> Cheers
>
> George in Edinburgh
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux