Hey guys, I wrote a script so I can post a large zipped dataset up to an FTP site, but I keep getting this return:
Traceback (most recent call last):
File "C:/Users/wolf_ak/Desktop/Python/FTP Upload.py", line 17, in <module>
ftp.storlines('STOR ' +filename,myfile)
File "C:\Python27\ArcGIS10.5\lib\ftplib.py", line 497, in storlines
raise Error("got more than %d bytes" % self.maxline)
Error: got more than 8192 bytes
Is there a workaround to this? The file I'm trying to post will be north of 70,000 KB
Here is my code:
I appreciate any and all help.
Thank you!