Go Back   openSUSE Forums > Programming/Scripting
Forums FAQ Members List Search Today's Posts Mark Forums Read


Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-Nov-2009, 09:04
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 2
bradthewanderer1 hasn't been rated much yet
Default PHP and SFTP

I am running a php script and trying to connect via SFTP and transfer files or connect even, what can I do, what libraries would you need and or patches?
Reply With Quote
  #2 (permalink)  
Old 04-Nov-2009, 09:25
mmarif4u's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: /dev/swat
Posts: 708
mmarif4u hasn't been rated much yet
Default Re: PHP and SFTP

Make SSH connections with PHP

Hope this can help.
__________________
Visit my website: http://anl4u.com
Laptop: openSUSE 11.2 | KDE4.3.1 '6' | Kernel 2.6.31.5 | Intel Mobile 4 series graphic card | Intel centrino dual core 2.0Ghz Processor | 4GB RAM | 320GB HDD
Reply With Quote
  #3 (permalink)  
Old 04-Nov-2009, 13:12
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 2
bradthewanderer1 hasn't been rated much yet
Default Re: PHP and SFTP

Thank you very much, it was helpful.
Reply With Quote
  #4 (permalink)  
Old Yesterday, 21:52
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 1
undereggs hasn't been rated much yet
Default Re: PHP and SFTP

I recently tried to get SFTP on PHP working and found that phpseclib was a lot easier to use:

PHP Secure Communications Library

If you have the luxury of not being on a shared host and can install whatever extensions you want to maybe the PECL extension would be better but not all of us are so lucky.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2