Filename on FTP upload changes

  • 1
  • Problem
  • Updated 2 years ago
Since the latest version "4.1.1" many things changed unannouced. I have already reported the broken functionality in https://feedback.techsmith.com/techsmith/topics/snagit-mac-ftp-custom-code-variables but it was trivialized and claimed that this functionality was never planed. Funny think i asked for them in another post (https://feedback.techsmith.com/techsmith/topics/outputs-custom-ftp-share-url-new-tags-variables)...

I tried to create a workaround to work with the current version but as it looks like you even managed to bring in new bugs. When i create a screenshot it gets named to the current datetime in following format: YYYY-MM-DD_HH-MM-SS. So far so good. In the FTP-Ouptput-Config i configured that the clipboard format for the url to: https://sub.domain.tld/[date]_[filehash].png

After editing the captured picture i uploaded it to my ftp server. Unfortunatelly the [date] part, which was put the the clipboard is not the same as the [date] on the filename, which was uploaded:

1. Create capture: Filename: 2017-04-11_12-00-00.png
2. Editing the capture
3. Upload to the ftp server -> cliboard: https://sub.domain.tld/2017-04-11_12-05-12_7cbda828644517593daaa60a65c56f4f.png 

The filename on the server: 2017-04-11_12-00-00.png
The filename on the clipboard: 2017-04-11_12-05-12_7cbda828644517593daaa60a65c56f4f.png 

So even if i cut the filehash, i see no possibility to get the file on the server to be returned to my browser. Do i use a wrong field ([date]) here ?
Photo of dv

dv

  • 9 Posts
  • 1 Reply Like
  • frustrated

Posted 2 years ago

  • 1
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 709 Posts
  • 175 Reply Likes
Hi,

The date that this uses is the upload date, rather than the capture date. To make sure the return text matches the file on the server, you would use the [filename] variable, or you can switch from custom code to one of the other choices.
Photo of pjonesCET

pjonesCET

  • 355 Posts
  • 65 Reply Likes
I never you those names I always rename something human readable that has to do with the subject.  And the way Apple and Microsoft  handle certain characters in names can also affect FTP as well.