triplexim32 Posted October 20, 2009 at 05:54 PM Report Share #292567 Posted October 20, 2009 at 05:54 PM Alguém sabe como faço um cliente FTP com ssl? Ou alguem tem um ja feito? ja procurei e encontrei um mas nao tem SSL --- alguma dica? < Link to comment Share on other sites More sharing options...
fnds Posted October 20, 2009 at 06:56 PM Report Share #292572 Posted October 20, 2009 at 06:56 PM Servidor? Link to comment Share on other sites More sharing options...
triplexim32 Posted October 20, 2009 at 10:43 PM Author Report Share #292629 Posted October 20, 2009 at 10:43 PM Servidor? noup, cliente de FTP < Link to comment Share on other sites More sharing options...
fnds Posted October 21, 2009 at 01:21 PM Report Share #292696 Posted October 21, 2009 at 01:21 PM Filezilla não dá? Ele até suporta sftp. Link to comment Share on other sites More sharing options...
triplexim32 Posted October 21, 2009 at 04:24 PM Author Report Share #292735 Posted October 21, 2009 at 04:24 PM Filezilla não dá? Ele até suporta sftp. o filezila é feito em que lingua? < Link to comment Share on other sites More sharing options...
fnds Posted October 21, 2009 at 07:09 PM Report Share #292768 Posted October 21, 2009 at 07:09 PM wxWidgets em C++ Link to comment Share on other sites More sharing options...
triplexim32 Posted October 22, 2009 at 10:56 PM Author Report Share #292958 Posted October 22, 2009 at 10:56 PM wxWidgets em C++ pois mas surge um problema, direitos GNU blablabla.... queria mesmo saber como fazer ssl :\ < Link to comment Share on other sites More sharing options...
IceBrain Posted October 23, 2009 at 12:45 AM Report Share #292965 Posted October 23, 2009 at 12:45 AM http://tools.ietf.org/html/rfc4217 ❝The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.❞- John Carmack on software patents A list of command line apps Link to comment Share on other sites More sharing options...
triplexim32 Posted October 23, 2009 at 01:27 PM Author Report Share #293005 Posted October 23, 2009 at 01:27 PM http://tools.ietf.org/html/rfc4217 nao percebi ? < Link to comment Share on other sites More sharing options...
apocsantos Posted October 23, 2009 at 01:39 PM Report Share #293006 Posted October 23, 2009 at 01:39 PM nao percebi ? Request for Coments (RFC 4217 Securing FTP with TLS) Aqui neste texto tens explicado o funcionamento de FTP em modo seguro , apartir daqui podes ler atentamente todo o texto e perceber como configurar o servidor FTP e o Cliente FTP para funcionar em modo Seguro, uma vez que TLS tal como SSL encriptam as conecções em ambos os extremos (portos) da ligação. Agora não faz mal nenhum passar umas boas horinhas a ler o RFC, afinal ler nunca é demais! "A paciência é uma das coisas que se aprendeu na era do 48k" O respeito é como a escrita de código, uma vez perdido, dificilmente se retoma o habito" Link to comment Share on other sites More sharing options...
triplexim32 Posted October 24, 2009 at 04:33 PM Author Report Share #293190 Posted October 24, 2009 at 04:33 PM Request for Coments (RFC 4217 Securing FTP with TLS) Aqui neste texto tens explicado o funcionamento de FTP em modo seguro , apartir daqui podes ler atentamente todo o texto e perceber como configurar o servidor FTP e o Cliente FTP para funcionar em modo Seguro, uma vez que TLS tal como SSL encriptam as conecções em ambos os extremos (portos) da ligação. Agora não faz mal nenhum passar umas boas horinhas a ler o RFC, afinal ler nunca é demais! Mas eu queria aprender código para fazer em c#, a teoria não me vai ajudar a fazer só a perceber como funciona. 😛 não encontro nada no Google ja feito 😄 < Link to comment Share on other sites More sharing options...
IceBrain Posted October 24, 2009 at 04:50 PM Report Share #293191 Posted October 24, 2009 at 04:50 PM Portanto tu queres código já feito, na linguagem que tu queres, numa licença para que tu possas pegar no código e fechá-lo, e à borla. Good luck with that. ❝The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.❞- John Carmack on software patents A list of command line apps Link to comment Share on other sites More sharing options...
triplexim32 Posted October 24, 2009 at 08:06 PM Author Report Share #293219 Posted October 24, 2009 at 08:06 PM Portanto tu queres código já feito, na linguagem que tu queres, numa licença para que tu possas pegar no código e fechá-lo, e à borla. Good luck with that. eu nao tava a pedir um FTP feito, tava a pedir ajuda com o código -.-' Quando e que vocês deixam de ser assim ? Diz-me uma coisa: Quando precisas de ajuda de um colega teu ou de um professor eles põe-te a ler artigos? Eu sei o que é SSL, agora saber e uma coisa, chamar o SSL para funcionar no teu aplicativo é outra... Pah se eu chegasse aqui e dissesse: Façam-me um FTP com SSL que de para fazer pausa nos ficheiros, que de para listar\apagar alterar ficheiros etc etc... Ai tinhas toda a razão de te queixares. Não há um post num qualquer tópico em que não façam um extracto parvo de: Se queres feito desimerda-te grande ajuda :nono1: < Link to comment Share on other sites More sharing options...
apocsantos Posted October 24, 2009 at 08:32 PM Report Share #293227 Posted October 24, 2009 at 08:32 PM Bem vou jantar e já volto.... Nos entretantos aproveita e puxa da net o componente Chilkat .NET for 2.0 Abaixo tens o link paa o dito componente: http://www.chilkatsoft.com/download/ChilkatDotNet2.msi Quando voltar deixo-te aqui codigo para fazeres o cliente de FTP Secure em C# porque ainda tenho de acabar de o escrever. "A paciência é uma das coisas que se aprendeu na era do 48k" O respeito é como a escrita de código, uma vez perdido, dificilmente se retoma o habito" Link to comment Share on other sites More sharing options...
apocsantos Posted October 24, 2009 at 10:21 PM Report Share #293248 Posted October 24, 2009 at 10:21 PM private void button13_Click(object sender, System.EventArgs e) { Chilkat.Ftp2 ftp = new Chilkat.Ftp2(); ftp.UnlockComponent("anything for 30-day trial"); bool success; success = ftp.UnlockComponent("Anything for 30-day trial"); if (!success) { MessageBox.Show(ftp.LastErrorText); return; } ftp.AuthTls = true; ftp.Ssl = false; ftp.Hostname = "ftp.localhost.int"; ftp.Username = "user"; ftp.Password = "ftppass"; ftp.KeepSessionLog = true; success = ftp.Connect(); if (!success) { MessageBox.Show(ftp.LastErrorText); return; } ftp.ClearControlChannel(); string localFilename = "file1.txt"; string remoteFilename = "file1.txt"; success = ftp.PutFile(localFilename, remoteFilename); if (!success) { MessageBox.Show(ftp.LastErrorText); return; } MessageBox.Show(ftp.LastErrorText); localFilename = "file1_downloaded.txt"; success = ftp.GetFile(remoteFilename, localFilename); if (!success) { MessageBox.Show(ftp.LastErrorText); return; } ftp.Disconnect(); textBox3.Text = ftp.SessionLog; } Código baseado em codigo exemplo de FTP TLS Chilkat Boa Sorte, e bom estudo. "A paciência é uma das coisas que se aprendeu na era do 48k" O respeito é como a escrita de código, uma vez perdido, dificilmente se retoma o habito" Link to comment Share on other sites More sharing options...
Triton Posted October 24, 2009 at 10:35 PM Report Share #293250 Posted October 24, 2009 at 10:35 PM http://www.google.com/search?q=c%23+ssl+ftp Será assim tão difícil usar o Google primeiro para ver se existe o que tu queres? Assim não chateias ninguém com dúvidas simples de responder com o Google... <3 life Link to comment Share on other sites More sharing options...
triplexim32 Posted October 25, 2009 at 12:02 AM Author Report Share #293265 Posted October 25, 2009 at 12:02 AM Código baseado em codigo exemplo de FTP TLS Chilkat Boa Sorte, e bom estudo. tenho uma divida: Esta classe não é trial? Não vou ter problemas depois com os utilizadores do meu programa em ficarem com o programa não funcional? Obrigado pela ajuda 😛 -- Triton: o que encontrei foram varias paginas referentes a esta classe acima dada pelo apocsantos. Já tinha perdido bastante tempo à procura de um programa em c# dai ter vindo aqui pedir ajuda 😄 < Link to comment Share on other sites More sharing options...
IceBrain Posted October 25, 2009 at 12:05 AM Report Share #293266 Posted October 25, 2009 at 12:05 AM É, depois tens que pagar 150$ por uma licença. ❝The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.❞- John Carmack on software patents A list of command line apps Link to comment Share on other sites More sharing options...
apocsantos Posted October 25, 2009 at 05:30 PM Report Share #293307 Posted October 25, 2009 at 05:30 PM Num programa de nivel proficional eu considero os 150$ um investimento. Tal como se paga pelos compiladores. Em alternativa tens um bom exemplo de uma implementação sem recurso a ferramentas pagas neste link http://www.codeproject.com/KB/IP/FTP_Secure.aspx. É chatinho de fazer funcionar mas funciona. "A paciência é uma das coisas que se aprendeu na era do 48k" O respeito é como a escrita de código, uma vez perdido, dificilmente se retoma o habito" Link to comment Share on other sites More sharing options...
triplexim32 Posted October 25, 2009 at 06:49 PM Author Report Share #293318 Posted October 25, 2009 at 06:49 PM ok vou ver no que da, obrigado pela ajuda 😛 < Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now