Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Filenames with commas #16

Closed
peterbe opened this Issue · 2 comments

2 participants

Peter Bengtsson uams
Peter Bengtsson
peterbe@host-7-180:~/Downloads$ geturl 3500px-Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpeg 
Enter your email to link or create your filepicker.io acccount: foo@bar.com

Uploading the file to Filepicker.io...

curl: (26) couldn't open file "3500px-Mona_Lisa"

Traceback (most recent call last):
  File "/usr/local/bin/geturl", line 64, in <module>
    {"filename": filename, "apikey": APIKEY, "fpurl": FPURL, "fileurl": fileurl}, shell=True)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 537, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'curl --progress-bar -F "fileUpload=@3500px-Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpeg" -F "apikey=AFC21lQ73SYmfQT2Ya4oSz" https://www.filepicker.io/api/path/storage/3500px-Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpeg' returned non-zero exit status 26
Peter Bengtsson

Some escaping on the filename would help

uams
Owner

This should be fixed now thanks to #15 Thanks.

uams uams closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.