Page 1 of 1

SFTP timeout on list

Posted: Mon Sep 19, 2011 8:49 pm
by phe_sysadmins
Running server build 349 (paid version) I have one SFTP end-user who gets disconnected but only sometimes.

He's scripting a connection using crontab and one piece of the script renames the file after the upload (from .ip to .csv). According to him his logs indicate it's timing out on LIST before the rename, but my logs just show him connecting and disconnecting:

[20110917 11:31:11] [ip address] connecting
[20110917 11:31:11] [ip address] connected
[20110917 11:31:11] [ip address] user 'tuser' sent
[20110917 11:31:11] [ip address] USER-PASS (tuser) success
[20110917 11:31:12] [ip address] LIST success - /live/
[20110917 11:31:12] [ip address] disconnected (tuser)
[20110917 11:31:12] [ip address] connecting
[20110917 11:31:12] [ip address] connected

This job runs once an hour approximately and has failed once or twice every couple of weeks - but because it's orders going into an AS400 it's a big deal when it fails.

Any ideas?

Posted: Tue Sep 20, 2011 1:44 pm
by ForumAdmin
It's most likely a connectivity issue and there's really not a lot that can be done on the server side.

There have been recent SFTP updates though, you may want to upgrade to at least build 361 to see if it makes a difference.