FTP: Why can i not use the ALLO command?


 
Thread Tools Search this Thread
Operating Systems Solaris FTP: Why can i not use the ALLO command?
# 1  
Old 01-17-2006
FTP: Why can i not use the ALLO command?

Hi guys,
I need to make use of the FTP ALLO command on a Solaris 10 OS. For some reason, FTP does not recognise the command as being valid. Does this command have to be enable> If so, how?

thnks,
Zaff
# 2  
Old 01-17-2006
Post how you are trying to use the command and any error you are getting.
# 3  
Old 01-17-2006
After the connection, i type the following:

ftp>ALLO 1000
?Invalid command

I get an "invalid command" error.

thnks,
Zaff
# 4  
Old 01-17-2006
Try this instead
ftp>quote ALLO 1000

Quote:
from Using FTP
To write larger files than the limit, the you (or your FTP client) must tell the server how large the incoming file is by giving the FTP ALLO command before the FTP STOR (put) command. Some clients may do this automatically. If your client does not, you can do this manually:

ftp> quote allo 123456789
200 ALLO command ok.
ftp> put bigfile write.test10
local: bigfile remote: write.test10
200 PORT command ok.
125 Data connection open; transfer starting.
226 Binary Transfer complete.
123456789 bytes sent in 23.547 secs (5.1e+04 Kbytes/sec)

Note:Once set, the size set with ALLO will remain in effect for that FTP session until you change it.
# 5  
Old 01-17-2006
thnks RTM, but now i get:

ftp> quote allo 10000
202 ALLO command ignored.
# 6  
Old 01-17-2006
That makes it sound like the server you are connecting to does not limit file size (or that the file size is higher than 1000). Have you tried sending the file without setting the file size with the quote allo command?

Also, you may need to give some more info - like if this use to work or not, what you are attempting to do, why you are attempting to use the quote command (did someone tell you to use it or what).
# 7  
Old 01-17-2006
I basically need to findout how ALLO can be used to allocate space before a file is sent to the server, so that the allocated space can not be used by any other client who is also sending files. this should hopefully prevent the system from running out space while files are being transfered.

hope this helps.

Zaff
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ftp command

do we have any command run_ftp or this is a function. run_ftp -d $dir $fname $ddir $file b (2 Replies)
Discussion started by: ramkumar15
2 Replies

2. UNIX for Dummies Questions & Answers

ftp command

Hi, I am new to shell scripting, I just wan to know that if i want to do ftp that is I have the url of the remote server that is pngpcdb1.walmat.com , Now i want to do ftp and want to transfer some files...how ftp command in unix would help me in that...!!:confused: (3 Replies)
Discussion started by: rahulsxn660
3 Replies

3. Shell Programming and Scripting

FTP command ?

yesterday i was given an FTP command to use on UNIX Solaris and it was very straight forward and that's probably why i don't remember it, i only remember convoluded things apparently! but it was something as simple as this: ftp xyz_abc.com but that's apparently not it, does anyone know... (2 Replies)
Discussion started by: bobk544
2 Replies

4. UNIX for Advanced & Expert Users

ls command in FTP

Hi , I am ftping one file from the remort server to local server. I have to choose the recent file from the remote server . To get the recent file i am using the following command. ftp -nvi $IP_ADDRESS user $USER_NAME $PASSWORD bin lcd $LOCAL_DIR cd $REMOT_DIR filename=ls -t ff*... (1 Reply)
Discussion started by: ammu
1 Replies

5. AIX

ftp command

How can i make ftp form my pc to my server ? (2 Replies)
Discussion started by: magasem
2 Replies

6. Linux

ftp command

Hi there! I've used the ftp command to transfert datas between linux to unix box. The answer of this command, was: ftp -A -v n0dark Connected to n0dark. 220 n0dark FTP server (Version 4.1 Thu Sep 12 23:46:23 CDT 2002) ready. Name (n0dark:root): ftpn0darkusr 331 Password required for... (2 Replies)
Discussion started by: nymus7
2 Replies

7. UNIX for Dummies Questions & Answers

FTP allo command

Hi there, It seems that the ftp command FTP: quote allo <byte size> does not initiate straight away? Why might this be, scenario below. I have had to up the byte limit in order to put a control file of 70K bytes on to a server. This placing of a control file is done at the beginning of a... (1 Reply)
Discussion started by: nhatch
1 Replies

8. UNIX for Dummies Questions & Answers

I need help concerning the FTP command

How can I use it to copy and get files from other machines. if anyone knows of this FTP command, please post all that you know about it here so I can learn more. (2 Replies)
Discussion started by: TRUEST
2 Replies

9. UNIX for Dummies Questions & Answers

mget (ftp command)

hey, I was wondering if its possible to use a complete path and file name using the mget command example mget /dir1/dir2/dir3/file.ext or get /dir1/dir2/dir3/file.ext because whenever i try its says file not found or permission denied..... but if i do cd dir1 cd dir2 cd dir3 mget... (2 Replies)
Discussion started by: Ganondorf
2 Replies
Login or Register to Ask a Question