Re: Transfer Files via an ActiveX socket
- From: "MikeA" <appell@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 24 Dec 2009 20:26:10 -0800
Yea - I think I am somewhat on my own. I have everything working it's just
when I increase the packet size it speeds up the transfer but increases the
errors more than I would expect.
Thanks again,
Mike
"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message
news:uMHGS3QhKHA.6096@xxxxxxxxxxxxxxxxxxxxxxx
You're on your own I fear. Might want to ask in a networking newsgroup.
Dan
MikeA wrote:
Hi Dan - yes there are several reasons why in this particular sitution a
socket is more efficient.
I have everything working it's just the socket transfer is not optimized.
It seems that when I set the packet size to around 8K a lot more errors
occur than I would expect (even when I test it on my LAN). But, when I
set the packet size to around 1K, no errors occur but the transfer is a
LOT slower.
1. I'm basically looking to allow my clients the ability to change
information without internet access and then sync information (to the dbf
tables and files) later via the internet. A lot of my clients do not have
FTP set up and the client/server app I wrote in VFP allows them to
connect and syncs all the data. In other words, work offline without
internet access then sync later.
2. Several files will need to be synced back and forth from client to
server and vice/versa and each will be dependent on what is sent and/or
received. The idea of using two VFP programs (one client side and one
server side) to monitor when a file has finished transferred via FTP can
be done but it seems a bit cumbersome. The biggest problem though is I
want the program to be "self contained" and not demand that all my
clients have an FTP site as many of them do not. Also, I should be able
to expect the same or similar speed via a socket the same way files are
transferred with various remote access programs.
Do you know if there is some way I could simulate a "mapped drive" if I
have successfully connected two computers via a socket? Then I could
just use a COPY command. That might be something to explore also.
Thanks,
Mike
"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message
news:eq8eoIOhKHA.2160@xxxxxxxxxxxxxxxxxxxxxxx
MikeA wrote:
Does anyone know of a quick and simple way to transfer files once aJust curious: is there a reason you're required to use a socket when FTP
socket connection has been made between two computers. I have VFP code
client and server programs I have written and I have code that I wrote
to transfer files and it does work but it just doesn't seem to be as
optimized as I would like and I'm wondering if there is a simpler way.
(file transfer protocol) would be far more efficient and unlike sockets
is actually intended for file transfers?
Dan
.
- Follow-Ups:
- Re: Transfer Files via an ActiveX socket
- From: Man-wai Chang On 24000bps
- Re: Transfer Files via an ActiveX socket
- References:
- Transfer Files via an ActiveX socket
- From: MikeA
- Re: Transfer Files via an ActiveX socket
- From: Dan Freeman
- Re: Transfer Files via an ActiveX socket
- From: MikeA
- Re: Transfer Files via an ActiveX socket
- From: Dan Freeman
- Transfer Files via an ActiveX socket
- Prev by Date: Re: Transfer Files via an ActiveX socket
- Next by Date: Re: Transfer Files via an ActiveX socket
- Previous by thread: Re: Transfer Files via an ActiveX socket
- Next by thread: Re: Transfer Files via an ActiveX socket
- Index(es):
Relevant Pages
|