Eroni Posted May 5, 2015 Report Share Posted May 5, 2015 Bom dia, alguem sabe me informar o por quê do exemplo abaixo não funcionar? Pior que testei e funcionava, de repente não funciona mais, será alguma coisa do Windows 8? Abraços. // Testing the FiveWin new Internet Classes#include "FiveWin.ch"//----------------------------------------------------------------------------//function Main() local oInternet := TInternet():New()// local oFTP := TFTP():New( "ftp.microsoft.com", oInternet ) // Microsoft FTP local oFTP := TFTP():New( "www.cratus.net.br", oInternet,"cratus","d92m57vt9835" ) local aFiles if ! Empty( oFTP:hFTP )// aFiles = oFTP:Directory( "*.*" ) aFiles = oFTP:Directory( "/public_html/*.*" ) AEval( aFiles, { | aFile | MsgInfo( aFile[ 1 ], aFile[ 3 ] ) } ) else MsgAlert( "oFTP:hFTP is null" ) endif oInternet:End() MsgInfo( "Done!" )return nil//----------------------------------------------------------------------------// Quote Link to comment Share on other sites More sharing options...
aferra Posted May 5, 2015 Report Share Posted May 5, 2015 pode ser o servidor onde está hospedado. servidores linux tem diferença entra maiúsculas e minusculas. Quote Link to comment Share on other sites More sharing options...
Eroni Posted May 5, 2015 Author Report Share Posted May 5, 2015 Obrigado Alessandro, mas isso tudo eu já chequei, inclusive testando o exemplo original, site microsoft. Quote Link to comment Share on other sites More sharing options...
Valdir Posted May 5, 2015 Report Share Posted May 5, 2015 Olá Eroni... Já tive e ainda, as vezes, tenho problemas com os Servidores de Internet quando se trata de FTP. Não sei porquê, do nada eles alteram as permissões das pastas e isso acarreta erros na troca de arquivos. Verifique com o seu provedor se não é esse o caso. abraços. Quote Link to comment Share on other sites More sharing options...
Eroni Posted May 5, 2015 Author Report Share Posted May 5, 2015 Olá, Valdir e a todos, o in acreditável aconteceu, simplesmente cheguei em casa e funcionou, todos os exemplos funcionando ok, só posso concluir é que deve ser alguma coisa na internet do meu escritorio, que é da mesma operadora, por sinal. Abraços a todos Quote Link to comment Share on other sites More sharing options...
Marca Posted May 6, 2015 Report Share Posted May 6, 2015 Heheheh Eroni ; Agora eu quero ver vc explicar isso ao cliente. Problemas como este é que são complicados de lidar. Quote Link to comment Share on other sites More sharing options...
aferra Posted May 6, 2015 Report Share Posted May 6, 2015 hehehe pois.é, ai o programa do vizinho não acontece ( ou não fala né? ) rsrsrsrsrsrs isso pode Arnaldo!!! rsrsrsrsrsrsrs Quote Link to comment Share on other sites More sharing options...
Eroni Posted May 6, 2015 Author Report Share Posted May 6, 2015 É isso tudo ai e mais um pouco, mas por sorte estou testando nos clientes e lá funciona também, então melhor deixar quieto..hehehe Abraços a todos. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.