SMF Support > SMF 2.0.x Support

Install package with SFTP

(1/2) > >>

Ruriko:
Is there a way to install packages with SFTP? cause I don't have a FTP server

Colin:
If you have the permissions set correctly you should be able to upload packages directly from the package manager. Is that not working for you?

Ruriko:
what permission do folders/files need to be? No I'm not able up upload packages from package manager cause it asks me for FTP access

Colin:
http://wiki.simplemachines.org/smf/Installing#Set_File.2FFolder_Permissions

MrPhil:
Is the problem here that the forum is set up properly for FTP usage, but the host forbids it for security reasons, and requires SFTP? Is that for inbound requests, outbound, or both?

In Sources/Class-Package.php there is a class for ftp_connection, which seems to be used for these operations. The default is to go to the simplemachines.org FTP client, so be careful globally changing everything to use SFTP as it might break updates/packages from SMF. Does anyone know if simplemachines.org can even be accessed via SFTP? Is the protocol the same, but port numbers, etc. changed? If the SMF site is the only one being accessed for FTP, and only port numbers and other minor changes are needed, then go ahead and update ftp_connection class and its uses for SFTP. If other sites are still to be FTP'd, or major changes are needed to the interface, it might be best to make a new sftp_connection class.

With SFTP becoming more common (due to the gaping security holes in FTP), SMF should be updated to support SFTP. I haven't done any research on the subject and have no idea what the differences are. I have used a box on a LAN with SFTP configured, and the file transfer methods were quite different, as I recall.

Navigation

[0] Message Index

[#] Next page

Go to full version