Skip to content

Not uploading from local directory #30

@amanpareek93

Description

@amanpareek93

I am using cloudinary-taglib-1.2.1,cloudinary-core-1.2.1,cloudinary-http44-1.2.1,

Its working perfectly fine with http url but not with local directory path.

uploadResult=cloudinary.uploader().upload(/home/***/im.jpg,options);----{Runtime Exception}

Exception in thread "main" java.lang.RuntimeException: Invalid URL for upload
at com.cloudinary.http44.UploaderStrategy.callApi(UploaderStrategy.java:140)
at com.cloudinary.Uploader.callApi(Uploader.java:22)
at com.cloudinary.Uploader.upload(Uploader.java:55)
at com.snapdeal.reviews.client.api.impl.ImageClientServiceImpl.uploadImage(ImageClientServiceImpl.java:73)
at com.snapdeal.reviews.client.api.impl.ImageClientServiceImpl.main(ImageClientServiceImpl.java:102)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions