FTP with raw sockets is a little bit tricky because it actually requires a
second 'data' socket to be opened for each upload/download command.
Check out this excellent FTP class, which *doesn't* require PHP to be
compiled --with-ftp:
http://www.spencernetwork.org/ftp/ftp-class.txt
And of course
> I have written the code to upload using RAW FTP commands.
Cool!
How'd you get it to work?
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I
Hey Chris:
On Tue, Mar 26, 2002 at 12:44:21PM -0700, Chris wrote:
> OK. I don't know how I can be more specific, but I will try.
Dude, let's look at your initial question to the list:
>> Can anyone help me with the command I need for a RAW FTP file
>> upload? I can create connections and they
OK. I don't know how I can be more specific, but I will try. I have used
fopen(ftp://url) to upload files to the FTP server from a web form, however
this fails on files over 5k in size.
I do not have the FTP functions installed on the server I will be using.
I simply want to know how I would use
Hi Chris:
> Yes. Your solutions fails for any file over 5k about 99% of the time. The
> server I use does not have the FTP functions installed so I cannot use
I wouldn't really call it "your solution," since it's really "the
solution." FTP stands for File Transfer Protocol. If you don't have a
Yes. Your solutions fails for any file over 5k about 99% of the time. The
server I use does not have the FTP functions installed so I cannot use
these, that is why I am looking to this solution.'
Chris
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PRO
Hi Chris:
On Mon, Mar 25, 2002 at 02:05:30PM -0700, Chris wrote:
> Can anyone help me with the command I need for a RAW FTP file upload?
> I can create connections and they empty file, but I have no idea how to get
> the data into the file and I have tried everything.
Have you tried first creati
Can anyone help me with the command I need for a RAW FTP file upload?
I can create connections and they empty file, but I have no idea how to get
the data into the file and I have tried everything.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
8 matches
Mail list logo