Go Back   FlashFXP Forums > > > >

Suggestions Post suggestions for upcoming versions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-09-2003, 07:23 PM   #6
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

What I meant is that client should only use filename when issuing stor/retr/appe/size/list/... :

It might be easier to explain this with examples:

"STOR file.tgz" would be allowed, while "STOR /directory/file.tgz" wouldn't be.

Advantages:

1) This does not require new commands, and some clients are already compatible with this.
2) Modification to client is minimal (no new settings etc)
3) Server may free its' resources immeaditely from ill-behaving client
4) Server can operate with clients, that are using incompatible transfer commands, by doing:

CLNT> STOR /Directory/File.tgz
SRVR> 550 '/Directory/File.tgz': Filename contains path, please re-upload file to begin transfer.
^^ Server caches working directory
CLNT> PASV
SRVR> ....
^^ Server uses cached working directory to determinate which ip to return
CLNT> STOR /Directory/File.tgz
SRVR> Opening BINARY mode data connection for File.tgz.
darkone is offline  
 

Tags
command, drftpd, pasv, pret, response


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 07:42 AM.

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