Within my Python script I am using ftplib. However, I am encountering the error_perm: 500 ?
error upon performing the below operation:
filename = '31379-den-katastrofy-2-konec-sveta-film-2005.html'
ftp = ftplib.FTP('ftpupload.net')
ftp.login('onavt_24441681', 'rte22133')
ftp.cwd('htdocs')
print(ftp.pwd())
print(os.getcwd())
uploadfile = open('/content/drive/MyDrive/path/31379-den-katastrofy-2-konec-sveta-
film-2005.html', 'rb')
ftp.storlines('STOR' + filename, uploadfile)
I can't seem to figure how what is wrong. Any pointers on what should I adjust to get rid of the error?