Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: Large Upload
xcor635

From: Sacramento, CA USA
Posts: 2
Member Since: 06/14/03
posted June 14, 2003 10:09 PM

I've read your board, and made the appropiate changes:

<httpRuntime executionTimeout="7200"
maxRequestLength="1572864"
useFullyQualifiedRedirectUrl="false" />

and

private const int MAXTRANSFERSIZE = 512000;

But I still cannot upload large files. I just get a 'Page cannot be displayed' error after chugging away for a while.
xcor635

From: Sacramento, CA USA
Posts: 2
Member Since: 06/14/03
posted June 14, 2003 10:14 PM

It seems the problem I am having is that aspnet_wp.exe shutsdown because of memory consumption. It was defaulted at 65%, I upped it to 90%. Same problem. I am running on my test machine with 512MB RAM. Is there a way to bypass IIS with the WEBFTP Client, or send x number of bytes at a time and append the file? Looking for suggestions.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 16, 2003 11:26 AM

Hi,
You can set Ftp.Restart to true to automatically have transfers restart.
You could then call AbortTransfer in the Progress Event after a certain number of bytes were transferred, and then call Put on the file again.
-ken
SteveSmith
steve.p.smith@worldnet.att.net

From: Marina Del Rey, CA USA
Posts: 3
Member Since: 11/13/03
posted November 13, 2003 12:24 AM

Got the same problem.
It turns out that the file upload box when set to runat=server sends the stream straight to the server using http "NOT FTP". Then the FTP component kicks in by which time it is too late the stream is already on the server.
I have not seen the component used for upload by FTP from a web site anywhere. Even the sample does an HTTP transfer first to the server!
A solution would be appreciated.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 13, 2003 8:43 AM

The only way I can think of is if the web page control was client side. Since the control is running on the server, the file has to get there somehow first.
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX