APIs & Integrations

jameshollands
Member

Unable to upload to hubspot via FTP - 551 error

I am unable to upload files to hubspot via ftp. I am using filezilla.
I receive the following 551 error - Response: 551
My colleagues have tried on their computers and all receive the same errors.

The person on this thread seems to have the same problem: File upload fails with FTP reply code 551

But the solution is for hubspot to 'restart their servers', which sounds odd to me.

Thanks in advance for any help

0 Upvotes
4 Replies 4
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Unable to upload to hubspot via FTP - 551 error

Hi @jameshollands,

Just checking in on this;:

  1. What is the full path you're trying to save to? HubSpot does not allow files to be added on a category folder. Files must be saved in a subfolder of its category folder.
  2. Can you Direct message me your Hub ID and the template file you're trying to upload?
  3. Can we get screenshots of his settings?
0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Unable to upload to hubspot via FTP - 551 error

Hi @jameshollands,

I'll dig into this with the team and get back to you when I have some more information (likely early next week).

0 Upvotes
jameshollands
Member

Unable to upload to hubspot via FTP - 551 error

Hi @Derek_Gervais

I am using FileZilla FTP client.
I have followed the instructions here: https://designers.hubspot.com/docs/tools/hubspot-ftp

Here is the error output from filezilla:

Status: Starting upload of C:\Users\jameshollands\Source\Repos****\deploy\1.0.0\js\scripts.js
Status: Retrieving directory listing of "/portals/********/content/templates/custom/assets"...
Command: TYPE I
Response: 200 Command TYPE okay.
Command: PASV
Response: 227 Entering Passive Mode (52,202,128,241,12,160)
Command: MLSD
Response: 150 File status okay; about to open data connection.
Response: 226 Closing data connection.
Command: TYPE A
Response: 200 Command TYPE okay.
Command: PASV
Response: 227 Entering Passive Mode (52,202,128,241,12,218)
Command: STOR scripts.js
Response: 150 File status okay; about to open data connection.
Response: 551 /portals/********/content/templates/custom/assets/scripts.js: Error on output file.
Error: File transfer failed
Status: Connection closed by server

I have tried using different files to upload, but get the same error. When I try to upload, FileZilla tries 3 times to upload the file, then stops after the 3rd fail.

Thanks for you help. Let me know if I can give any more details.

Thanks,
James

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Unable to upload to hubspot via FTP - 551 error

Hi @jameshollands,

Can you give me some more info on these errors? Where are you trying to save the files in HubSpot? Which FTP client are you using? Are you unable to upload any files at all?

0 Upvotes