PDA

View Full Version : PRET Command


lognes
07-27-2005, 05:12 PM
How can i do that ?

thx in advance

bigstar
07-27-2005, 09:42 PM
PRET support is automatic.. Just make sure you have "Site does not support feat command" unchecked.

FEAT is used to determine if PRET is required by the ftp server. if it's required then it's automatically sent.

lognes
07-28-2005, 12:06 PM
530 No transfer-slave(s) available
PASV
500 You need to use a client supporting PRET (PRE Transfer) to use PASV

... flashfxp v3.x said that

"Site does not support feat command" is unchecked. always the same message

MxxCon
07-28-2005, 02:07 PM
ok, this is not a 'custom command' related thread, so MOVED

lognes, to help you further, check out http://www.inicom.net/forum/showthread.php?t=4745

bigstar
07-28-2005, 06:55 PM
please include a full copy of the ftp session log

DayCuts
07-29-2005, 03:58 AM
"530 No transfer-slave(s) available" is a msg given when the drftpd master is unable to negotiate (or find) a slave that is able to send the file.

Examples of a fully working drftpd setup... (Site R is drftpd, Site L is Serv-U 6.1)
-listing
[18:33:01] [R] PRET LIST
[18:33:02] [R] 200 OK, will use master for upcoming transfer
[18:33:02] [R] PASV
[18:33:02] [R] 227 Entering Passive Mode (*,*,*,*,*,*).
[18:33:02] [R] Opening data connection IP: *.*.*.* PORT: *
[18:33:02] [R] LIST
[18:33:02] [R] 150 File status okay; about to open data connection.
[18:33:03] [R] 226- *** quota and credits stuff
[18:33:03] [R] 226 Closing data connection
[18:33:03] [R] List Complete: 1,014 bytes in 1.75 second (0.6 KB/s)

-download fxp
[18:53:05] [R] PRET RETR ***
[18:53:05] [R] 200 OK, will use *** for upcoming transfer
[18:53:05] [R] PASV
[18:53:06] [R] 227 Entering Passive Mode (*,*,*,*,*,*).
[18:53:06] [L] PORT *,*,*,*,*,*
[18:53:06] [L] 200 PORT Command successful.
[18:53:06] [L] STOR ***
[18:53:06] [L] 150 Opening BINARY mode data connection for ***.
[18:53:06] [R] RETR ***
[18:53:06] [R] 150 File status okay; about to open data connection from ***.
[18:53:18] [R] 226- Checksum from transfer: 61ce3c26
[18:53:18] [R] 226 Transfer complete, 5.1MB in 11.673 seconds (439.4KB/s)
[18:53:19] Transferred: zwtvw509.zip 5,128,788 bytes in 12.28 seconds (407.8 KB/s)

-upload fxp
[18:56:36] [L] PASV
[18:56:36] [L] 227 Entering Passive Mode (*,*,*,*,*,*)
[18:56:36] [R] PORT *,*,*,*,*,*
[18:56:36] [R] 200 FXP allowed. If you're not FXPing then set your IP to *.*.*.* (usually in firewall settings)
[18:56:36] [R] STOR x.zip
[18:56:37] [R] 150 File status okay; about to open data connection to ***.
[18:56:37] [L] RETR x.zip
[18:56:37] [L] 150 Opening BINARY mode data connection for x.zip (5000000 Bytes).
[18:56:43] [L] 226 Transfer complete.
[18:56:43] [R] 226 Transfer complete, 5.0MB in 5.86 seconds (853.2KB/s)
[18:56:43] Transferred: x.zip 5,000,000 bytes in 5.84 seconds (835.7 KB/s)