Rename now working for FTP

This commit is contained in:
Matt Pass
2015-08-19 07:07:31 +01:00
parent b1df1e8403
commit f38e984b31
2 changed files with 37 additions and 12 deletions

View File

@@ -77,6 +77,12 @@ function ftpMkDir($ftpConn, $perms, $dir) {
}
}
// Rename a dir/dile over FTP
function ftpRename($ftpConn, $oldPath, $newPath) {
// Return success status of rename
return ftp_rename($ftpConn, $oldPath, $newPath);
}
// Change dir/file perms over FTP
function ftpPerms($ftpConn, $perms, $filePath) {
// Return success status of perms change