Bug #50543
mdel: ajouter la possibilité d'envoi et réception des fichiers vers un serveur SFTP
Début:
26 janvier 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
On a le code nécessaire pour le faire.
Et cela évitera de devoir taper des bouts de jobs cron dans publik-client-scripts
, etc.
Fichiers
Révisions associées
Historique
Mis à jour par Serghei Mihai il y a environ 3 ans
- Fichier 0002-mdel-add-SFTP-connection-options-to-send-and-receive.patch 0002-mdel-add-SFTP-connection-options-to-send-and-receive.patch ajouté
- Fichier 0001-mdel-make-connector-s-input-and-output-dirs-properti.patch 0001-mdel-make-connector-s-input-and-output-dirs-properti.patch ajouté
- Tracker changé de Support à Bug
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
L'usage des jobs pour envoyer et recevoir des fichiers vers un SFTP s'il est renseigné.
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
Dans get_response_files() si tu ne supprimes pas les fichiers à la source, tu vas les récupérer tout le temps.
Mis à jour par Serghei Mihai il y a environ 3 ans
- Fichier 0002-mdel-add-SFTP-connection-options-to-send-and-receive.patch 0002-mdel-add-SFTP-connection-options-to-send-and-receive.patch ajouté
Par pré-caution je préfère ne pas les supprimer mais plutôt ne pas les télécharger.
Branche et patch à jour.
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Dernière remarque, pour éviter les fichiers partiellement téléchargés :
from passerelle.utils.files import atomic_write with atomic_write(output_file) as fd: client.getfo(filename, fd)
Mis à jour par Serghei Mihai il y a environ 3 ans
- Fichier 0002-mdel-add-SFTP-connection-options-to-send-and-receive.patch 0002-mdel-add-SFTP-connection-options-to-send-and-receive.patch ajouté
Ok, branche à jour. Je pousserai lundi.
Mis à jour par Serghei Mihai il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
Pas besoin d'attendre lundi.
commit 04a60e646094b616828a85199297a5f70e8cb8a6files-to-remote-sftp) Author: Serghei Mihai <smihai@entrouvert.com> Date: Tue Jan 26 11:30:44 2021 +0100 mdel: add SFTP connection options to send and receive demand file (#50543) commit 76b93012688f03f208fbb0f3f118e51212a556e2 Author: Serghei Mihai <smihai@entrouvert.com> Date: Tue Jan 26 11:32:12 2021 +0100 mdel: make connector's input and output dirs properties
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
mdel: add SFTP connection options to send and receive demand file (#50543)