Lines Matching refs:basesink

179 set_ftp_dynamic_options_unlocked (GstCurlBaseSink * basesink)  in set_ftp_dynamic_options_unlocked()  argument
182 GstCurlFtpSink *sink = GST_CURL_FTP_SINK (basesink); in set_ftp_dynamic_options_unlocked()
206 last_slash = strrchr (basesink->file_name, '/'); in set_ftp_dynamic_options_unlocked()
209 g_strndup (basesink->file_name, last_slash - basesink->file_name); in set_ftp_dynamic_options_unlocked()
214 rename_to = g_strdup_printf ("%s%s", RENAME_TO, basesink->file_name); in set_ftp_dynamic_options_unlocked()
219 tmp = g_strdup_printf ("%s%s", basesink->url, uploadfile_as); in set_ftp_dynamic_options_unlocked()
227 res = curl_easy_setopt (basesink->curl, CURLOPT_URL, tmp); in set_ftp_dynamic_options_unlocked()
230 basesink->error = g_strdup_printf ("failed to set URL: %s", in set_ftp_dynamic_options_unlocked()
236 curl_easy_setopt (basesink->curl, CURLOPT_POSTQUOTE, sink->headerlist); in set_ftp_dynamic_options_unlocked()
238 basesink->error = g_strdup_printf ("failed to set post quote: %s", in set_ftp_dynamic_options_unlocked()
247 tmp = g_strdup_printf ("%s%s", basesink->url, basesink->file_name); in set_ftp_dynamic_options_unlocked()
248 res = curl_easy_setopt (basesink->curl, CURLOPT_URL, tmp); in set_ftp_dynamic_options_unlocked()
251 basesink->error = g_strdup_printf ("failed to set URL: %s", in set_ftp_dynamic_options_unlocked()
261 set_ftp_options_unlocked (GstCurlBaseSink * basesink) in set_ftp_options_unlocked() argument
263 GstCurlFtpSink *sink = GST_CURL_FTP_SINK (basesink); in set_ftp_options_unlocked()
266 res = curl_easy_setopt (basesink->curl, CURLOPT_UPLOAD, 1L); in set_ftp_options_unlocked()
268 basesink->error = g_strdup_printf ("failed to prepare for upload: %s", in set_ftp_options_unlocked()
275 res = curl_easy_setopt (basesink->curl, CURLOPT_FTPPORT, in set_ftp_options_unlocked()
279 basesink->error = g_strdup_printf ("failed to set up active mode: %s", in set_ftp_options_unlocked()
289 res = curl_easy_setopt (basesink->curl, CURLOPT_FTP_USE_EPSV, 0); in set_ftp_options_unlocked()
291 basesink->error = in set_ftp_options_unlocked()
300 res = curl_easy_setopt (basesink->curl, CURLOPT_FTP_CREATE_MISSING_DIRS, in set_ftp_options_unlocked()
303 basesink->error = in set_ftp_options_unlocked()