Author Topic: Uploading dupe image  (Read 1048 times)

Offline JonHob

  • Member
  • **
  • Posts: 92
    • View Profile
Uploading dupe image
« on: December 18, 2016, 11:35:53 AM »
Hi

I uploaded an image to a gallery with an incorrect caption. After noticing my error I corrected the caption and uploaded the image a second time making sure 'Replace existing file on server' was selected.

The file uploaded but it didn't replace the original file, it just added the second with an x at the end of the file name. Any idea why?

Mac OS
MacBook Pro i7
10.12.2
PM v5 17719


Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 20253
    • View Profile
    • Camera Bits, Inc.
Re: Uploading dupe image
« Reply #1 on: December 18, 2016, 11:47:58 AM »
Jon,

I uploaded an image to a gallery with an incorrect caption. After noticing my error I corrected the caption and uploaded the image a second time making sure 'Replace existing file on server' was selected.

The file uploaded but it didn't replace the original file, it just added the second with an x at the end of the file name. Any idea why?

Which upload template are you using?

-Kirk

Offline JonHob

  • Member
  • **
  • Posts: 92
    • View Profile
Re: Uploading dupe image
« Reply #2 on: December 18, 2016, 12:24:34 PM »
Hi Kirk


The FTP

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 20253
    • View Profile
    • Camera Bits, Inc.
Re: Uploading dupe image
« Reply #3 on: December 18, 2016, 10:15:27 PM »
Jon,

The FTP

Do you have FTP commands logging turned on?  (FTP_COMMANDS_AND_RESPONSES_LOGGING ON)  If not, you'll need to turn logging on.  The way you do this is to create a plain text file named PMDebug.txt in your Photo Mechanic Preferences folder.  The file simply needs to contain the following:

FTP_COMMANDS_AND_RESPONSES_LOGGING ON

Your PM preferences folder is located in the following location:

<your home folder>/Library/Preferences/com.camerabits.PhotoMechanic/  Unfortunately, Apple decided to hide the Library folder by default.  You can get around this by using the "Go to Folder" command on the Go menu in the Finder and entering: ~/Library/Preferences and then confirming the dialog.

If the PMDebug.txt file is found in your PM preferences folder then any settings turned on will be used by PM.  If you then try your upload, your PM.log will then contain a transcript of what commands were sent to and responses received from your FTP server.  It may be that your server doesn't allow a file to be replaced.  Seeing the log will help us determine this.

Once you've tried uploading the same file an additional time, go to the Help menu and choose "Reveal Support Data..." and moments later a Finder window will come forward with the zipped log file selected.  Use the 'Attachments and other options' link when you're composing your reply to this message and there you'll be able to upload your zipped PM log file.

Thanks,

-Kirk