Open gggeek opened 11 years ago
well, there's pakeSSH::copy_to_server()
which uses scp (CLI). I guess it can be "fixed" to use curl, when possible
Doh, I looked around in the code for "sftp" but somehow missed that. Scp is available on windows as well (at least it is part of git and cygwin) so I guess it could do...
well, I still prefer "API-powered" solutions to CLI-solutions, so this is a valid feature request
This is, afaik, not currently supported by pake, and enough of a chore to merit some pake_function of its own (either that, or have it working via pake_write_file).
From my limited web serach, it seems that using curl is better than using the ss2_sftp functions (wider installed base).
Sample code: