예제 #1
0
        public void TestDirectoryCreationLocal()
        {
            //  83.10.110.250
            FtpServer server = new FtpServer("192.168.1.1", "/FTP/ET - Prazan stan.mp3");
            FtpUser user = new FtpUser("robson", "4019551", server);

            user.GoToOrCreatePath("FTP/folder4/filder4_2/");
            CommonFile file = new CommonFile(@"C:\Users\Robson\Desktop\Test_FTP_dll\ET - Prazan stan.mp3");
            user.UploadFile(file);
        }
예제 #2
0
        public void TestDirectoryCreation()
        {
            //  83.10.110.250
            FtpServer server = new FtpServer("91.219.122.70", "/FTP/ET - Prazan stan.mp3");
            FtpUser user = new FtpUser("robson081192", "pck5LT099r", server);

            user.GoToOrCreatePath("FTP/folder4/filder4_2/");
            CommonFile file = new CommonFile(@"C:\Users\Robson\Desktop\Test_FTP_dll\ET - Prazan stan.mp3");
            user.UploadFile(file);
        }