Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 01-15-2007, 04:52 AM   #1
nitinmukesh123
Junior Member
 
Join Date: Jan 2007
Posts: 4
Default How to split files on FTP using FTP client

Hi,

I have a small question.

How can i split file into multiple chunks like and file splitter do.
I have a file on FTP of size 600 MB and i want to split it into 100 MB 6 parts. Is there any FTP command to do this.

Though i can do it using PHP but the problem is script timeout limit is very small so before the operation completes script just stops.

Thanks for any help

[EDIT]

More info abt FTP

[R] 220---------- Welcome to Pure-FTPd [TLS] ----------

[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Extensions supported:
[R] EPRT
[R] IDLE
[R] MDTM
[R] SIZE
[R] REST STREAM
[R] MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNI X.gid*;unique*;
[R] MLSD
[R] ESTP
[R] PASV
[R] EPSV
[R] SPSV
[R] ESTA
[R] AUTH TLS
[R] PBSZ
[R] PROT
[R] 211 End.

[R] 227 Entering Passive Mode

Any other info which might be needed i can provide please let me know


* FlashFXP v[ ].[ ], build [ ], [ ]registered, [ ]unregistered, [ ]pirated, [] not using just a simple query maybe if possible i will start using it
* OS [ ] WinXP, [ ] Win2K, [ ] Win98, [ ] WinME, [ ] Other
* Running behind NAT/router [ ] Yes & Model [ ], [ ] No, [ ] Not sure
* Running firewall [ ] Yes, Name [ ], Ver. [ ], or [ ] No
* Running Antivirus [ ] Yes, Name [ ] or [ ] No
* Network [ ] xDSL, [ ] CABLE, [ ] Dail-Up, [ ] Other

Last edited by nitinmukesh123; 01-15-2007 at 09:37 AM.
nitinmukesh123 is offline  
Old 01-15-2007, 01:10 PM   #2
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

Quote:
Originally Posted by nitinmukesh123
How can i split file into multiple chunks like and file splitter do.
I have a file on FTP of size 600 MB and i want to split it into 100 MB 6 parts. Is there any FTP command to do this.
ftp doesn't have such command. however you can dowload that file, abort it whenever you need to and then resume downloading at a later time.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 01-15-2007, 03:26 PM   #3
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

use a dos file splitter or simply use total commander.
FTPServerTools is offline  
Old 01-15-2007, 11:58 PM   #4
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

Quote:
Originally Posted by FTPServerTools
use a dos file splitter or simply use total commander.
it sounds like he wants to do it on the remote server...so neither of your suggestions would work.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 01-16-2007, 12:03 AM   #5
nitinmukesh123
Junior Member
 
Join Date: Jan 2007
Posts: 4
Default

Quote:
Originally Posted by MxxCon
it sounds like he wants to do it on the remote server...so neither of your suggestions would work.
Absolutely.

I have been using PHP functions (chunk_split) to do this and work fine. But fails when the filesize is big as there is a 10 sec. script execution limit.

So should i assume there is no way to do this using FTP client
nitinmukesh123 is offline  
Old 01-16-2007, 05:18 AM   #6
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

Well if you want to do it on the sever you can make yourself a site command and run a dos file splitter. They are easy to write. But by BIG you mean more then 4G right?
I am sure I got a filesplitter lying around somewhere and can put it up otherwise it is super easy to make.
FTPServerTools is offline  
Old 01-16-2007, 09:30 AM   #7
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

again sounds like it's a shared hosting eviroment with strict quotas on everythings..i highly doubt he would be allowed to make any modifications to ftp server to allow running custom "site" commands.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 01-16-2007, 09:42 AM   #8
nitinmukesh123
Junior Member
 
Join Date: Jan 2007
Posts: 4
Default

Quote:
Originally Posted by MxxCon
again sounds like it's a shared hosting eviroment with strict quotas on everythings..i highly doubt he would be allowed to make any modifications to ftp server to allow running custom "site" commands.
Again you are right.
Its a shared free hosting. No custom site command will be allowed.
So it means there is no simple way to do this

Thanks for your help.
nitinmukesh123 is offline  
Closed Thread

Tags
file, flashfxp, ftp, running, [r]

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:27 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)