Transferencias, formatos
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user