LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Not able to upload files through FTP in Linux (https://www.linuxquestions.org/questions/linux-newbie-8/not-able-to-upload-files-through-ftp-in-linux-623593/)

thiagarn 02-24-2008 09:41 PM

Not able to upload files through FTP in Linux
 
Hi all,

I'm trying to ftp to a Fedora core 5 from a CentOS 5 system with login as "anonymous".
I started the vsftpd service in Fedora Core 5.


I also made these changes in /etc/vsftpd/vsftpd.conf -

anonymous_enable=YES
write_enable=YES
anonymous_write_enable=YES


I restarted vsftpd service.

I made sure that the folder to which i was writing had +rwx permissions for admin,users and others.

Can anybody help me with this?

Thanks
Nandhini

gankoji 02-24-2008 09:45 PM

Well, it seems like you shouldn't be having any permissions issues with this. Perhaps it has something to do with the transfer mode. Are you trying to transfer a non text file in ASCII transfer mode? This will be easier to solve if you post the error message given by your box when you try to upload.

Also is the box you're trying to upload to configured to allow FTP (not just file changes)?

thiagarn 02-24-2008 09:49 PM

Thanks for ur quick reply. This is the error message -

ftp > put project.txt

Entering passive mode
Could not create file

I believe the system from which i'm trying to connect also has FTP running.

gankoji 02-24-2008 09:53 PM

try typing bin or binary, im not sure about vsftpd's command structure. If that doesn't work then there might be an issue with the uploadee's firewall disallowing an ftp connection/modification from your rig.


All times are GMT -5. The time now is 02:20 PM.