Transfert de fichiers entre serveurs

Bonsoir,
Je cherche un script qui me permettrait de transférer des fichier par glisser-déposer entre 2 serveurs distants sans passer en local au passage.

Je possède 2 serveurs dans un datacenter. Je souhaite pouvoir transférer des fichiers de l’un à l’autre via une interface graphique plutôt simple d’usage de préférence et pouvoir gérer ça directement via un navigateur web.

Je suis prêt à mettre les mains dans le camboui pour réaliser un tel projet mais si vous connaissiez un programme déjà existant je préfèrerais.

Si ma question n’est pas claire n’hésitez pas à poser des questions.

En graphique, ptet FileZilla ?

Tu n’échappera pas à une copie locale du fichier.

Je connais pas d’outils graphique pour faire ça.

Gigolo avec SSH ?

(En ligne de commande scp marche pourtant très bien)

Filezilla passe le fichier en local. Il faudrait plutôt un client FXP je pense ce qui permet de faire ça. Sous Windows apparemment il existe FTP Rush mais vu que j’utilise Ubuntu il me faudra en trouver un autre.

@debianhadic j’ai dis en graphique en ligne de commande je sais déjà faire. ^^

Sinon je vais me coder ça en PHP avec mes petits doigts.

Tu as regardé Gigolo ?

Je suis entrain d’essayer Gigolo mais j’arrive pas à l’installer.

Je télécharge les sources car il n’existe pas en deb.

[code]gigolo-0.4.2$ ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking whether make supports nested variables… yes
checking whether UID ‘1000’ is supported by ustar format… yes
checking whether GID ‘1000’ is supported by ustar format… yes
checking how to create a ustar tar archive… gnutar
checking whether make supports nested variables… (cached) yes
checking for style of include used by make… GNU
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking whether gcc understands -c and -o together… yes
checking dependency style of gcc… gcc3
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… no
checking whether it is safe to define EXTENSIONS… yes
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ISO C89… (cached) none needed
checking whether gcc understands -c and -o together… (cached) yes
checking dependency style of gcc… (cached) gcc3
checking whether ln -s works… yes
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for GTK… no
configure: error: Package requirements (gtk±2.0 >= 2.12.0 gio-2.0 >= 2.16.0 x11) were not met:

No package ‘gtk±2.0’ found
No package ‘gio-2.0’ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[/code]

Du coup j’essaye d’installer gtk±3.8.9 qui semble être la dernière version
Qui lui-même me répond :

[code]/gtk±3.8.9$ ./configure --prefix=/opt/gtk
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking target system type… x86_64-unknown-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking whether make supports nested variables… yes
checking whether UID ‘1000’ is supported by ustar format… yes
checking whether GID ‘1000’ is supported by ustar format… yes
checking how to create a ustar tar archive… gnutar
checking whether to enable maintainer-specific portions of Makefiles… yes
checking whether make supports nested variables… (cached) yes
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for style of include used by make… GNU
checking dependency style of gcc… gcc3
checking how to run the C preprocessor… gcc -E
checking for gcc… gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… (cached) none needed
checking dependency style of gcc… (cached) gcc3
checking how to run the C preprocessor… gcc -E
checking whether gcc and cc understand -c and -o together… yes
checking whether make sets $(MAKE)… (cached) yes
checking for native Win32… no
checking for c++… c++
checking whether we are using the GNU C++ compiler… yes
checking whether c++ accepts -g… yes
checking dependency style of c++… gcc3
checking how to print strings… printf
checking for a sed that does not truncate output… /bin/sed
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for fgrep… /bin/grep -F
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking whether ln -s works… yes
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format… func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format… func_convert_file_noop
checking for /usr/bin/ld option to reload object files… -r
checking for objdump… objdump
checking how to recognize dependent libraries… pass_all
checking for dlltool… no
checking how to associate runtime and link libraries… printf %s\n
checking for ar… ar
checking for archiver @FILE support… @
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking for sysroot… no
checking for mt… mt
checking if mt is a manifest tool… no
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… yes
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… no
checking how to run the C++ preprocessor… c++ -E
checking for ld used by c++… /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld… yes
checking whether the c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking for c++ option to produce PIC… -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works… yes
checking if c++ static flag -static works… yes
checking if c++ supports -c -o file.o… yes
checking if c++ supports -c -o file.o… (cached) yes
checking whether the c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking dynamic linker characteristics… (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for special C compiler options needed for large files… no
checking for _FILE_OFFSET_BITS value needed for large files… no
checking dependency style of gcc… gcc3
checking for nm… /usr/bin/nm -B
checking for some Win32 platform… no
checking whether build environment is sane… yes
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for BASE_DEPENDENCIES… no
configure: error: Package requirements (glib-2.0 >= 2.35.3 atk >= 2.7.5 pango >= 1.32.4 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.27.1) were not met:

No package ‘glib-2.0’ found
No package ‘atk’ found
No package ‘pango’ found
No package ‘cairo’ found
No package ‘cairo-gobject’ found
No package ‘gdk-pixbuf-2.0’ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[/code]

Faut-il vraiment que je continue à installer toutes les dépendances à la main ?
J’ai l’impression que ça va durer la journée cette histoire.

S’il existe une solution plus simple style apt-get install gigolo qui se charge du reste franchement je préfèrerais.

Oui il te faut les autres -dev.

Aucune idée de si Gigolo existe en .deb, enfin, maintenant si … packages.debian.org/stable/xfce/gigolo

J’ai fais un coup de apt-get install gigolo ça marche.

Par contre ça transite via mon PC ça gère pas tout à distance.

J’ai cherché des clients FTP/FXP mais ni gFTP, ni KFTPGrabber ne fonctionne en FXP. J’ai vu CrossFTP mais il me fait peur avec les messages d’erreurs.

J’en suis toujours au point de départ sans avoir avancer d’un milimètre du coup.

Quelles sont elles ?

En voulant té répondre à cette question j’ai refait la procédure d’installation.
Aujourd’hui le logiciel est marqué comme Gratuit mais le lien dont hier été Installer est devenu aujourd’hui Acheter.

Du coup après faudrait renseigner son numéro de CB et tout ça enfin rien qui vaille.
Je pense que ça doit être un sacré attrape nigaud ce logiciel.

Finalement même au pire je l’essayerais pas.

[quote=“debuntu”]J’ai fais un coup de apt-get install gigolo ça marche.

Par contre ça transite via mon PC ça gère pas tout à distance.

J’ai cherché des clients FTP/FXP mais ni gFTP, ni KFTPGrabber ne fonctionne en FXP. J’ai vu CrossFTP mais il me fait peur avec les messages d’erreurs.

J’en suis toujours au point de départ sans avoir avancer d’un milimètre du coup.[/quote]

Gftp supporte le protocole FXP, je n’ai pas la possibilité actuellement de test sur mes serveurs.

Quel sont les messages d’erreur lorsque tu utilise gftp ?

gftp.org/

En réalité il faut que FXP soit activer sur tous les serveurs pour que ça marche. C’est pas le genre d’option qu’on trouve par défaut. Les serveurs sont chez OVH et ce dernier n’active pas FXP.
Voilà pourquoi en fait ça ne marche pas.

Alors finalement sans doute que les softs fonctionnent mais pas avec mes serveurs.

Je vais faire à l’ancienne en programmant ce dont j’ai besoin et puis c’est tout.

Jamais mieux servi que par soi-même.

[quote=“debuntu”]En réalité il faut que FXP soit activer sur tous les serveurs pour que ça marche. C’est pas le genre d’option qu’on trouve par défaut. Les serveurs sont chez OVH et ce dernier n’active pas FXP.
Voilà pourquoi en fait ça ne marche pas.

Alors finalement sans doute que les softs fonctionnent mais pas avec mes serveurs.

Je vais faire à l’ancienne en programmant ce dont j’ai besoin et puis c’est tout.

Jamais mieux servi que par soi-même.[/quote]

si t’a deux serveurs dédiés, il est où le problème ?

On parle bien de deux serveurs et pas d’hébergement mutualisé ?

Non on parle d’un mélange de dédiés et d’hébergements mutualisés. Je ne pensais pas utile de le préciser au début maintenant je sais que ça l’était.

En hiver :laughing:

Faute corrigée. Je me suis posé la question en l’écrivant d’ailleurs.