Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

pascual14

FTPs connection

Ok and with Access VBA you can't do this?
pascual14

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.
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
pascual14

FTPs connection

Hello, I'm lost, and you don't have any example of VBA code to use WinSCP and connect to an FTPs server and send a file and receive? Thanks.
martin

Of course, VBA can run external programs.
I do not think PuTTY is relevant here.
pascual14

Ok, I understand, and can it be integrated to send and receive from access with VBA? maybe with PuTTY? Thank you.
martin

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.
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.
pascual14

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