🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3699

SLOW ftp upload

#3699
From: Blake Young
Date: Fri, 22 Jul 2005 06:33
37 lines
2593 bytes
I have been sitting here watching my upload progress and in the past 5 
minutes only 15 KB of a certain file have been uploaded.  The weird thing is 
that sometimes the transfer is blazingly fast, and other times it goes at 
literally about 2 or 3 KBs a second.  I am uploading the files-in-question 
to my Tripod account via my own mini-FTP program.  FTPClient is a TIdFTP 
component.  Below is my code:

    FTPClient->Host = "ftp.tripod.com";
    FTPClient->Port = 21;
    FTPClient->User = "winboxer";
    FTPClient->Password = "CENSORED";
    FTPClient->Connect();

    Memo1->Lines->Add("Uploading version information...");
    FTPClient->TransferType = ftASCII;
    FTPClient->Put("version.txt", "version.txt", false);

    Memo1->Lines->Add("Uploading WinBoxer program...");
    FTPClient->TransferType = ftBinary;
    FTPClient->Put("winboxer.zip", "winboxer.zip", false);

    Memo1->Lines->Add("Uploading WinBoxer source code...");
    FTPClient->Put("winboxer_source.zip", "winboxer_source.zip", false);

    Memo1->Lines->Add("Publishing complete.  Disconnecting...");
    FTPClient->Disconnect();


Like I said before, sometimes the speed is very fast but most of the time it 
goes at a snail's pace.  One thing that I've noticed is that it does NOT 
alternate between the two speeds: if it starts slow, it will remain slow the 
whole time...if it starts fast, it will remain fast the whole time.  I'm on 
DSL, so I know it's not my connection speed.  Also, I can log into my Tripod 
account via FTP using Internet Explorer and upload files and they go 
super-fast - even at the SAME time that they're uploading slow using my 
program.  Is there something about my code that may make it (on occasion) 
procede very slowly? 
Technical Details
Message-ID: <42e09342@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,752f9577c22b21e3,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Blake Young" <blakeyoung@mail.utexas.edu>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: SLOW ftp upload
Date: Fri, 22 Jul 2005 01:33:33 -0500
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 68.91.216.87
Message-ID: <42e09342@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1122014018 68.91.216.87 (21 Jul 2005 23:33:38 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail