Re: rename (General questions)
Thanks !! I testing OK ..
Hi ,
Probably RemotePath Property changed from /home/act after you call PutFile Method to /home/act/aa.txt and your code isn't working.You can try on this way:
-------------------------------------------------------
Set dlx1 = New wodFtpDLXCom
Dim a As Stringdlx1.HostName = your_server_name
dlx1.Login = your_login
dlx1.Password = your_password
dlx1.Blocking = True
dlx1.Connecta = dlx1.RemotePath
dlx1.PutFile c:\aa.txt , a & /aa.txt
dlx1.Rename a & /bb.txt , a & /aa.txt
-------------------------------------------------------Or you can try to use full path, without using RemotePath Property:
-------------------------------------------------------
Set dlx1 = New wodFtpDLXComdlx1.HostName = your_server_name
dlx1.Login = your_login
dlx1.Password = your_password
dlx1.Blocking = True
dlx1.Connectdlx1.PutFile c:\aa.txt , /home/act/aa.txt
dlx1.Rename /home/act/bb.txt , /home/act/aa.txt
-------------------------------------------------------More help for RemotePath Property you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~RemotePath.htmlLet us know how it goes.
Regards,
Drazen
Complete thread:
- rename - ssteam, 2006-10-16, 15:10
- Re: rename - wodDrazen, 2006-10-16, 15:54
- Re: rename - ssteam, 2006-10-17, 05:10
- Re: rename - wodDrazen, 2006-10-16, 15:54