Accueil > > > FTP EXPLORER
FTP EXPLORER
Information sur la source
Description
Vous êtes sur un autre ordinateur que vous, soit chez des amis ou dans un cybercafé ? Vous voulez ajouter, modifier, supprimer des fichiers ou des dossiers sur votre serveur FTP ? Pas de chance, vous n'avez pas de programmes sous la main comme des clients FTP (FileZilla, CuteFTP, FlashFXP. Etc...) pour accéder à votre serveur FTP Personnel ! Pas de problème => FTP Explorer est la solution pour transformer votre navigateur web ou bien votre windows explorer en client FTP !
Source
- Titre = "FTP EXPLORER © Hackoo © 2012"
- Set objIE = CreateObject( "InternetExplorer.Application" )
- objIE.Navigate "about:blank"
- objIE.Document.Title = Titre
- objIE.ToolBar = False
- objIE.Resizable = False
- objIE.StatusBar = False
- objIE.Width = 320
- objIE.Height = 380
- With objIE.Document.ParentWindow.Screen
- objIE.Left = (.AvailWidth - objIE.Width ) \ 2
- objIE.Top = (.Availheight - objIE.Height) \ 2
- End With
- Do While objIE.Busy
- WScript.Sleep 200
- Loop
- objIE.Document.Body.InnerHTML = "<div align=""center"">"_
- &"<p><h3 style='color:Red'>Nom Utilisateur "_
- & "<br><input type=""text"" style='color:Blue' size=""20"" "_
- & "id=""Login"" value=""USER LOGIN""></h3></p>"_
- & "</p><p><h3 style='color:Red'>Mot de passe<br><input type=""password"" "_
- &"style='color:Blue' value=""password"" size=""20"" "_
- & "id=""Password""></h3></p><p><input type=" _
- & """hidden"" id=""OK"" name=""OK"" value=""0"">" _
- & "<h3 style='color:Red'>Serveur FTP " _
- & "<br><input type=""text"" style='color:Blue' size=""20"" " _
- & "id=""FTPSERVER"" value=""ftp.membres.lycos.fr""></h3>"_
- & "<br><h3 style='color:Red'>Dossier Distant "_
- & "<br><input type=""text"" style='color:Blue' size=""20"" " _
- & "id=""DossierDistant"" value=""/""></h3></p>"_
- & "<input type=""submit"" value="" EXPLORER FTP "" " _
- & "onclick=""VBScript:OK.Value=1""></p></div>"
- objIE.Document.Body.Style.overflow = "auto"
- objIE.Document.body.style.backgroundcolor="lightGreen"
- objIE.Visible = True
- objIE.Document.All.Password.Focus
- On Error Resume Next
- Do While objIE.Document.All.OK.Value = 0
- WScript.Sleep 200
- If Err Then
- IELogin = Array( "", "" )
- objIE.Quit
- Set objIE = Nothing
- wscript.quit
- End if
- Loop
- On Error Goto 0
- Set ws = CreateObject("wscript.Shell")
- Login = objIE.Document.All.Login.Value
- Login = Replace(Login,"@","+")'Si le nom d'utilisateur contient le symbole @
- 'et que le navigateur Web ou bien l'explorateur Windows n'aime pas cela, on le substitue par le symbole +
- Password = objIE.Document.All.Password.Value
- FTPSERVER = objIE.Document.All.FTPSERVER.Value
- DossierDistant = objIE.Document.All.DossierDistant.Value
- URL = "ftp://"&Login&":"&Password&"@"&FTPSERVER&"/"&DossierDistant
- Connect2FTP = ws.run("Explorer "& URL ,1,False)
- objIE.Quit
- ws.Popup "Connexion à "&qq(FTPSERVER)&" est en cours......",3,_
- "Connexion à "&qq(FTPSERVER)&"est en cours......",64
- Set objIE = Nothing
- Set ws = Nothing
- Call Nettoyage()
-
- Sub Fermer(Process)
- Set Ws = CreateObject("Wscript.Shell")
- Command = "cmd /c Taskkill /F /IM "&Process&""
- Execution = Ws.Run(Command,0,True)
- End Sub
-
- Sub Ouvrir(Process)
- Set Ws = CreateObject("Wscript.Shell")
- Command = "cmd /c Start "&Process&""
- Execution = Ws.Run(Command,0,True)
- End Sub
-
- Function qq(strIn)
- qq = Chr(34) & strIn & Chr(34)
- End Function
-
- Sub Nettoyage()
- Dim Command(12)
- Set ws = CreateObject("wscript.Shell")
- '**********************************Commandes pour Windows XP et IE7***********************************************
- Command(0) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 255"'Supprimer l'historique
- Command(1) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 32"'Supprimer les Passwords enregistrés
- Command(2) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 1"
- Command(3) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 8"'Supprimer Les Fichiers temporaires
- Command(4) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 16" 'Supprimer Les données dans les Formulaires
- Command(5) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 2"'Supprimer Les Cookies
- Command(6) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 4351"'Supprimer Les fichiers stocké par les ADD-ONS
- '*****************************************************************************************************************
- '**********************************Commandes pour Windows Vista et Seven et IE8***********************************
- Command(7) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 449"'Supprimer l'historique
- Command(8) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 288"'Supprimer les Passwords enregistrés
- Command(9) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 2304"'Supprimer InPrivateData
- Command(10) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 264"'Supprimer Les Fichiers temporaires
- Command(11) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 272" 'Supprimer Les données dans les Formulaires
- Command(12) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 258"'Supprimer Les Cookies
- '*****************************************************************************************************************
- For Each strCommand In Command
- If Len(strCommand) > 0 Then
- Execution = ws.Run(strCommand,0,True)
- End If
- Next
- Fermer("IExplore.exe")
- 'Ouvrir("IExplore.exe")
- Set ws = Nothing
- End sub
Titre = "FTP EXPLORER © Hackoo © 2012"
Set objIE = CreateObject( "InternetExplorer.Application" )
objIE.Navigate "about:blank"
objIE.Document.Title = Titre
objIE.ToolBar = False
objIE.Resizable = False
objIE.StatusBar = False
objIE.Width = 320
objIE.Height = 380
With objIE.Document.ParentWindow.Screen
objIE.Left = (.AvailWidth - objIE.Width ) \ 2
objIE.Top = (.Availheight - objIE.Height) \ 2
End With
Do While objIE.Busy
WScript.Sleep 200
Loop
objIE.Document.Body.InnerHTML = "<div align=""center"">"_
&"<p><h3 style='color:Red'>Nom Utilisateur "_
& "<br><input type=""text"" style='color:Blue' size=""20"" "_
& "id=""Login"" value=""USER LOGIN""></h3></p>"_
& "</p><p><h3 style='color:Red'>Mot de passe<br><input type=""password"" "_
&"style='color:Blue' value=""password"" size=""20"" "_
& "id=""Password""></h3></p><p><input type=" _
& """hidden"" id=""OK"" name=""OK"" value=""0"">" _
& "<h3 style='color:Red'>Serveur FTP " _
& "<br><input type=""text"" style='color:Blue' size=""20"" " _
& "id=""FTPSERVER"" value=""ftp.membres.lycos.fr""></h3>"_
& "<br><h3 style='color:Red'>Dossier Distant "_
& "<br><input type=""text"" style='color:Blue' size=""20"" " _
& "id=""DossierDistant"" value=""/""></h3></p>"_
& "<input type=""submit"" value="" EXPLORER FTP "" " _
& "onclick=""VBScript:OK.Value=1""></p></div>"
objIE.Document.Body.Style.overflow = "auto"
objIE.Document.body.style.backgroundcolor="lightGreen"
objIE.Visible = True
objIE.Document.All.Password.Focus
On Error Resume Next
Do While objIE.Document.All.OK.Value = 0
WScript.Sleep 200
If Err Then
IELogin = Array( "", "" )
objIE.Quit
Set objIE = Nothing
wscript.quit
End if
Loop
On Error Goto 0
Set ws = CreateObject("wscript.Shell")
Login = objIE.Document.All.Login.Value
Login = Replace(Login,"@","+")'Si le nom d'utilisateur contient le symbole @
'et que le navigateur Web ou bien l'explorateur Windows n'aime pas cela, on le substitue par le symbole +
Password = objIE.Document.All.Password.Value
FTPSERVER = objIE.Document.All.FTPSERVER.Value
DossierDistant = objIE.Document.All.DossierDistant.Value
URL = "ftp://"&Login&":"&Password&"@"&FTPSERVER&"/"&DossierDistant
Connect2FTP = ws.run("Explorer "& URL ,1,False)
objIE.Quit
ws.Popup "Connexion à "&qq(FTPSERVER)&" est en cours......",3,_
"Connexion à "&qq(FTPSERVER)&"est en cours......",64
Set objIE = Nothing
Set ws = Nothing
Call Nettoyage()
Sub Fermer(Process)
Set Ws = CreateObject("Wscript.Shell")
Command = "cmd /c Taskkill /F /IM "&Process&""
Execution = Ws.Run(Command,0,True)
End Sub
Sub Ouvrir(Process)
Set Ws = CreateObject("Wscript.Shell")
Command = "cmd /c Start "&Process&""
Execution = Ws.Run(Command,0,True)
End Sub
Function qq(strIn)
qq = Chr(34) & strIn & Chr(34)
End Function
Sub Nettoyage()
Dim Command(12)
Set ws = CreateObject("wscript.Shell")
'**********************************Commandes pour Windows XP et IE7***********************************************
Command(0) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 255"'Supprimer l'historique
Command(1) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 32"'Supprimer les Passwords enregistrés
Command(2) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 1"
Command(3) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 8"'Supprimer Les Fichiers temporaires
Command(4) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 16" 'Supprimer Les données dans les Formulaires
Command(5) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 2"'Supprimer Les Cookies
Command(6) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 4351"'Supprimer Les fichiers stocké par les ADD-ONS
'*****************************************************************************************************************
'**********************************Commandes pour Windows Vista et Seven et IE8***********************************
Command(7) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 449"'Supprimer l'historique
Command(8) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 288"'Supprimer les Passwords enregistrés
Command(9) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 2304"'Supprimer InPrivateData
Command(10) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 264"'Supprimer Les Fichiers temporaires
Command(11) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 272" 'Supprimer Les données dans les Formulaires
Command(12) = "rundll32.exe %Windir%\system32\inetcpl.cpl,ClearMyTracksByProcess 258"'Supprimer Les Cookies
'*****************************************************************************************************************
For Each strCommand In Command
If Len(strCommand) > 0 Then
Execution = ws.Run(strCommand,0,True)
End If
Next
Fermer("IExplore.exe")
'Ouvrir("IExplore.exe")
Set ws = Nothing
End sub
Conclusion
Testé sous Windows XP SP2 Vos Commentaires et vos Remarques et surtout vos Notes sont les Bienvenues ! :) J'attends vos tests sous VISTA et SEVEN Merci !
Historique
- 12 août 2012 13:07:44 :
- - Ajout d'une fonction pour effacer l'historique,les cookies,les fichiers temporaires (internet temporary files), les URLs et les mots de passe tapées dans dans la barre d'adresses et stocké par le navigateur et l'explorateur de windows.
Sources du même auteur
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
CONF'SHAREPOINT : 10 BONNES RAISONS POUR NE PAS LA RATERCONF'SHAREPOINT : 10 BONNES RAISONS POUR NE PAS LA RATER par pierre
Si vous hésitez encore à venir à la conférence, ci-après 10 bonnes raisons pour ne pas rater cet évènement unique : La Conf'SharePoint, c'est la 1ère conférence en France et en Français dédié à SharePoint : pas de barrière de la langue La Conf...
Cliquez pour lire la suite de l'article par pierre [EVENT] SOIRéE DE LANCEMENT AGILE .NET FRANCE à LYON[EVENT] SOIRéE DE LANCEMENT AGILE .NET FRANCE à LYON par thavo
Agile.Net France débarque à Lyon fin juin !! Je viens d'arriver à Lyon, et l'Agile .Net France aussi. Pour ceux/celles qui habitent en Rhône-Alpes, seriez-vous disponible pour une soirée « Agile .Net France » ?? (je sais que certains vi...
Cliquez pour lire la suite de l'article par thavo SHAREPOINT : INCOMPATIBILITé AVEC INTERNET EXPLORER 10 (IE10)SHAREPOINT : INCOMPATIBILITé AVEC INTERNET EXPLORER 10 (IE10) par ROMELARD Fabrice
Depuis plusieurs mois, Microsoft a publié un patch (comme très régulièrement) qui est passé relativement inaperçu à l'époque. L'arrivée de plus en plus de postes sous Windows 8 et surtout le déploiement par Windows Update de ...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice AUTOSPINSTALLER POUR SHAREPOINT 2013 MAINTENANT DISPONIBLE EN "RTM"AUTOSPINSTALLER POUR SHAREPOINT 2013 MAINTENANT DISPONIBLE EN "RTM" par neodante
Alors qu'il n'était qu'en Beta et que quelques dysfonctionnements persistaient, la nouvelle version du fabuleux script AutoSPInstaller permettant d'installer SharePoint 2010/2013 en full script (idéal pour répliquer des fermes de dev/qual/prod) est mainte...
Cliquez pour lire la suite de l'article par neodante
Logiciels
Devis-Factures PHMSD (2.1.0.1)DEVIS-FACTURES PHMSD (2.1.0.1)Configuration minimale
Nécessite Windows™ 2000, XP, Windows 7, 8, Vista (Service Pack à... Cliquez pour télécharger Devis-Factures PHMSD Ludoprêt (3.2)LUDOPRêT (3.2)Logiciel gratuit de gestion de ludothèque.
Gestion des jeux et des adhérents.
Gestion des for... Cliquez pour télécharger Ludoprêt Revealer Keylogger Free (2.05)REVEALER KEYLOGGER FREE (2.05)Keylogger invisible et gratuit pour Windows 8, 7, Vista ou XP. Revealer Keylogger Free vous perme... Cliquez pour télécharger Revealer Keylogger Free 974 Application Server (13.2.1.3)974 APPLICATION SERVER (13.2.1.3)Ecommerce, Blogueur, Vitrine, Newsletter, Java IDE, ..., in the cloud et sous haute dispo. Facile... Cliquez pour télécharger 974 Application Server WDmemoCode (1.0.0)WDMEMOCODE (1.0.0)WDmemoCode a été créé pour aider les développeurs Windev à créer/compléter et conserver une base ... Cliquez pour télécharger WDmemoCode
|