Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Jamie Jensen
2017-08-10T15:47:33Z
I'm trying to send SFTP connection and file upload results from a task in an email. When I get the email or look in the task results the log is severely truncated. If I change the the upload task to FTP (using a different site) the log is complete. Is there a problem with SFTP logging?

The SFTP log results using visualcron look like this:
Server key received (DSA). Fingerprint is 21:a0:d2:72:ea:32:fc:fc:51:6c:3d:db:76:72:25:3b
/TRIL20170810W1502378876310W.pgp

If I use Filezilla the logging looks like this:
Status: Connecting to ftp.somesite.com...
Response: fzSftp started
Command: open "Upload@ftp.somesite.com" 22
Command: Pass: ********
Status: Connected to ftp.somesite.com
Status: Retrieving directory listing...
Command: pwd
Response: Current directory is: "/"
Command: ls
Status: Listing directory /
Status: Calculating timezone offset of server...
Command: mtime "TRIL20170710W1499740262807W.pgp"
Response: 1502378583
Status: Timezone offsets: Server: -14400 seconds. Local: -18000 seconds. Difference: -3600 seconds.
Status: Directory listing successful
Status: Connecting to ftp.jobcredits.com...
Response: fzSftp started
Command: open "Upload@ftp.somesite.com" 22
Command: Pass: ********
Status: Connected to ftp.somesite.com
Status: Starting upload of D:\P_Drive\Services\FileTransfer\FirstAdvantage\UploadedFiles\111816payrollfile.pgp
Command: cd "/"
Response: New directory is: "/"
Command: put "D:\P_Drive\Services\FileTransfer\FirstAdvantage\UploadedFiles\111816payrollfile.pgp" "111816payrollfile.pgp"
Status: local:D:\P_Drive\Services\FileTransfer\FirstAdvantage\UploadedFiles\111816payrollfile.pgp => remote:/111816payrollfile.pgp
Status: File transfer successful, transferred 229,376 bytes in 2 seconds
Status: Retrieving directory listing...
Command: ls
Status: Listing directory /
Status: Directory listing successful
Sponsor
Forum information
Support
2017-08-11T16:26:01Z
FileZilla is creating a "fake" log. For example, there is no pwd command in SFTP. They are trying to simulate something similar to what they are doing but commands not the same (and evident) like FTP protocol.

We might "fake" this in the future but for now we do not have it.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Jamie Jensen
2017-08-11T16:51:00Z
I'm confused. If I look up SFTP commands there are quite a few examples of the pwd command. Are you saying that the SFTP protocol doesn't provide any logging during the session? If I set up a task using FTP I get a clear log result of all commands and results from the FTP server in stdout logs. Why are there no similar results when using SFTP?
Scroll to Top