Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: SV: RE: Transferring a File...


Message #1 by goran.osterman@t... on Wed, 3 Apr 2002 10:41:58 +0200
John

Check out http://www.robertgraham.com/pubs/firewall-seen.html#1.

It's a BIG description of firewalls and what you see in the loggs. But it
also explains what standard ports are commonly used.

Hope this helps, Göran

-----Ursprungligt meddelande-----
Från: John R Lick - Hotmail [mailto:JohnRLick@h...]
Skickat: den 3 april 2002 01:05
Till: professional vb
Ämne: [pro_vb] RE: Transferring a File...


Cardyin,

Thanks this sounds like a good posibility.
Do you have a suggestion on picking a port? This is going to (hopefully) be
rolled out to multiple different clients, and I do not know what ports to
use.
Questions:
1) Where can I find a reference to Ports that are available to use. (I.e.
not used by ANY Windows functions by default)
2) Can I programatically poll what ports are in use, so my setup program can
determine if there is a conflict, and pick a different port?

John Lick
Sr. Software Developer
JohnRLick@h...


----- Original Message -----
From: "Kim, Cardyin" <CKim@s...>
To: "professional vb" <pro_vb@p...>
Sent: Tuesday, April 02, 2002 2:29 PM
Subject: [pro_vb] RE: Transferring a File...


> You can probably use the winsock control to create a pseudo-FTP
> program that reads the input file in binary mode and sends it
> to the other program which write the output file in binary mode.
>
> Cardyin
>
> -----------------------------------------
> Cardyin Kim
> Client/Server and Web Development Analyst
> San Antonio Community Hospital
> Upland, California
> ckim@s...        (xxx) xxx-xxxx
> -----------------------------------------
>
>
>
> -----Original Message-----
> From: John R Lick - Hotmail [mailto:JohnRLick@h...]
> Sent: Tuesday, April 02, 2002 2:08 PM
> To: professional vb
> Subject: [pro_vb] Transferring a File...
>
>
> I am looking for a way to transfer a file from component A on computer Z
to
> component B on computer Y. Here are the possibilities I have come up with.
> Do you have a better suggestion.
>
> 1)    Create a disconnected Recordset with one record consisting of one
> field (blob or image) that contains the file.
>     Problem here is that I have never used the blob/image datatype, and
> don't know how to copy a file into it.
> 2)    FTP
>     Problem here is that I don't want access to the file other than to
these
> two computers and these two components.
> 3)    Server Folder Share
>     Same problem as FTP.
>
> Any suggestions?
>
> I would like to be able to create an exact copy, including all mime types,
> extentions, and anything else windows needs to open it properly.
>
> If you think the Recordset is the way to go, then how about a quick
example
> of copying a file to a blob or image field in a recordset.
>
> Thanks for any help that could be provided,
>
>
> John Lick
> Sr. Software Engineer
> JohnRLick@H... <mailto:JohnRLick@H...>
>
>
>
>



  Return to Index