Forum Moderators: coopster
I use sftp on the ssh port to do my ftp dealings, is there anyway I can use that to send this file to a remote ftp server?
This is the error I get in my script. I've not made any changes to it, since it stopped working (other than disabling the ftp service from running):
Connected to uploads.x.com, for user x!Warning: ftp_put() [function.ftp-put]: Type set to A. in /home/xx/public_html/xx/upload.php on line 423
uploads.x.com: FTP upload has failed!
This is line 423:
$upload = ftp_put( $conn_id, $ftpdestinationfile, $ftpsourcefile, FTP_ASCII );
I can also connect manually to uploads.x.com , so it isn't as if my account is broken.
obviously the ftp functions as is won't work since ftp ports are probably closed. Look into that thread and sftp.