Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.2k views
in .NET FTP by
I am definitely encountering problems with transferring large file sizes. I have a piece deployed at a medical clinic that transfers files up to a WS_FTP server. We ran into a couple of 100+ Mb audio files the other day and the software bombed.

In testing over the last few days, I have discovered 25-27 Mb seems to be the threshold. I am not using the FTP logging, but the exception traces back to the component.

'-44' is not a valid value for 'value'. 'value' should be between 'minimum' and 'maximum'. System.ArgumentException: '-44' is not a valid value for 'value'. 'value' should be between 'minimum' and 'maximum'.
at EnterpriseDT.Net.Ftp.FTPClient.a(Stream A_0, String A_1, Boolean A_2)
at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)
at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile)

I am using the FTPProClient in secure mode.

Any help appreciated!

4 Answers

0 votes
by (161k points)
Hi

We'll run some tests on some large files > 50 MB. If you are able to turn on logging that might help also. What version are you using?

It looks like an integer overflow - if so it should be easy to fix ... we'll get back to you.

I am definitely encountering problems with transferring large file sizes. I have a piece deployed at a medical clinic that transfers files up to a WS_FTP server. We ran into a couple of 100+ Mb audio files the other day and the software bombed.

In testing over the last few days, I have discovered 25-27 Mb seems to be the threshold. I am not using the FTP logging, but the exception traces back to the component.

'-44' is not a valid value for 'value'. 'value' should be between 'minimum' and 'maximum'. System.ArgumentException: '-44' is not a valid value for 'value'. 'value' should be between 'minimum' and 'maximum'.
at EnterpriseDT.Net.Ftp.FTPClient.a(Stream A_0, String A_1, Boolean A_2)
at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)
at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile)

I am using the FTPProClient in secure mode.

Any help appreciated!
0 votes
by
Sounds great. I am using the 1.0.5 version. I will turn on logging tonight and run some more tests. I will provide you with those results when available. Thanks. Appreciate the responsiveness.
0 votes
by (161k points)
We have performed numerous tests, both puts and gets, with 60 MB files and not had any problems. Are you able to look at the server logs? Perhaps the server is somehow stopping the transfer?

Perhaps you could try to isolate the problem into a short program - we may be testing a slightly different code path.

Sounds great. I am using the 1.0.5 version. I will turn on logging tonight and run some more tests. I will provide you with those results when available. Thanks. Appreciate the responsiveness.
0 votes
by
That may be good news! I will try to isolate on my end and let you know.

THANKS!

We have performed numerous tests, both puts and gets, with 60 MB files and not had any problems. Are you able to look at the server logs? Perhaps the server is somehow stopping the transfer?

Perhaps you could try to isolate the problem into a short program - we may be testing a slightly different code path.

Sounds great. I am using the 1.0.5 version. I will turn on logging tonight and run some more tests. I will provide you with those results when available. Thanks. Appreciate the responsiveness.

Categories

...