We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6708d64 + 87258d8 commit 6915a95Copy full SHA for 6915a95
ftp_send_receive.py
@@ -9,7 +9,7 @@
9
"""
10
11
from ftplib import FTP
12
-ftp = FTP('xxx.xxx.x.x') """ Enter the ip address or the domain name here """
+ftp = FTP('xxx.xxx.x.x') # Enter the ip address or the domain name here
13
ftp.login(user='username', passwd='password')
14
ftp.cwd('/Enter the directory here/')
15
@@ -33,4 +33,4 @@ def ReceiveFile():
33
def SendFile():
34
FileName = 'example.txt' """ Enter the name of the file """
35
ftp.storbinary('STOR ' + FileName, open(FileName, 'rb'))
36
- ftp.quit()
+ ftp.quit()
0 commit comments