5GB files can not be FTPed

delphi

    Sponsored Links

    Next

  • 1. verify peer
    Is anyone successfully using VerifyPeer with SSL? -- Thanks, Brad.
  • 2. File AND ASCII at the same time using TCP?
    Hi Is it possible to send ASCII using TIdTCPClient/Server (Version8) at the same time as a file is being transferred? I seem to vaguely remember someone once saying it could be done. Any ideas? Thanks Jamie
  • 3. Indy 10.1.5 TCP Client comp
    How do I get rid of any data that might be present on the input buffer of a TCP/IP client? Because if reading the data stream screws up, i need to be able flush the input buffer, i.e. reading data off the TCP/IP socket, before I can reuse the client object. TIA Graham Harris --
  • 4. open ssl
    The open SSL site doesn't appear to provide binaries. You have to find a site that has the compiled version posted, or compile your own. The posted versions we have found are either not the latest, or throw an exception. The source doesn't appear to compile with BDS C++. What do you guys use? -- Thanks, Brad.

5GB files can not be FTPed

Postby KTL » Wed, 16 Jul 2003 06:32:48 GMT

It seems like we can not FTP very large files (4GB+) with INDY.
Has anyone worked with this size transfers?
Looks like there are all intergers and not int64???????????



Re: 5GB files can not be FTPed

Postby Remy Lebeau (TeamB) » Wed, 16 Jul 2003 07:39:26 GMT






Indy uses TStream, which does not support 4GB+ files, It only supports up to
2GB.


Correct.  Int64 wasn't used for TStream under Delphi/BCB v6.  However, Indy
still supports Delphi/BCB v5 at least, which don't support Int64 for
TStream.


Gambit



Re: 5GB files can not be FTPed

Postby Ben Hochstrasser » Wed, 16 Jul 2003 08:08:11 GMT




Which inevitably rises the question: Why so large files? (or why FTP with 
such files?). If I had an inhouse connection, I'd probably look into a 
SMB/CIFS protocol, else (aka WAN link) 4 GB is *huge*. One connection drop 
and you're dead meat, so I'd split those biggies into at least CD-sized 
chunks.

-- 
Ben

Re: 5GB files can not be FTPed

Postby MpJin » Thu, 17 Jul 2003 01:53:43 GMT

I hope he doesn't upload / download 5 GB files with a 56k connection :-)

MpJin

@+

"Kyle Cordes" < XXXX@XXXXX.COM > a rit dans le message de






with
drop
multi-gigabyte
on



Re: 5GB files can not be FTPed

Postby Dan F » Thu, 17 Jul 2003 05:00:05 GMT

Dive in and alter it yourself, shouldn't be _that_ difficult.  Just to warn
you though, when doing an Int64 seek use soBeginning or soEnd etc as the
second parameter; using soFromBeginning or soFromEnd forces the 32bit
version to be used (and forces your Int64 to be casted to a 32 bit integer),
as can be seen from the TStream (or was it filestream) source, but which is
not apparent from the help files.

Dan













a
connection
stored
any



Re: 5GB files can not be FTPed

Postby Remy Lebeau (TeamB) » Thu, 17 Jul 2003 05:11:40 GMT







Basically, yes.  As far as I know, you'll just have to implement the FTP
protocol yourself if you want to support large files.  I haven't seen any
third-party FTP components yet that don't also use 'int' instead of 'Int64'
(that's not to say that they don't exist, it is always a possibility).


No, and for good reason - Indy is portable to non-VCLv6 IDEs, whereas the
VCLv6's Int64-capable TStream is not.  Perhaps Indy could write their own
custom Int64-capable stream class, but then it would still be limited to
TStream's existing limitations, unless they don't derive from TStream in the
first place but then compatibility with other code gets lost as a result.


Gambit



Re: 5GB files can not be FTPed

Postby Yahia El-Qasem » Thu, 17 Jul 2003 07:20:58 GMT

I don't know Indy very well BUT we deal daily with pretty big files...

As far as you have a FTP server which implements APPE command correctly and
it is running on a UNIX system with large file support ( take care - not all
filesystems on UNIX are capable to deal with files > 4 GB ! ) you could get
it to work as follows :

Just upload the file in slices of 1-2 GB and APPE the next Slices till you
are finished....

This way you should be fine...


Yahia

"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM > schrieb im Newsbeitrag





'Int64'
the



Re: 5GB files can not be FTPed

Postby Dan F » Thu, 17 Jul 2003 18:46:28 GMT






I was just thinking that repeatedly appending 2Gb chunks, it would always
write to the end of the current file...but I forgot Indys
readstream/writestream arent Int64 compatible so maybe not.

Dan




Re: 5GB files can not be FTPed

Postby Chad Z. Hower aka Kudzu » Sun, 20 Jul 2003 00:42:59 GMT

"Remy Lebeau \(TeamB\)" < XXXX@XXXXX.COM > wrote in



Actually we could define a new type thats based on a conditional, but thats 
still a fairly big change.


   Qualified help FAST with Indy Experts Support
   from the experts themselves:

    http://www.**--****.com/ 


ELKNews - Get your free copy at  http://www.**--****.com/ 


Re: 5GB files can not be FTPed

Postby Loren Pechtel » Mon, 21 Jul 2003 01:32:38 GMT

On Thu, 17 Jul 2003 14:10:46 -0700, "Remy Lebeau \(TeamB\)"




         Oh, I see--Indy itself wouldn't compile on the earlier
compilers!

         Note, though, that it wouldn't need a whole bunch of
conditionals.  One would do:  BigInt = Int32 or Int64 depending on the
compiler.


Similar Threads:

1.Size of Temporary Internet Files is 5Gb after deleting from IE

I have been doing some housekeeping on my vista home premium laptop,
when I noted that I seemed to be using a huge amount of disk storage
for which I could not account.

I traced a huge 5Gb of it to the C:\Users\Gordon\AppData\Local
\Microsoft\Windows\Temporary Internet Files> folder

I cleaned the folders cache, cookies, etc from ie 7 but the size still
remains. Of course I can't see anything in this folder with windows
explorer, even with show all system files turned on, and right
clicking properties does not reveal any security tab etc.

I drilled down using an elevated privilege command prompt and found
three folders there:
AntiPhishing, Enclosure, FontPage TempDir

Enclosure seems to be the culprit, but it contains folders with guids
for names.

Anyone got any idea what is going on, what these folders are about and
crucially how can I reclaim my space?

Thanks for any insights.

2.Problem Using Float in IE with canned 2col_leftNav.css File

3.Media player says I am not connected to the internet when I am

Hi,

Hope somebody can help me here, I ripped a couple of CD's today but Media 
Player 11 beta was unable to find the CD info as it said I was not connected 
to the internet, neither did the online tab work.

I checked that "Work Offline" was not ticked in the File Menu.

I assumed it was a problem with the Beta so I followed Microsoft's roll back 
instructions on their support page and now I am back to Media Player 10.  
When I right click an unknown music file and select find album info, I get 
the same error message that "You must be connected to the internet to get 
album info".  I am connected to the internet and I am posting this question 
lol.

Can anybody help??

P.s. for info the Media Guide is giving me the same message also.

Thanks Sean

4.i am not getting internet even if i am connected to isp

i am using ie5,win 2oo0 prof .
my modem connects to isp but internet explorer is not 
opening the search page .i tried out usng another modem 
another dialup connection ,ie 6 ,with default connection
settings.i have scanned full system scan with mcafee .no 
infection found .can any one help me out this without 
reinstalling windows
thanks
  

5.i am not supposed to be on network so why is my PC saying I am

6. I can not attach files with iexplorer when I am sending emails

7. I am not able to find the file /etc/networks

8. Getting canned for brining forth obvious security breaches



Return to delphi

 

Who is online

Users browsing this forum: No registered users and 37 guest