symbolic link is downloading forever ?

Is it a bug or a feature? I use the last version of SmartFTP downloaded just yesterday, 27.04.2008.

This file: ftp://ftp.ctan.org/tex-archive/systems/ ... /setup.exe

is a symbolic link to this one: ftp://ftp.ctan.org/tex-archive/systems/ ... 7.2960.exe

When I try to download setup.exe it starts downloading, writes, somthing like "downloaded xxxK/18 bytes" and once finished starts over. It loops forever!!!

setp-2.7.2960.exe can be downloaded normally.

Usual ftp command from the command promt does everything perfect.

Changing "Autoresolve symbolic links" does not help. NO DIFFERENCE whether it is enabled or disabled.

Thanks for any working solution, because I'm afraid that analogous problem may occur in a more sophisticated situation.

Alex

Post the log of the transfer queue.

Regards,
SmartFTP

So, I started SmartFTP, it automatically connected to the server, now resolving of symbolic links is ENABLED
I asked to download setup.exe to my local drive e:\

The log is

[21:06:42] SmartFTP v3.0.1013.8
[21:06:46] Resolving host name "ftp.ctan.org"
[21:06:47] Connecting to 192.80.64.33 Port: 21
[21:06:50] Connected to ftp.ctan.org.
[21:06:51] 220-THIS IS ALAN.SMCVT.EDU, a member of the Comprehensive TeX Archive Network.
[21:06:51] 220-
[21:06:51] 220-Note that many visitors find the web interface at http://www.ctan.org more
[21:06:51] 220-handy than this command line interface.
[21:06:51] 220-
[21:06:51] 220-To login, enter
[21:06:51] 220- username: ftp
[21:06:51] 220- password: <your email address>
[21:06:51] 220 ProFTPD 1.2.10 Server (CTAN) [192.80.64.33]
[21:06:51] USER anonymous
[21:06:51] 331 Anonymous login ok, send your complete email address as your password.
[21:06:51] PASS (hidden)
[21:06:52] 230-WELCOME TO THE COMPREHENSIVE TEX ARCHIVE NETWORK!
[21:06:52] 230-
[21:06:52] 230-CTAN is the definitive collection of materials for the TeX typesetting
[21:06:52] 230-system, including packages for LaTeX, BibTeX, ConTeXt, etc.
[21:06:52] 230- * You may find http://tug.ctan.org more convienent.
[21:06:52] 230- * To use this command line interface, go to the top of the archive
[21:06:52] 230- with "cd /tex-archive". List a directory with "dir", change
[21:06:52] 230- directories with "cd <dir name>", moves up a level with "cd ..". Get
[21:06:52] 230- a file with "get <filename>". Quit with "quit".
[21:06:52] 230- * Many packages are bundled into .zip files, so you can be sure that
[21:06:52] 230- you got all of the files. From the directory "dirname" look for a
[21:06:52] 230- bundle with "ls ../dirname.zip".
[21:06:52] 230- * The FAQ http://www.tex.ac.uk/cgi-bin/texfaq2htm ... stpackages
[21:06:52] 230- will help you install material that you have downloaded.
[21:06:52] 230- * To upload material, use http://tug.ctan.org/upload.html .
[21:06:52] 230-This computer is provided by the TeX Users Group http://www.tug.org .
[21:06:52] 230-The network connection is available through the generosity of Saint
[21:06:52] 230-Michael's College in Colchester Vermont USA http://www.smcvt.edu . The
[21:06:52] 230-manager is Jim Hefferon, ftpmaint at tug.ctan.org.
[21:06:52] 230 Anonymous access granted, restrictions apply.
[21:06:52] SYST
[21:06:52] 215 UNIX Type: L8
[21:06:52] Detected Server Type: UNIX
[21:06:52] FEAT
[21:06:53] 211-Features:
[21:06:53] 211-MDTM
[21:06:53] 211-REST STREAM
[21:06:54] 211-SIZE
[21:06:54] 211 End
[21:06:54] PWD
[21:06:54] 257 "/" is current directory.
[21:06:54] CWD /pub/tex-archive/systems/win32/miktex/setup
[21:06:54] 250 CWD command successful
[21:06:54] PWD
[21:06:55] 257 "/pub/tex-archive/systems/win32/miktex/setup" is current directory.
[21:06:55] TYPE A
[21:06:55] 200 Type set to A
[21:06:55] PASV
[21:06:55] 227 Entering Passive Mode (192,80,64,33,144,72).
[21:06:55] Opening data connection to 192.80.64.33 Port: 36936
[21:06:55] LIST -aL
[21:06:55] 150 Opening ASCII mode data connection for file list
[21:06:55] 258 bytes transferred. (1,61 КБ/s) (156 ms)
[21:06:56] 226 Transfer complete.
[21:07:06] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[21:07:26] NOOP
[21:07:27] 200 NOOP command successful
[21:07:57] NOOP
[21:07:58] 200 NOOP command successful
[21:08:28] NOOP
[21:08:29] 200 NOOP command successful
[21:08:59] NOOP
[21:09:00] 200 NOOP command successful
[21:09:30] NOOP
[21:09:31] 200 NOOP command successful
[21:10:01] NOOP
[21:10:01] 200 NOOP command successful
[21:10:31] NOOP
[21:10:31] 200 NOOP command successful

In the time the above NOOPs appeared a download process has looped for 3 or 4 times. In the "Transfer queue" always was the same picture (in the column status):

1. Pre-download
2. 0/18 bytes
3. ...
4. 2,89MB/18 bytes
Then again goto point 1.
And this seems to be forever until I manually pressed STOP (red square).

Any guesses? Thanks in advance for te help.

Alex

Post the log from the transfer queue. But the problem is very likely that the SIZE reply from the server returns the size of the symbolic link and not the size of the target file.

Sorry, how do I get the transfer queue log?
Is it "transfer queue.xml"?

Here it is:

[21:52:48] Resolving host name "ftp.ctan.org"
[21:52:48] Connecting to 192.80.64.33 Port: 21
[21:52:49] Connected to ftp.ctan.org.
[21:52:49] 220-THIS IS ALAN.SMCVT.EDU, a member of the Comprehensive TeX Archive Network.
[21:52:49] 220-
[21:52:49] 220-Note that many visitors find the web interface at http://www.ctan.org more
[21:52:49] 220-handy than this command line interface.
[21:52:49] 220-
[21:52:49] 220-To login, enter
[21:52:49] 220- username: ftp
[21:52:49] 220- password: <your email address>
[21:52:49] 220 ProFTPD 1.2.10 Server (CTAN) [192.80.64.33]
[21:52:49] USER anonymous
[21:52:49] 331 Anonymous login ok, send your complete email address as your password.
[21:52:49] PASS (hidden)
[21:52:49] 230-WELCOME TO THE COMPREHENSIVE TEX ARCHIVE NETWORK!
[21:52:49] 230-
[21:52:49] 230-CTAN is the definitive collection of materials for the TeX typesetting
[21:52:50] 230-system, including packages for LaTeX, BibTeX, ConTeXt, etc.
[21:52:50] 230- * You may find http://tug.ctan.org more convienent.
[21:52:50] 230- * To use this command line interface, go to the top of the archive
[21:52:50] 230- with "cd /tex-archive". List a directory with "dir", change
[21:52:50] 230- directories with "cd <dir name>", moves up a level with "cd ..". Get
[21:52:50] 230- a file with "get <filename>". Quit with "quit".
[21:52:50] 230- * Many packages are bundled into .zip files, so you can be sure that
[21:52:50] 230- you got all of the files. From the directory "dirname" look for a
[21:52:50] 230- bundle with "ls ../dirname.zip".
[21:52:50] 230- * The FAQ http://www.tex.ac.uk/cgi-bin/texfaq2htm ... stpackages
[21:52:50] 230- will help you install material that you have downloaded.
[21:52:50] 230- * To upload material, use http://tug.ctan.org/upload.html .
[21:52:50] 230-This computer is provided by the TeX Users Group http://www.tug.org .
[21:52:50] 230-The network connection is available through the generosity of Saint
[21:52:50] 230-Michael's College in Colchester Vermont USA http://www.smcvt.edu . The
[21:52:50] 230-manager is Jim Hefferon, ftpmaint at tug.ctan.org.
[21:52:50] 230 Anonymous access granted, restrictions apply.
[21:52:50] SYST
[21:52:50] 215 UNIX Type: L8
[21:52:50] Detected Server Type: UNIX
[21:52:50] FEAT
[21:52:50] 211-Features:
[21:52:50] 211-MDTM
[21:52:50] 211-REST STREAM
[21:52:50] 211-SIZE
[21:52:51] 211 End
[21:52:51] PWD
[21:52:51] 257 "/" is current directory.
[21:52:51] CWD /pub/tex-archive/systems/win32/miktex/setup
[21:52:51] 250 CWD command successful
[21:52:51] PWD
[21:52:51] 257 "/pub/tex-archive/systems/win32/miktex/setup" is current directory.
[21:52:51] STAT setup.exe
[21:52:51] 211-Status of setup.exe:
[21:52:51] 211-lrwxrwxrwx 1 ftpmaint ctan 18 Feb 9 06:32 setup.exe -> setup-2.7.2960.exe
[21:52:51] 211 End of Status
[21:52:51] MDTM setup.exe
[21:52:52] 213 20080208172800
[21:52:52] TYPE I
[21:52:52] 200 Type set to I
[21:52:52] PORT 192,168,1,4,18,133
[21:52:52] 200 PORT command successful
[21:52:52] RETR setup.exe
[21:52:52] 150 Opening BINARY mode data connection for setup.exe (3032064 bytes)
[21:53:39] 3032064 bytes transferred. (63,4 КБ/s) (00:00:46)
[21:53:39] 226 Transfer complete.
[21:53:39] MDTM setup.exe
[21:53:40] 213 20080208172800
[21:53:40] File size mismatch.
[21:53:40] STAT setup.exe
[21:53:40] 211-Status of setup.exe:
[21:53:40] 211-lrwxrwxrwx 1 ftpmaint ctan 18 Feb 9 06:32 setup.exe -> setup-2.7.2960.exe
[21:53:40] 211 End of Status
[21:53:40] MDTM setup.exe
[21:53:40] 213 20080208172800
[21:53:40] Source File: Size=18, SizeUnit=Byte, Time=2008-02-08T17:28:00, TimeFormat=Exact
[21:53:40] Destination File: Size=3032064, SizeUnit=Byte, Time=2008-02-08T17:28:00, TimeFormat=Exact
[21:53:40] RecentTime=2008-04-28T19:53:39
[21:53:40] No rule matched. Default Action="Overwrite".
[21:53:40] PORT 192,168,1,4,18,136
[21:53:40] 200 PORT command successful
[21:53:40] RETR setup.exe
[21:53:41] 150 Opening BINARY mode data connection for setup.exe (3032064 bytes)
[21:54:27] 3032064 bytes transferred. (63,3 КБ/s) (00:00:46)
[21:54:28] 226 Transfer complete.
[21:54:28] MDTM setup.exe
[21:54:28] 213 20080208172800
[21:54:28] File size mismatch.
[21:54:28] STAT setup.exe
[21:54:28] 211-Status of setup.exe:
[21:54:28] 211-lrwxrwxrwx 1 ftpmaint ctan 18 Feb 9 06:32 setup.exe -> setup-2.7.2960.exe
[21:54:28] 211 End of Status
[21:54:28] MDTM setup.exe
[21:54:28] 213 20080208172800
[21:54:28] Source File: Size=18, SizeUnit=Byte, Time=2008-02-08T17:28:00, TimeFormat=Exact
[21:54:28] Destination File: Size=3032064, SizeUnit=Byte, Time=2008-02-08T17:28:00, TimeFormat=Exact
[21:54:28] RecentTime=2008-04-28T19:54:28
[21:54:28] No rule matched. Default Action="Overwrite".
[21:54:28] PORT 192,168,1,4,18,138
[21:54:28] 200 PORT command successful
[21:54:28] RETR setup.exe
[21:54:29] 150 Opening BINARY mode data connection for setup.exe (3032064 bytes)
[21:54:30] ABOR

I see, "file size mismatch". And what a solution can be?

Thanks. The bug will be fixed in the next build (1 day).

Regards,
Mat

Thanks for a very quick backreaction to non-commercial users.
Great respect to the developers team.
With best regards,
Alex