File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9488,7 +9488,7 @@ def upload_file_to_sftp_file(sftpfile, url):
94889488if (haveparamiko ):
94899489 def upload_file_to_sftp_string (sftpstring , url ):
94909490 sftpfileo = BytesIO (sftpstring )
9491- sftpfile = upload_file_to_sftp_files (ftpfileo , url )
9491+ sftpfile = upload_file_to_sftp_files (sftpfileo , url )
94929492 sftpfileo .close ()
94939493 return sftpfile
94949494else :
@@ -9548,7 +9548,7 @@ def download_file_from_pysftp_string(url):
95489548 sftpfile = download_file_from_pysftp_file (url )
95499549 return sftpfile .read ()
95509550else :
9551- def download_file_from_pyftp_string (url ):
9551+ def download_file_from_pysftp_string (url ):
95529552 return False
95539553
95549554if (havepysftp ):
@@ -9601,11 +9601,11 @@ def upload_file_to_pysftp_file(sftpfile, url):
96019601if (havepysftp ):
96029602 def upload_file_to_pysftp_string (sftpstring , url ):
96039603 sftpfileo = BytesIO (sftpstring )
9604- sftpfile = upload_file_to_pysftp_files (ftpfileo , url )
9604+ sftpfile = upload_file_to_pysftp_file (ftpfileo , url )
96059605 sftpfileo .close ()
96069606 return sftpfile
96079607else :
9608- def upload_file_to_pysftp_string (url ):
9608+ def upload_file_to_pysftp_string (sftpstring , url ):
96099609 return False
96109610
96119611
You can’t perform that action at this time.
0 commit comments