Having trouble uploading a 2.3GB file..

Moloch

God of Wicked Games
Veteran
The single file upload turns into two files exactly 2147483647 bytes in size with a wierd names
".pureftpd-upload.430bab6c.15.3bd3.e7ad90d3" and ".pureftpd-upload.430bed93.15.c6d.fd2a8456".
A third file is listed with the original file name and continues to upload.
The two pureftp files are undeletable also btw.
Any know what's up?
 
Crusher said:
Probably temp files to allow resuming if the transfer is interrupted.
But I stopped the upload a few times to check (this is the second time its happened with same file) at various points and didnt see any other files.
 
http://www.pureftpd.org/FAQ

* Files getting renamed automatically
(submitted by C. Jon Larsen)

-> Sometimes when files get uploaded they are getting renamed to something
like "pureftpd.3f3300d2.33.0001". What is causing this ?

The ftp client that is being used to upload the files is using the STOU (Store
Unique) FTP command instead of the STOR FTP command. If you check the ftp
logfile you should see something like this in the logs:

(user@a.b.c.d) [DEBUG] Command [stou] [file_name_from_the_client.ext]
/var/ftp/ftpcustomer/pureftpd.3f3300d2.33.0001 uploaded (218168 bytes,
127.79KB/sec)

The STOU command tells the ftp client to begin the transmission of the file to
the remote site; the remote filename picked by the ftp server will be unique
within in the current directory that the ftp client is using. The response
from the server will include the filename.

The ftp client has an option like "create unique files" or "upload file with a
temporary name" enabled. You should have the ftp user uncheck this option.

Trying to disable the STOU command on the server side is not a good idea or
solution as some ftp clients will use STOU to upload a file with the
temporary, unique name, and then rename the file once the upload is complete.
This helps prevent failed uploads from leaving partial files around.

There you go.
 
Send unique is disabled :???:
In the log it enabled it though.
 
Last edited by a moderator:
shutup :p
Actually I see it's using the stor command testing it.
Maybe because I have the end unique option disabled for the profile but I haven't been using that untill now, the default option must be to use the unique command.
edit- actually it's still using the stor command if I just connect to it without the profile.
 
Last edited by a moderator:
Back
Top