Israphil Posted March 1, 2013 Share Posted March 1, 2013 Hello les inpactiens, Voilà je commence un site web, et j'ai choisi de m’héberger sur 1&1. J'ai mis mon site en ligne et tout, tout va bien mais voilà j'ai une question simple (je pense), comment obtenir une adresse web direct qui permet de télécharger un fichier directement si je partage ce lien? J'ai une partie pour gérer mon FTP sur 1&1, je peux télécharger le fichier mais impossible d'obtenir l'adresse direct pour d'autres utilisateurs. Quelqu'un sait comment faire? Merci d'avance! Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2013 Share Posted March 1, 2013 Hello, Tu charge les fichiers dans ton dossier www. ensuite tu prend le nom qui se trouve après en remplaçant par ton nom de domaine. Link to comment Share on other sites More sharing options...
Israphil Posted March 1, 2013 Author Share Posted March 1, 2013 Merci pour la réponse rapide. Donc en gros je crée un dossier www. Ensuite je met un fichier disons "plop.docx". L'adresse sera : www.monnomdedomaine.com/plop.docx? Link to comment Share on other sites More sharing options...
Sp3ud Posted March 1, 2013 Share Posted March 1, 2013 Ou sinon Un répertoire "fichiers" www.tonnomdedomaine.com/fichiers/text.doc Link to comment Share on other sites More sharing options...
Kori Posted March 1, 2013 Share Posted March 1, 2013 Sans oublier de donner les droits, selon la config du ftp ça peut coincer. Link to comment Share on other sites More sharing options...
Sp3ud Posted March 1, 2013 Share Posted March 1, 2013 Donc si je raconte pas de connerie, tu chmod en 777 ?! Link to comment Share on other sites More sharing options...
Kori Posted March 1, 2013 Share Posted March 1, 2013 Vi de mémo c'est ça Link to comment Share on other sites More sharing options...
Israphil Posted March 2, 2013 Author Share Posted March 2, 2013 C'était tout simple en fait. Merci beaucoup ! Link to comment Share on other sites More sharing options...
Kori Posted March 2, 2013 Share Posted March 2, 2013 Nickel Link to comment Share on other sites More sharing options...
RaphAstronome Posted March 2, 2013 Share Posted March 2, 2013 Accessoirement on met pas les droits 777, c'est bien trop large ca veut dire que tout le monde peut lire, modifier et exécuter le fichier ! Cela peut changer selon les hébergeurs, généralement les droits par défaut lors de l'envoi en FTP sont ok. Chez OVH c'est 705 pour un dossier et 604 pour un fichier. Link to comment Share on other sites More sharing options...
Kori Posted March 2, 2013 Share Posted March 2, 2013 Là c'est pour mettre un fichier en autorisation de dl. Après effectivement on affine surtout pour éviter qu'il soit modifié. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.