FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 14th, 2000, 01:31 PM
Viper_SB
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #2  
Old September 14th, 2000, 06:18 PM
Bealers Bealers is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: London/UK
Posts: 91 Bealers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Send a message via ICQ to Bealers
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

Reply With Quote
  #3  
Old September 14th, 2000, 08:27 PM
Viper_SB
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Help with FTP

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap