Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > Harm's scripts

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread
Old 11-16-2005, 06:36 PM   #1
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 850
Default moverls problem

Im having a problem when using the moverls command. first let me give example of setup.

ftp root is on d:\FTP
second on c:\test

now lets say i have a dir called "move.test" on root dir and want to move to /test/

(11:35:35) [2] SITE MOVERLS move.test /test/
(11:35:36) [2] 200-Couldn't create target directory 'D:\FTP\test\move.test'.
(11:35:36) [2] 200-Error: 3
(11:35:36) [2] 200 Command successful.

as u can see it persist on adding the wrong hdd path, why?
MidKnight is offline   Reply With Quote
Old 11-17-2005, 05:33 PM   #2
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2003
Posts: 40
Default

How is your VFS setup?

You said your root is d:\FTP so unless c:\test is setup in VFS as c:\test /test then /test will be d:\ftp\test. To me it looks like it is selecting the right path. Thought I don't think you can move a folder from a VFS on one drive to a VFS that's on another drive.

I could be wrong though...
eger is offline   Reply With Quote
Old 11-17-2005, 05:39 PM   #3
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 850
Default

yep VFS is set like that. and you can move dir/ around to differant partitions/HDD, as thats what its for. i have it working fine on one server here, but i get that error on another
MidKnight is offline   Reply With Quote
Old 11-18-2005, 09:34 AM   #4
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 2,022
Default

Post your vfs. Both default and admin
Mouton is offline   Reply With Quote
Old 11-18-2005, 03:19 PM   #5
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

Is the line related to this directory the latest of your vfs file ? If so, make sure you have an empty newline at the end of the file.
Harm is offline   Reply With Quote
Old 11-18-2005, 06:02 PM   #6
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 850
Default

only have one VFS file like this

"d:\FTP" /
"c:\test" /test

Harm, not sure i follow what u mean?
MidKnight is offline   Reply With Quote
Old 11-18-2005, 06:21 PM   #7
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

It's a bit hard to explain it clearly actually. I'll use an example instead.

Code:
"d:\FTP" /
"c:\test" /test
<empty line here>
That should fix your problem.. amazing, isn't it ?
Harm is offline   Reply With Quote
Old 11-18-2005, 06:26 PM   #8
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 850
Default

thought thats what u meant, but yes i tried "enter" on next line and saved the vfs file after that, but still the same thing.. for whatever reason it persist on added the root mount point in no matter what paths i try

D:\FTP\test\move.test'.

see it always added the "D:\FTP" part, when really that dir test is on C
MidKnight is offline   Reply With Quote
Old 11-18-2005, 06:30 PM   #9
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 850
Default

wOOT, i reboot io and its working, thanks Harm
MidKnight is offline   Reply With Quote
Old 11-18-2005, 06:30 PM   #10
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

That's odd. It might be because it's the top level directory... I'll make a stand-alone version of the new moverls command if you only need this one because I can't fix the one included in ioBanana v20.
Harm is offline   Reply With Quote
Old 02-12-2006, 05:01 PM   #11
Junior Member
ioFTPD Foundation User
 
Join Date: Jan 2004
Posts: 10
Default

Quote:
Originally Posted by Harm
That's odd. It might be because it's the top level directory... I'll make a stand-alone version of the new moverls command if you only need this one because I can't fix the one included in ioBanana v20.
that will be handy here
thx harm
|Killer|999 is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 11:14 PM.