Scheduled SSH/SFTP transfer adds 2kb to file

Core FTP client questions and answers
Locked
rpglegal
Posts: 3
Joined: Mon Aug 01, 2011 3:47 pm

Scheduled SSH/SFTP transfer adds 2kb to file

Post by rpglegal »

Using Core FTP Pro 2.2 build 1679 If use the product to pull a file down manually it works without issue, If I que that task and then use the queued task to create a scheduled job, every time the file comes down it's size is 2KB larger than the original, and the file is corrupted, somewhere within itself, as the program that uses the file , cannot load it and it fails. I can then run the same task manually and it works flawlessly...
ForumAdmin
Site Admin
Posts: 985
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

it might be that you are downloading a binary file in ascii mode.

Try setting

Advanced -> ssh -> "simulate ascii mode for SFTP" unchecked
Advanced -> transfers -> Set default transfer mode to BINARY

in the site profile used for scheduling.
rpglegal
Posts: 3
Joined: Mon Aug 01, 2011 3:47 pm

That fixed it!

Post by rpglegal »

Not sure about the other reply but yes, changing to binary corrected the issue. THANKS!
Locked