Reputation: 4553
I have two questions.
1.I am using SFTP with private key and connecting through the phpseclib.Whether I need to close the connection or it will automatically close the connection.If I need to close how can I do it?
2.How to resume the upload if it is failure with phpseclib?
Thanks in advance.
Upvotes: 3
Views: 2296
Reputation:
If you're using PHP5 the connection will close automatically because of the destructor.
I don't think resuming uploads is currently possible. Might be something you want to ask the phpseclib author about adding.
Upvotes: 2