FTPing within PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am wondering if I may delete a file by FTPing within PHP.

I found the followed on the PHP web site:

fopen("ftp://user:password@xxxxxxxxxxx/somefile.txt";, "w");

Is there a way for me to delete somefile.txt ?

The FTP program on my computer gives the command

DELE /path/somefile.txt

Is there a way for me to send this command through?

I also need to know the command to disconnect --- and wonder if someone
could tell me it.

Ron

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux