English
Forum

@loadfile$ dialog from FTP Server

 
ICh would like a FTP manager program.
now stand I to the trouble an Overview of files of FTP Server in the Style of @loadfile$ dialog zuerstellen.
can someone help?
 
06/20/11  
 



helps you the View source of iFTP [...]  ?
 
06/20/11  
 



unfortunately No but nevertheless thanks
 
06/21/11  
 




ByteAttack
rather would it, itself times the wininet.dll accurate durchzulesen.
example for VB: [...] 
 
Website:  [...] 
Facebook:  [...] 
06/23/11  
 



GEht not somehow plainer?
 
06/23/11  
 



XProfans FTP-functions are integrally ok -

where very lying because your trouble?

at that design one Dialoges?
 
06/23/11  
 




ByteAttack
Yes, The FTP-functions are OK, if one itself only with a Server engage. according to Server gives ListDir different Formate from.
example1:
04-28-10 07:22PM <DIR> ACCESS

example2:
drwxrwxr-x 2 10490 100 4096 May 20 2005 Acrobat

u.s.w.....
therefore eignet the wininet much better.
 
Website:  [...] 
Facebook:  [...] 
06/23/11  
 




ByteAttack
time one small example:
CompileMarkSeparation
USERMESSAGES 16
Declare  WIDLL&,Session&,s$,ihdl&,Adresse$,User$,Pass$,data#,Liste&
Declare Sz&,L#,ende%,IConnect&,dhdl&,do&,anzdat&,ftpfile$
Dim L#,4
Long L#,0 = -1
dim data#,318
clear data#
s$="FTPSESSION\z"
Adresse$="ftp.adobe.com"+"\z"
User$="anonymous"+"\z"
Pass$="guest@unknown"+"\z"
WIDLL&=UseDLL("wininet.dll")
 $I WININET.INC
Def GetSysColor(1) !"USER32","GetSysColor"
WindowStyle 26
WindowTitle "FTP-Test mit der WININET.DLL"
Window ((%maxX/2)-320),((%maxY/2)-240)-640,480
Cls GetSysColor(15)
Liste&=create("sortedlistbox",%hwnd,"",5,5,(width(%hwnd)-10),(Height(%hwnd)-30))
Sz&=@Create("StatusWindow",%HWND,"",1,L#)
ihdl&=InternetOpenA(addr(s$),0,0,0,0)
UseCursor 2
'InternetConnect Lib "wininet.dll" Alias _
'        "InternetConnectA" (ByVal hInternetSession As Long, _
'        ByVal sServerName As String, ByVal nServerPort As Integer, _
'        ByVal sUsername As String, ByVal sPassword As String, _
'        ByVal lService As Long, ByVal lFlags As Long, ByVal _
'        lContext As Long) As Long
IConnect&=@InternetConnectA(ihdl&,addr(Adresse$),21,addr(User$),addr(Pass$),1,0,0)
SetText Sz&,0,"Handle: "+Str$(ihdl&)
dhdl&=FtpFindFirstFileA(IConnect&,0,addr(data#),2147483648,0)
do&=1

while do&

    if do&

        if long(data#,0)=16

            ftpfile$="> "+string$(data#,44)

        elseif long(data#,0)=0

            ftpfile$="> "+string$(data#,44)

        else

            ftpfile$=string$(data#,44)

        endif

        addstring(Liste&,ftpfile$)

    endif

    inc anzdat&
    do&=InternetFindNextFileA(dhdl&,data#)

endwhile

UseCursor 0

WhileNot ende%

    WaitInput

    If %Umessage=16' X

        ende%=1

    endif

EndWhile

InternetCloseHandle(IConnect&)
ref='./../../references-fonction/XProfan/freedll/'>FreeDLL WIDLL&

15 kB
Kurzbeschreibung: wininet.inc
Hochgeladen:06/23/11
Downloadcounter88
Download
 
Website:  [...] 
Facebook:  [...] 
06/23/11  
 



thanks first...
Marc you have from the Listdir commands spoken.
it should objectively one Filemanager for 1 Server his.
would be it so plainer weg?
 
06/25/11  
 




Paul
Glatz
only for a Server (always one and the same???)
 
06/25/11  
 



Yes
 
06/27/11  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.073 Views

Untitledvor 0 min.
Jürgen Strahl12/16/23
Georg Teles10/01/22
H.Brill06/07/20
pfisterhamj12/23/19
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie