475998 Delete a remote file using Curl


First a little about my project...I have a form, that uses curl to upload an image to a remote computer using Curl. The code is php and uses ftp to upload the file. The upload script that I am using is working great and is located below:

$ch = curl_init();

$localfile = $_FILES['touchimage']['tmp_name'];

$fp = fopen($localfile, 'r');

curl_setopt($ch, CURLOPT_URL, 'ftp://'.$ftp_user_name.':'.$ftp_user_pass.'at'.$ipaddr.':12458/right_frame/middle_frame/images/'.$filenm.''); curl_setopt($ch, CURLOPT_UPLOAD, 1); curl_setopt($ch, CURLOPT_INFILE, $fp);

curl_exec ($ch);

curl_close ($ch);

What I need done is to create a Curl code in php using ftp to delete a file on the remote server. This shouldn't be too hard to do..I just don't know how to do it. The delete code won't have a form...the code will just be run and the file will be deleted on the remote server.



Beceriler: Her şey Kabul, PHP

Daha fazlasını gör: curl ftp delete remote file, php curl delete file, php curl ftp delete remote file, php delete remote file curl, php curl delete remote file, delete remote file curl php, php remote server delete script, curl delete remote file, how to code a computer, delete file using curl, php curl delete ftp, delete remote file using curl php, delete remote file php curl, what is a php file, remote server, Remote computer, how to delete, fp&a, delete, cedric, need curl, curl code, php using, code project remote, remote upload image

İşveren Hakkında:
( 1 değerlendirme ) Surrey, Canada

Proje NO: #2221903


%selectedBids___i_period_sub_7% gün içinde 15%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(0 Değerlendirme)