Author Topic: Variable replace failure with ftp  (Read 4914 times)

Offline Bob M

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • The McElroys of Point Alexander
Variable replace failure with ftp
« on: December 06, 2009, 04:21:07 PM »
I was trying out the ftp feature and discovered the following incorrect (I presume) behaviour.

I had a set of photos, both raw (cr2) and jpegs.  As well, I had a full set of coresponding xmp files.  They were all in the same directory.  I tried using the ftp feature to transfer these to my network attached storage (which includes an ftp server).  I chose to send both the RAW and JPEG files.  I chose that they were to be copied into a dated folder.  The raw and jpeg files ended up in the destination folder /shared/photos/test/20091206/  The xmp files ended up in the folder /shared/photos/test/{todaysort}/  That is, the {todaysort} variable was not replaced by 20091206 for the xmp file directory.

I am running PM version 4.6.2.2 (beta) on windows xp (service pack 3).  I did not rename the files on tranmission nor did I apply the IPTC stationary.  While I don't think my NAS is relevant, it is a 1TB Western Digital "My Book World Edition".

thanks
Bob M

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: Variable replace failure with ftp
« Reply #1 on: December 06, 2009, 04:48:12 PM »
Bob,

I was trying out the ftp feature and discovered the following incorrect (I presume) behaviour.

I had a set of photos, both raw (cr2) and jpegs.  As well, I had a full set of coresponding xmp files.  They were all in the same directory.  I tried using the ftp feature to transfer these to my network attached storage (which includes an ftp server).  I chose to send both the RAW and JPEG files.  I chose that they were to be copied into a dated folder.  The raw and jpeg files ended up in the destination folder /shared/photos/test/20091206/  The xmp files ended up in the folder /shared/photos/test/{todaysort}/  That is, the {todaysort} variable was not replaced by 20091206 for the xmp file directory.

I am running PM version 4.6.2.2 (beta) on windows xp (service pack 3).  I did not rename the files on tranmission nor did I apply the IPTC stationary.  While I don't think my NAS is relevant, it is a 1TB Western Digital "My Book World Edition".

Can you give me a directory listing of the folder you were browsing?

Thanks,

-Kirk

Offline Bob M

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • The McElroys of Point Alexander
Re: Variable replace failure with ftp
« Reply #2 on: December 06, 2009, 05:48:58 PM »
Kirk


Can you give me a directory listing of the folder you were browsing?

Thanks,

-Kirk


Is this what you were looking for?

 Volume in drive C is red_pine
 Volume Serial Number is 84C3-D56C

 Directory of C:\photos\20091205

09-12-06  08:29 PM    <DIR>          .
09-12-06  08:29 PM    <DIR>          ..
09-12-05  07:02 PM        24,369,020  10e-0451.cr2
09-12-05  07:02 PM         8,870,380   10e-0451.jpg
09-12-05  07:02 PM             1,919     10e-0451.xmp
09-12-05  07:02 PM        24,934,040   10e-0452.cr2
09-12-05  07:02 PM         9,768,023    10e-0452.jpg
09-12-05  07:02 PM             1,919      10e-0452.xmp
09-12-05  07:02 PM        26,326,184    10e-0453.cr2
09-12-05  07:02 PM        11,172,747   10e-0453.jpg
09-12-05  07:02 PM             1,919     10e-0453.xmp
09-12-05  07:02 PM        26,406,444   10e-0454.cr2
09-12-05  07:02 PM        10,480,530   10e-0454.jpg
09-12-05  07:02 PM             1,919      10e-0454.xmp
09-12-05  07:02 PM        25,124,056    10e-0455.cr2
09-12-05  07:02 PM         9,728,538    10e-0455.jpg
09-12-05  07:02 PM             1,919      10e-0455.xmp
09-12-05  07:02 PM        20,259,112    10e-0456.cr2
09-12-05  07:02 PM         6,294,715 10e-0456.jpg
09-12-05  07:02 PM             1,919 10e-0456.xmp
09-12-05  07:02 PM        26,906,748 10e-0457.cr2
09-12-05  07:02 PM         9,847,758 10e-0457.jpg
09-12-05  07:02 PM             1,919 10e-0457.xmp
09-12-05  07:02 PM        26,191,020 10e-0458.cr2
09-12-05  07:02 PM         9,492,093 10e-0458.jpg
09-12-05  07:02 PM             1,919 10e-0458.xmp
09-12-05  07:03 PM        23,541,488 10e-0459.cr2
09-12-05  07:03 PM         8,023,181 10e-0459.jpg
09-12-05  07:03 PM             1,919 10e-0459.xmp
09-12-05  07:03 PM        23,447,544 10e-0460.cr2
09-12-05  07:03 PM         8,751,320 10e-0460.jpg
09-12-05  07:03 PM             1,919 10e-0460.xmp
09-12-05  07:03 PM        23,462,000 10e-0461.cr2
09-12-05  07:03 PM         7,511,547 10e-0461.jpg
09-12-05  07:03 PM             1,919 10e-0461.xmp
09-12-05  07:03 PM        25,801,196 10e-0462.cr2
09-12-05  07:03 PM         9,715,803 10e-0462.jpg
09-12-05  07:03 PM             1,919 10e-0462.xmp
09-12-05  07:03 PM        23,829,868 10e-0463.cr2
09-12-05  07:03 PM         7,851,354 10e-0463.jpg
09-12-05  07:03 PM             1,919 10e-0463.xmp
09-12-05  07:03 PM        23,405,692 10e-0464.cr2
09-12-05  07:03 PM         8,133,178 10e-0464.jpg
09-12-05  07:03 PM             1,919 10e-0464.xmp
09-12-05  07:03 PM        24,474,884 10e-0465.cr2
09-12-05  07:03 PM         9,138,832 10e-0465.jpg
09-12-05  07:03 PM             1,919 10e-0465.xmp
09-12-05  07:03 PM        24,136,404 10e-0466.cr2
09-12-05  07:03 PM         8,609,266 10e-0466.jpg
09-12-05  07:03 PM             1,919 10e-0466.xmp
09-12-05  07:03 PM        28,063,148 10e-0467.cr2
09-12-05  07:03 PM        10,820,187 10e-0467.jpg
09-12-05  07:03 PM             1,919 10e-0467.xmp
09-12-05  07:03 PM        19,647,496 10e-0468.cr2
09-12-05  07:03 PM         5,190,907 10e-0468.jpg
09-12-05  07:03 PM             1,919 10e-0468.xmp
09-12-06  08:29 PM                 0 dir.txt
              55 File(s)    599,761,245 bytes
               2 Dir(s)  37,741,207,552 bytes free


Is this what you are looking for?  I didn't know how to get a directory listing I could post with windows so I used DOS and redirected it to a txt file.  I manually added some space for clarity in the first few entries.

Bob M

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: Variable replace failure with ftp
« Reply #3 on: December 06, 2009, 08:51:28 PM »
Bob,


Can you give me a directory listing of the folder you were browsing?

Is this what you were looking for?

Yes, it was.  Thanks.  Could you also post a JPEG screenshot of your thumbnails selected in the contact sheet just prior to uploading them via FTP?  I want to be certain that your XMP sidecar files are not somehow being orphaned from their associated CR2 files.

Thanks,

-Kirk

Offline Bob M

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • The McElroys of Point Alexander
Re: Variable replace failure with ftp
« Reply #4 on: December 07, 2009, 05:15:05 AM »
Kirk

I redid my ftp test this morning; same result (but a different "today date").

I have attached a screen shot of the selected thumbnails and the ftp log.

Bob


[attachment deleted by admin]

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: Variable replace failure with ftp
« Reply #5 on: December 07, 2009, 06:34:06 AM »
Bob,

I redid my ftp test this morning; same result (but a different "today date").

I have attached a screen shot of the selected thumbnails and the ftp log.

Thanks for the screen shot.  I'm able to reproduce the problem and we're working on a fix.

-Kirk
« Last Edit: December 07, 2009, 09:11:23 AM by Kirk Baker »

Offline Bob M

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • The McElroys of Point Alexander
Re: Variable replace failure with ftp
« Reply #6 on: January 04, 2010, 12:34:57 PM »
Kirk

PM version 4.6.2.2 (beta) (with Widow xp sp3) took care of the problem I originally reported.  Thank you.  However, today I tried a somewhat more complicated upload path:

/Public/photos/{year4}/{month0}/{day0}-{headline}/

where my IPTC headline was (for example): Snowshoeing in the Petawawa Research Forest

(The IPTC data had been previously written; it was not being added on FTPing.  My scource directory contained only jpegs, no raw or xmp files.)

My photos ended up in

/Public/photos/2010/01/04-{headline}

That is, {headline} was not replaced.  This same behaviour occured for several sets of photos with different headlines, but all headlines comprised multiple words and spaces.

thanks
Bob M

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: Variable replace failure with ftp
« Reply #7 on: January 04, 2010, 03:54:01 PM »
Bob,

PM version 4.6.2.2 (beta) (with Widow xp sp3) took care of the problem I originally reported.  Thank you.  However, today I tried a somewhat more complicated upload path:

/Public/photos/{year4}/{month0}/{day0}-{headline}/

where my IPTC headline was (for example): Snowshoeing in the Petawawa Research Forest

(The IPTC data had been previously written; it was not being added on FTPing.  My scource directory contained only jpegs, no raw or xmp files.)

My photos ended up in

/Public/photos/2010/01/04-{headline}

That is, {headline} was not replaced.  This same behaviour occured for several sets of photos with different headlines, but all headlines comprised multiple words and spaces.

I was able to reproduce this and fix it as well.  Thanks for following up.

The fix will appear in the next update to 4.6.2.2.

-Kirk

Offline Bob M

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • The McElroys of Point Alexander
Re: Variable replace failure with ftp
« Reply #8 on: January 04, 2010, 05:31:17 PM »
Excellent support.  Thank you.

Bob