Hi,
I want to move all files from a FTP folder to another folder in teh same FTP server. I do not want to keep files in the source folder after moving the files. 
Here's my code 
            try
            {
               string ftpuri = "ftp://ftp.mysite.net";
                string username = "yourname";
                string password = "password";
                ftpfrompath = "db/";
                FtpWebRequest ftpReq = (FtpWebRequest)WebRequest.Create(ftpuri + "/Temp/");
                ftpReq.Credentials = new NetworkCredential(username, password);
                ftpReq.Method = WebRequestMethods.Ftp.Rename;
                ftpReq.RenameTo = "/myapps/"; // this will move the file in same folder
                FtpWebResponse ftpResp = (FtpWebResponse)ftpReq.GetResponse();
            }
            catch (WebException ex)
            {
                string status = ex.Message;
            }
I am getting a wrong URL