Skip to content

Commit 6915a95

Browse files
Merge pull request #454 from cclauss/patch-4
Fix Python syntax error in ftp_send_receive.py
2 parents 6708d64 + 87258d8 commit 6915a95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ftp_send_receive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010

1111
from ftplib import FTP
12-
ftp = FTP('xxx.xxx.x.x') """ Enter the ip address or the domain name here """
12+
ftp = FTP('xxx.xxx.x.x') # Enter the ip address or the domain name here
1313
ftp.login(user='username', passwd='password')
1414
ftp.cwd('/Enter the directory here/')
1515

@@ -33,4 +33,4 @@ def ReceiveFile():
3333
def SendFile():
3434
FileName = 'example.txt' """ Enter the name of the file """
3535
ftp.storbinary('STOR ' + FileName, open(FileName, 'rb'))
36-
ftp.quit()
36+
ftp.quit()

0 commit comments

Comments
 (0)