Upload to bucket pictures from a csv file with GAE and Google Cloud Storage The Next CEO of Stack OverflowSlow 5 kbps uploads to Google Cloud Storage from AndroidUploading to Google Cloud via an asp.net webpageUnable to read csv file uploaded on google cloud storage bucketCreate/fill form with values from uploaded CSVUploading files to Google Cloud Storage from .NetDownloading folders from Google Cloud Storage BucketGoogle cloud storage lifecycle configuration filesize?Restore Bucket on Google Cloud StorageUploading csv file with vbaTimeout Error When Uploading File from Google App Engine Storing to Google Cloud Storage
MessageLevel in QGIS3
Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?
What happened in Rome, when the western empire "fell"?
Can we say or write : "No, it'sn't"?
How do I transpose the first and deepest levels of an arbitrarily nested array?
Do I need to enable Dev Hub in my PROD Org?
If/When UK leaves the EU, can a future goverment conduct a referendum to join the EU?
I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin
What connection does MS Office have to Netscape Navigator?
Received an invoice from my ex-employer billing me for training; how to handle?
Is there a difference between "Fahrstuhl" and "Aufzug"
How to invert MapIndexed on a ragged structure? How to construct a tree from rules?
Would a galaxy be visible from outside, but nearby?
How does the mv command work with external drives?
How to start emacs in "nothing" mode (`fundamental-mode`)
Won the lottery - how do I keep the money?
Return the Closest Prime Number
What flight has the highest ratio of time difference to flight time?
Can I equip Skullclamp on a creature I am sacrificing?
Preparing Indesign booklet with .psd graphics for print
If a black hole is created from light, can this black hole then move at speed of light?
Would a completely good Muggle be able to use a wand?
Is micro rebar a better way to reinforce concrete than rebar?
Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?
Upload to bucket pictures from a csv file with GAE and Google Cloud Storage
The Next CEO of Stack OverflowSlow 5 kbps uploads to Google Cloud Storage from AndroidUploading to Google Cloud via an asp.net webpageUnable to read csv file uploaded on google cloud storage bucketCreate/fill form with values from uploaded CSVUploading files to Google Cloud Storage from .NetDownloading folders from Google Cloud Storage BucketGoogle cloud storage lifecycle configuration filesize?Restore Bucket on Google Cloud StorageUploading csv file with vbaTimeout Error When Uploading File from Google App Engine Storing to Google Cloud Storage
First of all, I'm using the standard environment in java.
Here's my problem: I have a directory filled with pictures and I have also a CSV file in which there is some informations in columns AND a column which refers to the name of the associated picture in the directory.
I don't know how I would be able to read the csv file and then upload the corresponding picture situated in the directory.
I had the idea of uploading the csv file in one input file and all the pictures in another input file which be "multiple", but the amount of pictures is really large (approximately 5000).
Any idea to solve this ?
Thanks for your help
java forms google-cloud-platform upload google-cloud-storage
add a comment |
First of all, I'm using the standard environment in java.
Here's my problem: I have a directory filled with pictures and I have also a CSV file in which there is some informations in columns AND a column which refers to the name of the associated picture in the directory.
I don't know how I would be able to read the csv file and then upload the corresponding picture situated in the directory.
I had the idea of uploading the csv file in one input file and all the pictures in another input file which be "multiple", but the amount of pictures is really large (approximately 5000).
Any idea to solve this ?
Thanks for your help
java forms google-cloud-platform upload google-cloud-storage
add a comment |
First of all, I'm using the standard environment in java.
Here's my problem: I have a directory filled with pictures and I have also a CSV file in which there is some informations in columns AND a column which refers to the name of the associated picture in the directory.
I don't know how I would be able to read the csv file and then upload the corresponding picture situated in the directory.
I had the idea of uploading the csv file in one input file and all the pictures in another input file which be "multiple", but the amount of pictures is really large (approximately 5000).
Any idea to solve this ?
Thanks for your help
java forms google-cloud-platform upload google-cloud-storage
First of all, I'm using the standard environment in java.
Here's my problem: I have a directory filled with pictures and I have also a CSV file in which there is some informations in columns AND a column which refers to the name of the associated picture in the directory.
I don't know how I would be able to read the csv file and then upload the corresponding picture situated in the directory.
I had the idea of uploading the csv file in one input file and all the pictures in another input file which be "multiple", but the amount of pictures is really large (approximately 5000).
Any idea to solve this ?
Thanks for your help
java forms google-cloud-platform upload google-cloud-storage
java forms google-cloud-platform upload google-cloud-storage
edited Mar 11 at 11:46
Pawel Czuczwara
748
748
asked Mar 7 at 15:34
etienne31etienne31
105
105
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can use Java Standard Environment with Cloud Storage Client Libraries following those steps:
Setup Cloud Storage.- Upload csv file to the bucket using gsutil cp (can also be used to upload the entire folder).
Read file from the bucket to get file names.- Upload files to the bucket, as shown in this example.
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55047518%2fupload-to-bucket-pictures-from-a-csv-file-with-gae-and-google-cloud-storage%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use Java Standard Environment with Cloud Storage Client Libraries following those steps:
Setup Cloud Storage.- Upload csv file to the bucket using gsutil cp (can also be used to upload the entire folder).
Read file from the bucket to get file names.- Upload files to the bucket, as shown in this example.
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
add a comment |
You can use Java Standard Environment with Cloud Storage Client Libraries following those steps:
Setup Cloud Storage.- Upload csv file to the bucket using gsutil cp (can also be used to upload the entire folder).
Read file from the bucket to get file names.- Upload files to the bucket, as shown in this example.
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
add a comment |
You can use Java Standard Environment with Cloud Storage Client Libraries following those steps:
Setup Cloud Storage.- Upload csv file to the bucket using gsutil cp (can also be used to upload the entire folder).
Read file from the bucket to get file names.- Upload files to the bucket, as shown in this example.
You can use Java Standard Environment with Cloud Storage Client Libraries following those steps:
Setup Cloud Storage.- Upload csv file to the bucket using gsutil cp (can also be used to upload the entire folder).
Read file from the bucket to get file names.- Upload files to the bucket, as shown in this example.
answered Mar 11 at 15:32
Pawel CzuczwaraPawel Czuczwara
748
748
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
add a comment |
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
Thank you for your answer. I'm facing another issue but as soon as I fix it, I will try it. I'll keep you informed.
– etienne31
Mar 13 at 7:51
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55047518%2fupload-to-bucket-pictures-from-a-csv-file-with-gae-and-google-cloud-storage%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown