Topic "Program falls when many files in folder"

Author Message
demjanich

Guest


Program falls when many files in folder. For example if I want open, on server, old folder of some http site, where users add images. If images is too much, program is broken.
Forexample last time I try open folder where was 40 000 images and more then 1Gb. And it's impossible.

My computer Pentium 4 CPU 3.2Hz, 1Gb RAM

P.S.
And about your "report bug" system. If I push "Preview", the "Confirmation code" erased. So if I push Submit after that, I must enter confirmation code one more time.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
filling

Guest


My transfer also fails (timeout) when there are a large number of files in the target folder.

I want to upload some images to a folder that has a lot (>40000) images in it already.

I believe the problem occurs because WINSCP first attempts to download a listing of the target folder. Can this be disabled with options?

Thanks for your help - I hope we can fix this as I am not happy with the MS FTP and I need good command line functionality.

Joe

extract from log:
WinSCP Version 4.2.7 (Build 758) (OS 5.1.2600 Service Pack 2)
[snip]
. 2010-05-21 13:26:02.252 File: "123.jpg"
. 2010-05-21 13:26:02.268 Copying "123.jpg" to remote directory started.
. 2010-05-21 13:26:02.268 Binary transfer mode selected.
. 2010-05-21 13:26:02.268 Starting upload of 123.jpg
> 2010-05-21 13:26:02.268 CWD /var/www/html/images/cache/
< 2010-05-21 13:26:02.408 250 CWD command successful
> 2010-05-21 13:26:02.408 PWD
< 2010-05-21 13:26:02.564 257 "/var/www/html/images/cache" is current directory.
> 2010-05-21 13:26:02.564 TYPE A
< 2010-05-21 13:26:02.705 200 Type set to A
> 2010-05-21 13:26:02.705 PORT 192,168,1,15,16,152
< 2010-05-21 13:26:02.861 200 PORT command successful
> 2010-05-21 13:26:02.861 LIST
< 2010-05-21 13:26:03.143 150 Opening ASCII mode data connection for file list
. 2010-05-21 13:26:45.299 Timeout detected.
. 2010-05-21 13:26:45.330 Copying files to remote side failed.
. 2010-05-21 13:26:45.330 Connection was lost, asking what to do.
. 2010-05-21 13:26:45.330 Asking user:
. 2010-05-21 13:26:45.330 Lost connection. ("Timeout detected.","Copying files to remote side failed.","Opening ASCII mode data connection for file list")
. 2010-05-21 13:26:51.580 Connecting to www.snip.com ...
. 2010-05-21 13:26:51.720 Connected with www.snip.com. Waiting for welcome message...
. 2010-05-21 13:27:06.298 Timeout detected.
. 2010-05-21 13:27:06.298 Connection failed.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
filling wrote:
I believe the problem occurs because WINSCP first attempts to download a listing of the target folder. Can this be disabled with options?

No.
Have you tried setting longer timeout?
_________________
Martin Prikryl
Guest




prikryl wrote:
Have you tried setting longer timeout?

Not yet but I will.

I would respectfully suggest that the automatic download of the target directory listing should be optional and only required if some comparison with the target directory is required by a command (e.g. synchronisation).

Thanks for your response.
Very Happy
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License