Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Path info for ftp uploads

Status
Not open for further replies.

daybase

Technical User
Joined
Dec 13, 2002
Messages
115
Location
GB
Struggling with ftp uploads - is it right to include path name of file to be uploaded? As in:

<?php
$ftp_server="$ftp_user_name="myname";
$ftp_user_pass="mypass";
$destination_file="test.txt";
$source_file="c:/php/test.txt";

etc. etc.

$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);
 
Apologies - bad day added to ftp frustration made me more than little touchy! knickers untwisted now and desite my outburst i really do appreciate all the assistance i get!

D
 
Don't get bent out of shape we were just passing comment. I've never had a formal PHP course but I have searched the web when I need help.
Little tip as well don't have two threads running for the same question.
I'm always glad to help !, but it can be difficult sometimes. for instance there is a post active at the moment (which I wont name) which is gibberish ! and you just know if you answer it you will get the "i'm correct" attitude from them.
Anyway sorry to offend, we might have a beer in the printworks some time !!, shame sleipnir is in us we could have a php evening, so to trade expressions don't get your panties in a bunch (hill street blues circa 1986)
 
Cheers - I thought the threads were just different enough -I thought the path query could be the problem - I encountered something similar on my upload experiments with the need to specify the path on the server relative to the root. That was the breakthrough there - went from strength to strength from there! As for that beer - I'm buying (first one anyway).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top