The main image library on my website has a significant amount of photos, and every time a new file is transferred to that folder, it does a List before the transfer, and then again afterwards.
The list can take 60 seconds to download and process.
Is there a way to disable the before and after list command? I just need it to transfer the file, I don't care about overwriting, and don't need the content listing.
mb
Hello ...
My guess is that SmartFTP does a directory listing to get the file size/time because your FTP server doesn't support the SIZE or MDTM command. But a log would certainly bring more light into this. It's very unusual that FTP servers do not support those commands.
Regards,
SmartFTP
biggers
Thank you very much for the input. Below is a log from connecting to the FTP server to that directory, and uploading 1 file (the directory probably has ~30,000 images in there). It does a directory listing twice, which takes 12 seconds just to download, and another 45-60 seconds once the download is complete and SmartFTP runs the processor at 100% CPU to process the names. If it could just transfer (even as an option) without listing, all would be good.
If there are any changes I should make to the FTP server, I can absolutely do that as well.
[11:23:41] SmartFTP v2.0.1001.9
[11:23:43] Resolving host name "xx.xx.xx.xx"
[11:23:43] Connecting to xx.xx.xx.xx Port: 21
[11:23:43] Connected to xx.xx.xx.xx.
[11:23:43] 220 Microsoft FTP Service
[11:23:43] USER Jbiggers
[11:23:43] 331 Password required for XXXXXX.
[11:23:43] PASS (hidden)
[11:23:43] 230 User XXXXXX logged in.
[11:23:43] SYST
[11:23:43] 215 Windows_NT
[11:23:43] Detected Server Type: Windows NT
[11:23:43] FEAT
[11:23:43] 211-FEAT
[11:23:43] SIZE
[11:23:43] MDTM
[11:23:43] 211 END
[11:23:43] TYPE I
[11:23:43] 200 Type set to I.
[11:23:43] REST 0
[11:23:43] 350 Restarting at 0.
[11:23:43] PWD
[11:23:43] 257 "/" is current directory.
[11:23:43] CWD /www/product_images
[11:23:43] 250 CWD command successful.
[11:23:43] PWD
[11:23:43] 257 "/www/product_images" is current directory.
[11:23:43] TYPE A
[11:23:43] 200 Type set to A.
[11:23:43] PASV
[11:23:44] 227 Entering Passive Mode (xx.xx.xx.xx).
[11:23:44] Opening data connection to xx.xx.xx.xx Port: xxxx
[11:23:44] LIST -L
[11:23:44] 125 Data connection already open; Transfer starting.
[11:23:56] 1626520 bytes transferred. (126 KB/s) (00:00:12)
[11:23:56] 226 Transfer complete.
[11:24:22] Remote file exist check: "D109MX.jpg".
[11:24:22] TYPE I
[11:24:22] 200 Type set to I.
[11:24:22] SIZE D109MX.jpg
[11:24:22] 213 16337
[11:24:22] MDTM D109MX.jpg
[11:24:22] 213 20070216192217
[11:24:22] No rule matched. Default Action="Overwrite".
[11:24:22] PASV
[11:24:22] 227 Entering Passive Mode (xx.xx.xx.xx).
[11:24:22] Opening data connection to xx.xx.xx.xx Port: xxxx
[11:24:22] STOR D109MX.jpg
[11:24:22] 125 Data connection already open; Transfer starting.
[11:24:23] 16337 bytes transferred. (72.8 KB/s) (219 ms)
[11:24:23] 226 Transfer complete.
[11:24:23] MDTM 20070216181834 D109MX.jpg
[11:24:23] 550 20070216181834 D109MX.jpg: The system cannot find the file specified.
[11:24:23] SIZE D109MX.jpg
[11:24:23] 213 16337
[11:24:23] TYPE A
[11:24:23] 200 Type set to A.
[11:24:23] PASV
[11:24:23] 227 Entering Passive Mode (xx.xx.xx.xx).
[11:24:24] Opening data connection to xx.xx.xx.xx Port: xxxx
[11:24:24] LIST -L
[11:24:24] 125 Data connection already open; Transfer starting.
[11:24:36] 1626520 bytes transferred. (123 KB/s) (00:00:12)
[11:24:36] 226 Transfer complete.
[11:24:59] Transfer successful.