cpufreak3
Feb 6th 2008, 4:48 pm
I'm trying to use the ftp_connect in PHP, but would like to change the port.
Here's what I have ftp_connect('www.blockfilter.info', 22);
However, it doesn't work. I can connect without the port number, and I know I have sftp access. I think my formatting may be wrong. Thanks
EDIT: Let me clarify, I would like to connect via SFTP in PHP, how exactly do I do this?
Here's what I have ftp_connect('www.blockfilter.info', 22);
However, it doesn't work. I can connect without the port number, and I know I have sftp access. I think my formatting may be wrong. Thanks
EDIT: Let me clarify, I would like to connect via SFTP in PHP, how exactly do I do this?