rename - WeOnlyDo Discussion board

rename (wodSFTP / wodSFTP.NET / wodSFTPdll)

by ssteam, Monday, October 16, 2006, 15:10 (6423 days ago)

I have a rename problem ..
when login user-id OK , after put file , then I change filename with Rename Function , but it have a error ...

(1) when user login , Home_diractory = / , Rename Function is OK ...
(2) when user login , Home_diractory = /home/act , Rename Function is not OK ,

I understand this error is what , i can how to modify the error ..

Source Code :
ftp.login = aaa
ftp.password = 123
ftp.port = 21
ftp.connect
msgbox ftp.RemotePath (/home/act)

ftp.PutFile( aa.txt ,ftp.RemotePath)
ftp.Rename(ftp.RemotePath & bb.txt ,ftp.RemotePath & aa.txt )

then it happen a error ...


Complete thread:

 

  • rename - ssteam, 2006-10-16, 15:10 [*]