Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 05-06-2004, 03:23 PM   #1
Ofloo
Member
 
Join Date: Jun 2003
Posts: 43
Default [TCL] Renaming a file on PRE STOR

i got this under pre

PHP Code:
[FTP_Pre-Command_Events]

stor TCL ..\scripts\ioSfv\ioSfv.tcl sfvstore 
i want to rename from filename.incomplete to filename

for some reason this doesn't seem to be working anyone any ideas ??

i think its the pre thing .. cause

PHP Code:
--------------------------- ErrorInfo ----------------------------
error renaming "..\site\test\15[.mp3.incomplete" to "..\site\test\15[.mp3"file already exists
    
while executing
"file rename -- $path\\[lindex $arg end].incomplete $path\\[lindex $arg end]"
    
(procedure "sfvstore" line 6)
    
invoked from within
"sfvstore "$args""
    
invoked from within
"if {[info exists args]} {
  if {[string match -nocase sfvcheck [lindex 
$args 0]]} { 
Ofloo is offline  
 

Tags
$arg, $args, file, pre, sfvstore


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:18 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)