Transferencias, formatos

This commit is contained in:
Oscar Irigoyen
2023-04-20 16:11:09 -07:00
parent f64024ef52
commit f2957225fc
10 changed files with 3732 additions and 4035 deletions

View File

@@ -26,7 +26,7 @@ public class TareasJam : IHttpHandler
switch (Metodo)
{
case "TestConexion":
retorno = PruebaConexionFTP("ftp://thalamus.exavault.com", "agrojam", "A12345678");
retorno = PruebaConexionFTP("ftp://ftp.thalamuslive.com", "agrojam", "A12345678");
break;
case "EjecutaThalamus":
@@ -112,7 +112,7 @@ public class TareasJam : IHttpHandler
//string FTPPass = "agj-3500";
string FTPServer = "ftp://thalamus.exavault.com";
string FTPServer = "ftp://ftp.thalamuslive.com";
string TFPUsr = "agrojam";
string FTPPass = "A12345678";
@@ -677,7 +677,7 @@ public class TareasJam : IHttpHandler
{
bool Respuesta = false;
FtpWebRequest request =(FtpWebRequest)WebRequest.Create($"{FTPServer}/Test.log");
FtpWebRequest request =(FtpWebRequest)WebRequest.Create($"{FTPServer}/clientes/Test.xlsx");
request.Method = WebRequestMethods.Ftp.ListDirectory;
request.Credentials = new NetworkCredential(FTPUsr, FTPPass);