APIs & Integrations

Not applicable

File upload fails with FTP reply code 551

SOLVE

At the moment, I cannot upload any file to the Hubspot FTP server. The server always replies with a 551 reply code, which, according to http://www.serv-u.com/kb/1534/551-FTP-Reply-Code, means the following:

A 551 reply code may be sent in response to any command requiring the server to store information locally. It is a permanent negative reply, which means the client is discouraged from sending the command again since the server will respond with the same reply code. It is only applicable when the page file structure is being used (through a “STRU P” command).

I am using FTP since decades and didn’t even know that something like a “file structure” even existed. According to the STRU command description, the file structure can be “page”, “record”, or “file”, with the latter being supposed to be the default.

I am using FileZilla for the upload, which has worked successfully before. According to the FilleZilla log, it does not send the STRU command, so I would say the error is on the server side; perhaps it maintains a wrong default.

(One day I’d like to discuss the question why Hubspot uses such an outdated tool like FTP for file upload and does not support something much more usable like rsync. However, that’s a totally different question – though a very valid and important one! Customer satisfaction, you know!)

0 Upvotes
1 Accepted solution
Solution
Not applicable

File upload fails with FTP reply code 551

SOLVE

This also works again after you restarted your FTP services. Please implement a permanent solution! Thanks!

View solution in original post

7 Replies 7
jameshollands
Member

File upload fails with FTP reply code 551

SOLVE

I am struggling with this now. Is there a fix for this?

0 Upvotes
Solution
Not applicable

File upload fails with FTP reply code 551

SOLVE

This also works again after you restarted your FTP services. Please implement a permanent solution! Thanks!

3PETE
HubSpot Employee
HubSpot Employee

File upload fails with FTP reply code 551

SOLVE

@RainerKlute I’m glad it is working again. Sorry for the inconvenience.

3PETE
HubSpot Employee
HubSpot Employee

File upload fails with FTP reply code 551

SOLVE

@RainerKlute was this the precursor post to your more recent one? Regarding the bad TLS handshake?

0 Upvotes
Not applicable

File upload fails with FTP reply code 551

SOLVE

No, I think this one is completely unrelated.

(I’ll get back to you on the other one in a minute …)

0 Upvotes
Not applicable

File upload fails with FTP reply code 551

SOLVE

By the way, to rule out any relation to the TLS handshake issue which I encountered yesterday: While I couldn’t upload files with curl due to the handshake issue, I still was able to do so with Filezilla. I uploaded a few files this morning at about 08:30 UTC, but shortly after that no more upload was possible with Filezilla.

0 Upvotes
3PETE
HubSpot Employee
HubSpot Employee

File upload fails with FTP reply code 551

SOLVE

@RainerKlute A 5xx error means it is server side. I’ll reach out internally and see if there are any known issues going on with FTP.