camE upload fail using passive ftp

Bug #614076 reported by JP Meijers
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
came (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: came

camE uploaded fine with active mode ftp (passive ftp set to 0 in the config file). Due to changes to our firewall I had to change it to use passive mode (passive ftp set to 0 in the config file). The upload of an image then fails after the SIZE and RETR commands with a 550 error (RETR 550 remote file not found).

After debugging I commented out line 1002 in webcam.c in camE's source: /*curl_easy_setopt(curl_handle, CURLOPT_INFILESIZE, st.st_size); */

After this change, a compile and install, my passive ftp uploading works fine.

Source package: came_1.9.orig.tar.gz with came_1.9-3.2ubuntu1.diff.gz applied.
Ubuntu release: Ubuntu 10.04.1 LTS

Revision history for this message
David Rubin (drubin) wrote :

https://edge.launchpad.net/~drubin/+archive/ppa/+sourcepub/1260604/+listing-archive-extra

Not sure who else would need to approve/look at this since it is not really something that I feel comfortable submitting upstream because there is no clear indication of why it was there in the first place.

Revision history for this message
Alexander Heitmann (alexheitmann) wrote :

Not sure how related to passive ftp or INFILESIZE this problem is, but this problem is definitely caused by the #ifdef taking out CURLOPT_MUTE and replacing it with CURLOPT_UPLOAD, in which an upload will only occur if CURLOPT_MUTE is defined or ftp_debug==0.

Lines 993-996

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.