Upload a csv file to FTP

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Upload a csv file to FTP

DEBOER
This post has NOT been accepted by the mailing list yet.
Hi, I would I like to upload a csv file from SPSS syntax. I have SPSS 24 with python installed. I have the host, username and the password to this ftp server. I have checked in the forum without findings.
Is this something that can be done?

Thanks for your help.
Reply | Threaded
Open this post in threaded view
|

Re: Upload a csv file to FTP

David Marso
Administrator
I just did the obvious (typed ftp in python into a web search) and this
appears:
https://www.bing.com/search?q=ftp+in+python&form=EDGSPH&mkt=en-us&httpsmsn=1&refig=96e28afcbd174624e45f266ef989a0ae


DEBOER wrote
> Hi, I would I like to upload a csv file from SPSS syntax. I have SPSS 24
> with python installed. I have the host, username and the password to this
> ftp server. I have checked in the forum without findings.
> Is this something that can be done?
>
> Thanks for your help.





-----
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Re: Upload a csv file to FTP

DEBOER
This post has NOT been accepted by the mailing list yet.
Hi, thanks. Seems I'm not python user I wanted help with this. Like

Begin program.
Statement ...connect.ftp username password etc. upload csv
End program.

Have someone done this? Or is there a SPSS command that can do this? SPSS inc or something? Im asking because I haven't managed to do this.

Thanks for your help