Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8930819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:58:47+00:00 2026-06-15T08:58:47+00:00

I’ve got an FTPS site that I need to transfer a file to each

  • 0

I’ve got an FTPS site that I need to transfer a file to each night. My problem is that the site is hosted at a contractor’s site (Contractor A) and the SSIS package that sends the file to the site was created/maintained by a another contractor (Contractor B).

My problem is that the file transfer isn’t happening. Each of my contractors is blaming the other for the problem and it’s left to me to determine the problem. Contractor B says that his SSIS package works only during the day while testing, but can not connect at night when it needs to. Contractor A claims that there is nothing changing with the FTPS site that would cause that.

I can create a .NET service to do this, but was hoping for a simplier solution. I was going to create a windows task that would execute a bat file every 5 minutes, and use the MS ftp client. However, I can’t get this to work with the FTPS. I also couldn’t get the User Name and PW sent with the url. Any help here would be appreciated. I’ve been on Google all morning and have found multiple examples that almost work, but nothing that gets me all the way there.

Any simple command line test that uses Explicit FTP over TLS and allows passing a user name and pw is all that is needed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T08:58:48+00:00Added an answer on June 15, 2026 at 8:58 am

    To periodically check if the service can be reached a simple telnet would be enough. You don’t even have to speak ftp. If you really want to upload a file, then the simpliest would be to use an ftp command line client used by a script. The script can be in whatever language, it does not matter.

    It might also be worth exploring the checktls service. It allows to test tls connections, you can click together a list of commands. In this case classical ftp commands like ‘USER: someone’ and ‘PASS: somepass’ and so on.


    The Filezilla client offers to specify the usage of explicit or implicit tls. From the description at the FileZilla Wiki:

    Explicit vs Implicit FTPS

    FTPS (SSL/TLS) is served up in two incompatible modes. If using
    explicit FTPS, the client connects to the normal FTP port and
    explicitly switches into secure (SSL/TLS) mode with "AUTH TLS",
    whereas implicit FTPS is an older style service that assumes SSL/TLS
    mode right from the start of the connection (and normally listens on
    TCP port 990, rather than 21). In a FileZilla client this means
    prefixing the host with "FTPES://" to connect an "explicit" FTPS
    server, or "ftps://" for the legacy "implicit" server (for which you
    will likely also need to set the port to 990).


    And here is a cURL pased solution using phps cURL extension:

    // $handle: the file to upload
    $handle  = fopen ( $path, 'r' );
    // $url: the ftps url to connect to (without credentials)
    $url     = sprintf ( 'ftps://%s/%s', $server, $filename ); 
    // the ftp connection
    $session = curl_init ( ); 
    // connection details
    curl_setopt ( $curl_session, CURLOPT_URL, $url );
    curl_setopt ( $curl_session, CURLOPT_USERPWD, sprintf( '%s:%s', $user, $pass );
    curl_setopt ( $curl_session, CURLOPT_SSL_VERIFYPEER, FALSE );
    curl_setopt ( $curl_session, CURLOPT_SSL_VERIFYHOST, FALSE );
    curl_setopt ( $curl_session, CURLOPT_FTP_SSL, CURLFTPSSL_TRY );
    curl_setopt ( $curl_session, CURLOPT_FTPSSLAUTH, CURLFTPAUTH_TLS );
    curl_setopt ( $curl_session, CURLOPT_UPLOAD, 1 );
    curl_setopt ( $curl_session, CURLOPT_INFILE, $handle );
    // execute the connection
    $output = curl_exec  ( $session );
    // check for errors
    $error  = curl_errno ( $session );
    // close connection
    curl_close ( $session );
    

    The advantage of this approach: you can automate it. For example call it as a cron job.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
In my XML file chapters tag has more chapter tag.i need to display chapters
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.