[Gambas-user] Feedback
Daniel Oxley
oxleyd at ...364...
Fri Jun 11 19:12:15 CEST 2004
This is great! BUT, maybe I am being a little (or a lot) dumb with this?
how could I count the bytes coming through the port?
Daniel
---------- Original Message -----------
From: Brant Wells <bwells at ...475...>
To: gambas-user at lists.sourceforge.net
Sent: Fri, 11 Jun 2004 14:27:25 -0400
Subject: Re: [Gambas-user] Feedback
> 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
> >
> >
> >
>
> -------------------------------------------------------
> 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
------- End of Original Message -------
More information about the User
mailing list