[Gambas-user] Feedback
Brant Wells
bwells at ...475...
Fri Jun 11 20:27:25 CEST 2004
Hi Daniel:
FTP uses two ports... 20 (for the actual file transfer) and 21 for when
you receive the directory listings, etc, etc.
When you issue the GET command on an FTP server, assuming the filename
is correct, then the GET command returns a code of 150...
C: get myfile.txt
S: 150 Opening BINARY mode data connection for myfile.txt (2142 bytes)
Note that it tells you how big the file is...
You can then monitor the Socket that uses port 20, and count the number
of bytes that come through...
You Follow?
See Ya!
~Brant
Daniel Oxley wrote:
>Hi all.
>
>Just a question!
>
>If I want to do an ftp transaction through gambas, any ideas on how I can
>get feedback about the progress?
>
>
>Roll on version 1.0!
>
>Thanks,
>Daniel
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by the new InstallShield X.
>>From Windows to Linux, servers to mobile, InstallShield X is the
>one installation-authoring solution that does it all. Learn more and
>evaluate today! http://www.installshield.com/Dev2Dev/0504
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
More information about the User
mailing list