Page 1 of 1

ftp_put w/out file upload - IS THIS POSSIBLE??

Posted: Fri Sep 24, 2004 11:09 am
by clem_c_rock
hello,
I need to find a way to upload a file to a server w/out using the

<INPUT TYPE="FILE" NAME="uploaded_file">

method. I want to just provide the path of the file and send that to the ftp_put() function.

Is this possible or is there another way to transfer the file?

I know this is desparate but this is what I'm trying to do:

$test_file = 'C:\Documents and Settings\All Users\Desktop\SITES\RESEAU_DESIGNS\ACCESS_MEDICAL\new_site\rexview.txt';
if( ftp_put( $conn_id, 'text_file.txt', $test_file, FTP_BINARY ) )



Thanks,
Clem C

feyd | Thread LOCKED, :arrow: original thread