473,324 Members | 2,239 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Indy Sockets FTP Get() Function

I'm using Indy Sockets for some automation. I FTP files to a UNIX and Linux
server, run the files using SSH and then FTP them back locally. Everything
seems to work find until FTPing back to the local computer. For some reason
the Get function doesn't seem to get the whole file in on a few occasions.
It will get most of the file and then go on to another file. It is only
certain files and it can be somewhat random so I'm really having trouble
trying to figure it out. I'm ready to give up on the function and just
create a batch file that calls the command line FTP and run a script that
way, but it is nice to show a progress bar by having it all done with Indy.

Has anyone experienced a similar problem with the Get function in Indy
Sockets?

--
Dustin
--
http://www.LDSPDA.com
http://www.Shiblon.com
http://www.getafreelancer.com/affili....php?u=xhenxhe

Nov 21 '05 #1
2 2726
Hi,

Here is a link to my solution.
http://www.onteorasoftware.com/downloads/indy.zip

Ken
-------------------------
"xhenxhe" <du****@davisvillage.com> wrote in message
news:Oe**************@tk2msftngp13.phx.gbl...
I'm using Indy Sockets for some automation. I FTP files to a UNIX and Linux
server, run the files using SSH and then FTP them back locally. Everything
seems to work find until FTPing back to the local computer. For some reason
the Get function doesn't seem to get the whole file in on a few occasions.
It will get most of the file and then go on to another file. It is only
certain files and it can be somewhat random so I'm really having trouble
trying to figure it out. I'm ready to give up on the function and just
create a batch file that calls the command line FTP and run a script that
way, but it is nice to show a progress bar by having it all done with Indy.

Has anyone experienced a similar problem with the Get function in Indy
Sockets?

--
Dustin
--
http://www.LDSPDA.com
http://www.Shiblon.com
http://www.getafreelancer.com/affili....php?u=xhenxhe


Nov 21 '05 #2
Thanks, but not helpful. I'm guessing it's just a bug in Indy. I'll have
to just go with plan B.

Ken Tucker [MVP] wrote:
Hi,

Here is a link to my solution.
http://www.onteorasoftware.com/downloads/indy.zip

Ken

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dmitry Akselrod | last post by:
Hello everyone, I have a vb.net application that wraps the TCPListener object in a class. The server connects to the local interface and establishes itself on port 9900. It then polls for...
3
by: Chad Z. Hower aka Kudzu | last post by:
http://www.atozed.com/indy/Texts/VSIntro.iwp Intro article with code. -- Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/ "Programming is an art form that fights back"
0
by: mrpolitics | last post by:
So I'm working with PureIRCD (http://sourceforge.net/projects/pure-ircd) and everything was fine untill yesterday when the server crashed. So I did a cold restart and staretd the server back up...
1
by: Ben | last post by:
I've written a fair amount of sockets code using the Winsock2 API, but I am having some trouble converting to the .Net Sockets API, specifically asynchronous sockets. What I have is a form that is...
4
by: Sueffel | last post by:
Boy, someday I may get good at this stuff! Until then, I have a "TCP server" that accepts multiple connections. That all works wonderfully! YEAH!!!! I have a TCPClient that is the client...
3
by: Michael Maercker | last post by:
hi! i'm really not into networking at all and have now been asigned the task of porting a vb6-code into vb.net (compact framework, in this case) and the code uses the winsock-control. i quickly...
1
by: Hugh Janus | last post by:
Hi all, According to the below link (as far as i can tell) http://www.eldos.com/documentation/sbb/documentation/toc.html there is SSH support for the INDY project library. However, I cannot...
2
by: marcf | last post by:
Hello Everyone! I have so nearly finished a mud client for a customer to the point where I was about to send them the source code. Out of luck I took the project home to try it on my personal PC...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.