rename (wodSFTP / wodSFTP.NET / wodSFTPdll)
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 ...