Hi all...

I am trying to upload 4 files on a local disk, onto a remote ftp server. All of them are in the same folder(in local machine).
I am using the storbinary function of ftplib.

Following are the file sizes:

1-- 70 KB
2-- 60 KB
3-- 73 KB
4-- 8,100 KB

The first 3 files get uploaded successfully, but while trying to upload the 4th file, an ftplib.error_perm exception is thrown, which says "500, sorry file is not supported for uploading"

I don't think there is any permission constraint, since the first three images get uploaded without problem, and all of them are in the same folder.

Is there any limit on file size that can be uploaded by storbinary()??

please do reply.... this is killing me :( :( :(

filename = raw_input("Enter the file location")
filename = os.path.abspath(filename)

ftp.storbinary("STOR %s"%filename,open(filename,"rb"))

why is it giving me no such file or directory error message, when it does exist??? on windows :( :(