Author Topic: FTP usernames with a hyphen  (Read 2569 times)

Offline Kevin M. Cox

  • Hero Member
  • *****
  • Posts: 544
  • PM 2024.10 (8173) | macOS 15.1
    • View Profile
    • Kevin M. Cox | Photojournalist
FTP usernames with a hyphen
« on: March 09, 2022, 11:55:57 AM »
Hey Kirk, through some testing I just found out that PM fails when trying to FTP with a username that contains a "-" in it.

Login worked fine using the credentials in regular FTP clients, but PM returned a 503 error. As soon as I removed the hyphen from the username PM could connect just fine.

Let me know if I can provide any additional details.

Thanks,
Kevin
Kevin M. Cox | Photojournalist
https://www.instagram.com/kevin.m.cox/

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: FTP usernames with a hyphen
« Reply #1 on: March 09, 2022, 12:59:58 PM »
Kevin,

Hey Kirk, through some testing I just found out that PM fails when trying to FTP with a username that contains a "-" in it.

Login worked fine using the credentials in regular FTP clients, but PM returned a 503 error. As soon as I removed the hyphen from the username PM could connect just fine.

Where was the hyphen in the username?  Start, middle, end?  Multiple places?

Thanks,

-Kirk

Offline Kevin M. Cox

  • Hero Member
  • *****
  • Posts: 544
  • PM 2024.10 (8173) | macOS 15.1
    • View Profile
    • Kevin M. Cox | Photojournalist
Re: FTP usernames with a hyphen
« Reply #2 on: March 09, 2022, 01:58:41 PM »
It was "freelance-photo" in my testing.
Kevin M. Cox | Photojournalist
https://www.instagram.com/kevin.m.cox/

Offline Jerry H

  • Camera Bits Staff
  • Full Member
  • *****
  • Posts: 233
    • View Profile
    • Camera Bits, Inc.
Re: FTP usernames with a hyphen
« Reply #3 on: March 09, 2022, 02:51:52 PM »
Hi Kevin,

I'm unable to recreate this FTP error when transmitting to an account name that contains a hyphen. I simply created and FTP account named "hyphen-test" and was able to upload files without error. I tested both Photo Mechanic's FTP and FTP v6 upload templates.

There may be more information regarding this error in Photo Mechanic's log file. Go to the Photo Mechanic Help menu and select Reveal Support Data. Then attach the PM.log file to your post.

Thanks,
Jerry

Offline Kevin M. Cox

  • Hero Member
  • *****
  • Posts: 544
  • PM 2024.10 (8173) | macOS 15.1
    • View Profile
    • Kevin M. Cox | Photojournalist
Re: FTP usernames with a hyphen
« Reply #4 on: March 28, 2022, 01:24:05 PM »
Jerry, thanks for the reply. I've been unable to reproduce the error so must have been a one-off problem I experienced. I apologize for the noise.
Kevin M. Cox | Photojournalist
https://www.instagram.com/kevin.m.cox/