Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Internet
Registrarse FAQ Miembros Calendario Guía de estilo Buscar Temas de Hoy Marcar Foros Como Leídos

Colaboración Paypal con ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #6  
Antiguo 06-06-2004
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Poder: 30
jachguate Va por buen camino
Cool

Cita:
Empezado por JCR
Lo que yo quiero es hacer un servidor al cual me pueda conectar con cualquier cliente de Ftp.
Pues el idftpServer es ya un servidor hecho, en cuanto al protocolo se refiere (esto ya lo dije antes... no?).

Una vez has botado el componente en tu forma, vas programando los eventos para los comandos recibidos en el servidor.

Por ejemplo:

OnDeleteFile u OnListDirectory.

Alli le darás la funcionalidad sobre los ficheros del servidor.

Cita:
Empezado por indy help
Description
OnDeleteFile is a TOnFileEvent property that represents the event handler signalled when the FTP server needs to remove a file located on the server file system. OnDeleteFile is used in the FTP DELE command event handler, and allows the server to perform the platform-specific API calls needed to delete the file specified in AFilename.


[b]Note:[b] Applications must assign a procedure to the event handler to allow responding to the event notification. When an event handler has not been assigned, the message specified in RSFTPFileActionNotTakenand with a numeric result code of 550 is sent to the client connection.
.

Esto es aplicable para el resto de eventos que deben hacer operaciones sobre los ficheros.

Hasta luego.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita
 


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 19:00:16.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi