FTP filename missing extention

  • 2
  • Problem
  • Updated 2 years ago
The file created for an FTP upload is being created without an extension! 
Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
  • bummed out, dude!

Posted 2 years ago

  • 2
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 712 Posts
  • 175 Reply Likes
Hi Barry,

Sorry about this! If you are using FTP custom code, you can add .[fileext] to the end and it will solve the issue. We will make sure to get this fixed so you don't have to do this though.
Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
Thanks for the reply, Luke. Adding [.filext] won't help, because the actual file doesn't have an extension! 
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 712 Posts
  • 175 Reply Likes
Sorry for the misunderstanding, I see what you're saying. Are you sharing an image or a video? Is it a capture you took with Snagit or something you brought into Snagit?
Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
Sharing an image capture  took with snagit.
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 712 Posts
  • 175 Reply Likes
Captures taken with Snagit have the extension .snagproj, but we hide that when we display it in Snagit. When you go to share however, we convert the capture into a png (or whatever your Drag and Paste format is set to in Snagit's advanced settings). If you add the .[fileext] to the ftp custom code, it should solve the issue.

Let us know if you have any other questions.
(Edited)
Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
I have the Drag & Paste format set to png.
When the file is created on the server it is created without an extension. See screen shot (which I saved to my computer using snagit, and it correctly added a png extension - this does not happen when uploading via FTP). See extension missing on server:
Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
FYI, I am also in contact with Nate at Techsmith here: https://support.techsmith.com/hc/en-us/requests/309019?page=1
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 712 Posts
  • 175 Reply Likes
Ok, I see the same thing you're seeing, although I'm able to fix it by adding .[fileext] to the end of the custom code field in the FTP plugin setup. Does adding that work for you?

Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
Haven't tried it, but again the clipboard code is not the problem. The Actual Filename on the server is the problem! Are you seeing that?  If you add the fileext to the clipboard can you actually reference that file on the servier (ie display it??) How could it??? 
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 712 Posts
  • 175 Reply Likes
The custom clipboard code will actually modify the filename before sending it to the server. It needs to in order to ensure that the clipboard contents match the file on the server.
Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
Well, whaddya know. That works! Thanks! 
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 712 Posts
  • 175 Reply Likes
Glad to hear it! Sorry for the confusion.
Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
I spoke too soon. I use two different FTP outputs. One with Image tags, one without. The output without img tags works fine. This is custom clipboard code:

http://www.WaccoBB.net/forums/waccobb/keep90days/[filename].[fileext]

HOWEVER, my other output, which wraps the return filename with [IMG]...[/IMG] tags does not.

Here is the custom clipboard output: 

[IMG]http://www.WaccoBB.net/forums/waccobb/keep90days/[filename].[fileext][/IMG]

The file that gets created is called "IMG]" (no quotes).  See screen shot. Can you duplicate??

Photo of Luke Griffioen

Luke Griffioen, Employee

  • 712 Posts
  • 175 Reply Likes
It looks like the issue there is the / since it sees that and treats it as a folder.
Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
That's understandable. Can you fix it? Seems like it would be (or should be) a common use case.
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 712 Posts
  • 175 Reply Likes
Yes we can look into getting this fixed. Just to make sure I understand the problem correctly, you want the file on the FTP server from this example

[IMG]http://www.WaccoBB.net/forums/waccobb/keep90days/[filename].[fileext][/IMG]

to end up looking something like

http://www.WaccoBB.net/forums/waccobb/keep90days/filename.png

and the custom clipboard text to look like

[IMG]http://www.WaccoBB.net/forums/waccobb/keep90days/filename.png[/IMG]
Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
Correct! It used to work until the last update. If you need the clipboard code to be encoded differently so your parser doesn't get confused, that's fine by me as long as it is well documented. 
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 712 Posts
  • 175 Reply Likes
Alright, I will report back here when we have a fix. Thanks for all the info!
Photo of barry

barry

  • 15 Posts
  • 2 Reply Likes
My pleasure, and thanks for your responsiveness. Snagit is a critically important tool for me and I appreciate it immensely! 
Photo of Luke Griffioen

Luke Griffioen, Employee

  • 712 Posts
  • 175 Reply Likes
Hi Barry,

This should be fixed in our 4.1.2 update that we released today. Let us know if you have any other questions/concerns.
Photo of Barry Chertov

Barry Chertov

  • 11 Posts
  • 1 Reply Like
Thanks! You guys Rock!