3 Replies Latest reply on Sep 22, 2014 11:00 AM by dbladorn

    move down task won't stop if the remote folder is empty

    homemlua

      I'm using ftp Voyager at a daily basis to check remote sites and move down all files.

       

      The task works almost every day. Exception are when the remote ftp site is empty. Here the task will run continuously.

       

      I've tried to turn off keep alive, but it continues to run forever.

       

      I'd like the task to fail, if no files.

       

      Anyone knows what i'm doing wrong?

       

      Thanks.

        • Re: move down task won't stop if the remote folder is empty
          dbladorn

          Is this in reference to "FTP Voyager Scheduler" tasks that run on a daily basis?  If so, please turn on the log for the task (it's under "Task | Log Settings").  This will help us determine which command the action is getting stuck at.

          • Re: move down task won't stop if the remote folder is empty
            homemlua

            It's running on a daily basis, and the problem ocurs when there are no files to download or move down in the server.

            Here is the log: (I changed some data into xxxx for privacy)

             

            [12] Mon 22Sep14 12:19:11 - (Task: xxxxx) - Execution triggered by admin user.

            [03] Mon 22Sep14 12:19:11 - Resolving host "xxxxxxxxxxxxxxxxxxxx"...

            [03] Mon 22Sep14 12:19:11 - Connecting to "xxxxxxxxxxxxx" on port 22.

            [03] Mon 22Sep14 12:19:11 - Connected to xxxxxxxxxxxxx from xxxxxxxxxxxxxxxx.

            [03] Mon 22Sep14 12:19:11 - Negotiating SSH2 session with server...

            [03] Mon 22Sep14 12:19:11 - Client Identification: SSH-2.0-FTP Voyager_16.1.0.0

            [03] Mon 22Sep14 12:19:11 - Server Identification: SSH-2.0-1.36_sshlib GlobalSCAPE

            [03] Mon 22Sep14 12:19:11 - Initializing key exchange process...

            [03] Mon 22Sep14 12:19:11 - Selected key exchange algorithm: diffie-hellman-group1-sha1

            [03] Mon 22Sep14 12:19:11 - Host Key Fingerprint: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

            [03] Mon 22Sep14 12:19:11 - Server --> Client: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

            [03] Mon 22Sep14 12:19:11 - Client --> Server: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

            [03] Mon 22Sep14 12:19:11 - Selected public key protocol: ssh-dss

            [03] Mon 22Sep14 12:19:11 - Key exchange process successfully completed.

            [07] Mon 22Sep14 12:19:11 - SSH_MSG_SERVICE_REQUEST: service: ssh-userauth

            [08] Mon 22Sep14 12:19:11 - SSH_MSG_SERVICE_ACCEPT: service accepted

            [03] Mon 22Sep14 12:19:11 - Querying server for supported authentication methods

            [07] Mon 22Sep14 12:19:11 - SSH_MSG_USERAUTH_REQUEST: user: xxxxxxxxxx; service: ssh-connection; type: none

            [08] Mon 22Sep14 12:19:11 - SSH_MSG_USERAUTH_FAILURE: partial: 1; available authentications: publickey, password

            [03] Mon 22Sep14 12:19:11 - Supported authentication methods: publickey, password

            [07] Mon 22Sep14 12:19:11 - SSH_MSG_USERAUTH_REQUEST: user: xxxxxxxxx; service: ssh-connection; type: password

            [08] Mon 22Sep14 12:19:11 - SSH_MSG_USERAUTH_SUCCESS: authentication successful

            [03] Mon 22Sep14 12:19:11 - Login successful.

            [07] Mon 22Sep14 12:19:11 - SSH_MSG_CHANNEL_OPEN: type: session; local channel: 0

            [08] Mon 22Sep14 12:19:11 - SSH_MSG_CHANNEL_OPEN_CONFIRMATION: local channel: 0; remote channel: 0

            [07] Mon 22Sep14 12:19:11 - SSH_MSG_CHANNEL_REQUEST: remote channel: 0; request type: subsystem; subsytem: sftp

            [08] Mon 22Sep14 12:19:11 - SSH_MSG_CHANNEL_SUCCESS: channel request succeeded; local channel: 0

            [07] Mon 22Sep14 12:19:11 - SSH_FXP_INIT: client version: 6

            [08] Mon 22Sep14 12:19:11 - SSH_FXP_VERSION: server version: 3

            [03] Mon 22Sep14 12:19:11 - Negotiated SFTP version 3

            [07] Mon 22Sep14 12:19:11 - SSH_FXP_REALPATH: translating path: .

            [08] Mon 22Sep14 12:19:12 - SSH_FXP_NAME: translated path: /

            [13] Mon 22Sep14 12:19:12 - (Action: "xxxxxxx" to "C:\Users\xxxxxxx\Input") - Downloading from "xxxxx" to "C:\Users\xxxxxxxx\Input"

            [07] Mon 22Sep14 12:19:12 - SSH_FXP_STAT: path: 11612

            [08] Mon 22Sep14 12:19:12 - SSH_FXP_ATTRS: ok

            [03] Mon 22Sep14 12:19:12 - Listing contents of: xxxxx

            [07] Mon 22Sep14 12:19:12 - SSH_FXP_OPENDIR: path: xxxxx

            [08] Mon 22Sep14 12:19:12 - SSH_FXP_HANDLE: handle: xxxxx

            [08] Mon 22Sep14 12:19:12 - SSH_FXP_STATUS: status: SSH_FX_EOF; description: eof

            [07] Mon 22Sep14 12:19:12 - SSH_FXP_CLOSE: handle: xxxxx

            [08] Mon 22Sep14 12:19:12 - SSH_FXP_STATUS: status: SSH_FX_OK; description: Ok

            [03] Mon 22Sep14 12:19:12 - Listing complete: xxxxx

             

            After this line, it keeps the connection alive, and get's stuck without quiting.

             

            Thanks for any help.