View Single Post
Old 03-18-2007, 12:22 PM  
lemonstar
Member
 
Join Date: Dec 2004
Posts: 32
Default

Quote:
Originally Posted by tuff View Post
copy and paste this into a file of your choice, then config your ioftpd.ini for a command for it

proc ioMOVERLS {} {
global args pwd path iomove
if {![info exists args]} {iputs "Usage: site moverls directoy /to/where"; return}
if {![string match "*/*" [lindex $args 0]]} {set name "$pwd[lindex $args 0]"} else {set name [lindex $args 0]}
set realdir [resolve pwd $name]
catch {set temp [client kill virtualpath "$name/*"]} temp
catch {file rename -force -- "[resolve pwd $pwd]/[lindex $args 0]" "[resolve pwd [lindex $args end]]/[lindex $args 0]"} error
if {$error != ""} {iputs "$error"}
}
ioMOVERLS
well iam stocking here, do i have to create a esspecially file for example iomove.itcl and copy all this into it. and then create a command for it in ioftpd so iam able to execute this file?

#edit:

well it works as u wrote. is there another method possible? iam talking about the nice drop and move feature u normaly have

Last edited by lemonstar; 03-18-2007 at 12:44 PM.
lemonstar is offline   Reply With Quote