Menu

#1332 curl via python sript

closed-rejected
nobody
None
8
2014-02-05
2014-02-05
No

I'm trying to upload some GeoTIFF files to a ftp with curl. I call the command in the final of a python script which generates my .tif files with os.system('curl...'). However in spite of the files be uploaded to the FTP, the first one being uploaded does not contain all the data.
I mean, checking in the folder where the files are created, it is possible to see that when the first product is being uploaded, its size decreases from 220Mb to 190Mb and when the 190Mb are uploaded to the FTP, the product returns to 200Mb. The rest of the files are uploaded without any problem. If I call the curl via command line everything is fine. What can it be?

Thanks in advance

Discussion

  • Dan Fandrich

    Dan Fandrich - 2014-02-05

    This is a bug reporting forum, not a Q&A forum. Please read http://www.catb.org/~esr/faqs/smart-questions.html then post your question to the curl-and-python mailing list (if you're using the Python binding) or the curl-users list if you're not.

     
  • Dan Fandrich

    Dan Fandrich - 2014-02-05
    • status: open --> closed-rejected