---
title: "Comment by Derick Zihalirwa on \"3 Ways to Upload Files to Google Cloud Storage with NextJS and Formidable\" | Hashnode"
description: "Hello there. Greate Article. I have a question tho, -Does this implementation works in production too?"
url: "https://hashnode.com/posts/3-ways-to-upload-files-to-google-cloud-storage-with-nextjs-and-formidable/6367a8f44eeb55c059f20425/comment/64d66c92d459393b57af7bf3"
---

[Discussion](https://hashnode.com/posts/3-ways-to-upload-files-to-google-cloud-storage-with-nextjs-and-formidable/6367a8f44eeb55c059f20425)

Comment [3 Ways to Upload Files to Google Cloud Storage with NextJS and Formidable](https://hashnode.com/posts/3-ways-to-upload-files-to-google-cloud-storage-with-nextjs-and-formidable/6367a8f44eeb55c059f20425)

[Derick Zihalirwa](https://hashnode.com/@Qaizer)

[Aug 11, 2023](https://hashnode.com/posts/3-ways-to-upload-files-to-google-cloud-storage-with-nextjs-and-formidable/6367a8f44eeb55c059f20425/comment/64d66c92d459393b57af7bf3)

Hello there. Greate Article. I have a question tho, -Does this implementation works in production too?

[Wool Doughnut](https://hashnode.com/@WoolDoughnut310)

[Aug 14, 2023](https://hashnode.com/posts/3-ways-to-upload-files-to-google-cloud-storage-with-nextjs-and-formidable/6367a8f44eeb55c059f20425/comment/64d66c92d459393b57af7bf3#reply-64da14dc4429385b927ff5e1)

Hi. My main focus for deploying this NextJS app was on serverless environments like Vercel, hence `formidable-serverless`. So if the setup doesn't work, and you don't need to deploy to a serverless platform, you could try replacing `formidable-serverless` with the original `formidable`. Alternatively, a 4th method could involve generating a signed URL for uploading in an API route. Subsequently, a PUT request can be sent from the frontend to that signed URL that includes the user's file. I may update the article with this 4th method, but for now, see [github.com/googleapis/nodejs-storage/blob/main/sa…](https://github.com/googleapis/nodejs-storage/blob/main/samples/generateV4UploadSignedUrl.js)

[Derick Zihalirwa](https://hashnode.com/@Qaizer)

[Aug 14, 2023](https://hashnode.com/posts/3-ways-to-upload-files-to-google-cloud-storage-with-nextjs-and-formidable/6367a8f44eeb55c059f20425/comment/64d66c92d459393b57af7bf3#reply-64da160d4429385b927ff640)

Thanks for your quick reply: I think I manage to make it work. i created a new method [Joseph Nma](https://hashnode.com/@WoolDoughnut310) you can check what what I changed here : [shorturl.at/bdrw8.](https://shorturl.at/bdrw8.) Let me know if there's anything wrong with my implementation. Thanks
