Frankie P - 2013-02-02 16:42:12
Hello,
I have tried to get ftp-sync to work but to no avail. I have entered all the config data properly, I think. Here is what I entered:
$ftpServer: ftp://myftpsiteaddress
$ftpUsername: myusername
$ftpPassword: my password
$sync->syncRemoteDir('/home2/mysite/public_html/test/areg','/Users/iMac/Desktop/WebSync');
Can someone please tell me what I am doing wrong.
Thanks
Here is my error message
Connection Error. FTPSync Object ( [ftpServer] =>ftp://myftpsite [ftpUsername] => myusername[ftpPassword] =>myftppassword [maxConnections] => 5 [options] => Array ( [0] => ) [exclude_list] => Array ( [0] => ) [conIds] => Array ( [0] => Resource id #2 [1] => Resource id #3 [2] => Resource id #10 [3] => Resource id #5 [4] => Resource id #6 ) [conStats] => Array ( [0] => 0 [1] => 0 [2] => 0 [3] => 0 [4] => 0 ) [localFiles] => Array ( [0] => [1] => [2] => [3] => [4] => ) [verbose] => 1 [totalFiles] => 1 [totalSize] => 585 [transferredFiles] => 0 [transferredSize] => 0 [failedSize] => 0 )