swith('DISCOVER_RESPONSE_')]
>
> logger.info("RESPOSE FILES: %s" % response_files)
> os.chdir(os.path.join(curdir, input_dir))
> for file in response_files:
> file_path = os.path.join(pathdownload, file)
> sftp.get(file_path, file)
> sftp.remove(file_path)
>
>
> # close connection
> t.close()
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
--
View this message in context:
http://www.nabble.com/sftp-problem%21-tp19821106p19833497.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
http://mail.python.org/mailman/listinfo/python-list
here is a snippet that works, you need to replace the default data or
create a database etc.. and the fields to store it
you also need to generate and share your public key to the receiving
server to avoid password prompt
# Standard library imports
import os
import sys
import time
import tracebac
r: (10061, 'Connection refused')
>
> Did you try
>
> sftp LinuxComputerName
>
> just to confirm it's got a listener on port 22?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
--
View this message in context:
http://www.nabble.com/sf
In message <[EMAIL PROTECTED]>, sa6113
wrote:
> host = "LinuxComputerName" (or its Ip)
> port = 22
>
> and after runing this code I get this error:
> socket.error: (10061, 'Connection refused')
Did you try
sftp LinuxComputerName
just to confirm it's got a listener on port 22?
--
http://mai
get this error:
socket.error: (10061, 'Connection refused')
What is wrong with this code?
please help me.
--
View this message in context:
http://www.nabble.com/sftp-problem%21-tp19821106p19821106.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
http://mail.python.org/mailman/listinfo/python-list