FTPs connection

Advertisement

pascual14
Joined:
Posts:
7
Location:
España

FTPs connection

Hello, is it possible to create an FTPs connection to send and receive files and this can be automated from the access VBA code with WinSCP or PuTTY? Thank you

Reply with quote

Advertisement

pascual14

FTPs Connection

Hello, but I don't need sFTP but with FTPs, which is different due to the security issue, since this is for Windows servers. If I'm not mistaken it's not the same. Thank you.

Reply with quote

martin
Site Admin
martin avatar

Re: FTPs Connection

That does not matter, WinSCP supports all of them (FTP/FTPS/SFTP). The script would be mostly the same, you just pick the right protocol.

Reply with quote

Advertisement

pascual14

FTPs connection in vba access

Ok, and once I have the connection configured in WinSCP, can I export that session to a script to execute it from the VBA command line? Right now I wouldn't know how to create that script with the configuration I have. Thank you

Reply with quote

Advertisement

pascual14
Joined:
Posts:
7
Location:
España

Know if the connection has been correct

Hello, thanks for your help, it is being useful to me. I have already managed to create a script and run it from access. Now I have the doubt of how I can know if a file has been uploaded correctly or if the connection has been successful or has failed. When executing the script I create the log file and if I open it there I see it, but before with the wininet.dll ftp libraries there were functions like InternetConnect, FtpPutFile or FtpGetFile that returned a boolean value to know if the connection had been correct, the up or down, can't you do something like that with WinSCP? First connect, see if the connection has been successful, then upload a file and see if it has been uploaded correctly. Thanks for the help.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum