|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
Hi, I currently have a script that will put a file on to a ftp server it works and all but I have a couple questions:
1. If I'm transfering a zip file (so far have only tried .zip and .txt) it will transfer but when I download or view it with some other FTP program it gives an error that there is 1 extra byte so can't open any files in it. 2. There seams likes there is a file size limt that will be transferd. Is this true? I've not been able to transfer files over 600k or so. ------------------ Viper_SB |
|
#2
|
|||
|
|||
|
You're doing a binary trf for the zip, right?
Also, I've used the php ftp stuff to move files > 1MB, sure it's not a connectivity prob? regs bealers ------------------ http://back-end.org |
|
#3
|
|||
|
|||
|
This is the code I'm useing:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre> $ftp = ftp_connect($ftpserver, 21); if ($ftp) { if (ftp_login($ftp, $ftpuser, $ftppass)) { $ftpfile = @ftp_put($ftp, $remotefile, $localfile, FTP_BINARY); } } ftp_quit($ftp); [/code] I have a ADSL line and am on a local network. A coworker told me that hes been told by ppl who hes e-mailed files to (.zip and .pdf) that they couldn't open them when they got the e-mail. Don't know if that is the connection or something. Thanks for your responds. ------------------ Viper_SB |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Help with FTP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|