Hi,
Let me get this straight:
You're trying to transfer a file from a local PC (A) to a server (B). And your
code is running on (B)?
If so, then, (assuming you have things setup correctly, ie have an ftpserver
running on (A)), you should be using ftp_get() or similar.
If not, could
On Monday 06 October 2003 16:48, Ruprecht Helms wrote:
I want that (B) can locate the file on (A) and upload it to the
subdirectory on (B). This should also be possible in the case the user
have no ftp-server on his local pc.
If (A) does not have an ftp server installed then you're asking for
On Mon, 2003-10-06 at 13:05, Jason Wong wrote:
Now I tried the method with move_uploaded (http-upload).
This is the testscript
?php
// upload.php: PHP File Upload im Safe Mode21.5.02/vo
// (http-Protokoll und POST-Mechanismus)
// Skript funktioniert auch im Safe
: Ruprecht Helms [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 05, 2003 5:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Trouble with uploading a file via ftp_put
Hi,
by uploading a file via the ftp_put-command the upload is not done
properly. Result is I have a file in the destinationdirectory but
0 bit
Hi,
by uploading a file via the ftp_put-command the upload is not done
properly. Result is I have a file in the destinationdirectory but
0 bit in size, only the filename is transfered.
How have I to write the script that the file I want upload should
be uploaded within the correct size. The
On Sunday 05 October 2003 17:15, Ruprecht Helms wrote:
by uploading a file via the ftp_put-command the upload is not done
properly. Result is I have a file in the destinationdirectory but
0 bit in size, only the filename is transfered.
How have I to write the script that the file I want
On Sun, 2003-10-05 at 11:39, Jason Wong wrote:
$upload=ftp_put($conn_id,$bild,$dstdir./.$bild,FTP_BINARY);
[/code]
1) You've got your source-file and destination-file mixed up.
2) You've already chdir into 'html' so destination-file so be just '$bild' and
not '$dstdir./.$bild'. Unless
On Sunday 05 October 2003 21:54, Ruprecht Helms wrote:
actual I have the following script.
I want to upload a image from the local pc into the subdir html of a
webspace.
You *are* running this script on the local pc aren't you?
The file I want to upload is not stored in the